Mojo implementation?

Dirk Koopman djk at tobit.co.uk
Sat Oct 24 23:05:01 CEST 2020


On 24/10/2020 21:46, Marc Lehmann wrote:
> I didn't know Mojo was an event loop (it looks to be some kind of web
> framework to me). In that case, the correct way to proceed would be for
> Mojo to*use*  AnyEvent: Using AnyEvent as a generic event loop in higher
> level code is what it is designed for.

It can not only use EV if it is installed, but AnyEvent is 
*specifically* mentioned in the Cookbook - with an example. One of many 
other event handling systems that it can use. But the EV interface is 
the one that Mojo recommend for larger systems.

I use Mojo::IOLoop as a frontend to EV for a specialised message switch 
which happily handles upwards of 1500 concurrent users on one of Digital 
Ocean's smallest droplets.

Regards Dirk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/anyevent/attachments/20201024/52db755a/attachment.htm>


More information about the anyevent mailing list