New server status plugin

36 views
Skip to first unread message

Sebastian Riedel

unread,
Feb 14, 2020, 11:43:49 AM2/14/20
to Mojolicious
This week was SUSE HackWeek again. And my main project this time was a rewrite of mojo-status. It got a
completely new storage backend based on File::Map, so it should be much more reliable now. And a bit
more pretty.


Since the topic comes up every now and then, i've also made the storage backend reusable as a module.


It is very fast, and can be safely shared between multiple prefork workers. But has the downside that
the maximum size cannot be changed once it has been initialised. So you need to plan a little ahead
when configuring the size.

--
sebastian

Sebastian Riedel

unread,
Feb 14, 2020, 11:46:28 AM2/14/20
to Mojolicious
Forgot to mention that it will now also show you the slowest requests, with a little smiley
indicating the urgency of optimising that part of your code. :)

--
sebastian

Stefan Adams

unread,
Feb 16, 2020, 11:11:16 AM2/16/20
to mojolicious
This plugin is awesome!  And Mojo::MemoryMap looks like it will be so useful in some projects!

Just curious -- why did you choose to make Mojo::MemoryMap a part of Mojolicious::Plugin::Status instead of its own stand alone?

--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mojolicious/cc1a86c7-e6c9-4ef1-9fc3-7d7e85b11b8a%40googlegroups.com.

Sebastian Riedel

unread,
Feb 16, 2020, 11:36:52 AM2/16/20
to Mojolicious
Just curious -- why did you choose to make Mojo::MemoryMap a part of Mojolicious::Plugin::Status instead of its own stand alone?

For my convenience. Both are being developed together and coordinating
multiple CPAN distributions costs time. Unfortunately spare time is a very
limited resource for me these days, so i've got to cut some corners.

--
sebastian

Stefan Adams

unread,
Feb 16, 2020, 12:12:48 PM2/16/20
to mojolicious
Fair enough! Thank you!

--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages