Use EV to speed up the event loop

Mojolicious uses IO::Poll for IO monitoring by default, but you can also take advantage of faster EVs. Mojolicious will automatically use EV for IO monitoring when EV is installed, improving performance. EVs can be installed just like any other CPAN module.

cpan EV

Make sure you can see the EV from Mojolicious.

mojo Version

If EV is installed as follows, it is successful.

CORE
   Perl (5.012003, linux)
   Mojolicious (2.09, Leaf Fluttering In Wind)

OPTIONAL
   EV (4.03)
   IO::Socket::IP (not installed)
   IO::Socket::SSL (1.44)
   Net::Rendezvous::Publish (not installed)

Associated Information