It depends on the application but there can be benefits see (it has some
performance comparisons): http://www.lua.org/pil/9.4.html

Trink


On Wed, Sep 21, 2016 at 1:20 AM, Mathieu Parent <math.par...@gmail.com>
wrote:

> Hi,
>
> I'm currently trying to write a "syslog tcp" input. I've read heka_tcp
> input as inspiration which uses coroutines.
>
> I'm wondering, given that "Only one coroutine ever runs at a time"
> [1], does it scales well?
>
> How are you handling this at Mozilla?
>
> Cheers,
>
> [1] http://lua-users.org/wiki/CoroutinesTutorial
>
> --
> Mathieu Parent
> _______________________________________________
> Heka mailing list
> Heka@mozilla.org
> https://mail.mozilla.org/listinfo/heka
>
_______________________________________________
Heka mailing list
Heka@mozilla.org
https://mail.mozilla.org/listinfo/heka

Reply via email to