Re: [heka] Lua coroutines: Does it scales?

2016-09-21 Thread Mathieu Parent
2016-09-21 16:01 GMT+02:00 Michael Trinkala :
> It depends on the application but there can be benefits see (it has some
> performance comparisons): http://www.lua.org/pil/9.4.html

Thanks.

This is what I need.

-- 
Mathieu
___
Heka mailing list
Heka@mozilla.org
https://mail.mozilla.org/listinfo/heka


Re: [heka] Lua coroutines: Does it scales?

2016-09-21 Thread Michael Trinkala
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 
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