On Fri, Dec 23, 2011 at 5:10 AM, agentzh [email protected] wrote:
BTW, is it possible to make it also a synchronous but still
nonblocking framework just like the ngx_lua module’s cosocket
mechanism based on the Nginx event model and Lua coroutines?
I think Marc did something like this for his Coro project:
http://search.cpan.org/~mlehmann/Coro-6.07/
Many people hate the “callback nightmare” but still love to embrace C10K
I only did it because it is so ridiculously easy to do event-driven
things in Perl
On 12/23/11, Andrey N. Oktyabrski [email protected] wrote:
Can you make some examples, use cases, etc. and include it in the future
documentation?
There are couple of simple examples in eg/ already. I’ll do my best.
On 12/23/11, “Brane F. Gračnar” [email protected] wrote:
Many people hate the “callback nightmare” but still love to embrace C10K
True, true
AnyEvent supports so called Coros, that’s why i’m so interested about
anyevent support in Nginx::Perl implementation in AnyEvent
I’m not using AnyEvent myself and never intended it to be compatiable
on any level. In fact, I wanted to make it much easier to use, than
AnyEvent.