Re: nginx-perl 1.1.11.1

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 :slight_smile:

I only did it because it is so ridiculously easy to do event-driven
things in Perl :slight_smile:

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
:slight_smile:

True, true :slight_smile:

AnyEvent supports so called Coros, that’s why i’m so interested about
anyevent support in Nginx::Perl implementation in AnyEvent :slight_smile:

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs