https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20630
Jerome Charaoui <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] | |a --- Comment #3 from Jerome Charaoui <[email protected]> --- Created attachment 76218 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=76218&action=edit bug 20630: Various improvements Thank you for this patch. I've done some testing with it and it appears to work great. Compared to Plack, this method is much more efficient and less memory-hungry when running multiple instances. I'm currently using it to run 20 instances on a VM with 4GB of RAM, and will soon test with 120 instances on the same host. I'll be sure to report any further issues and results here. In the mean time, I'd like to share a patch which applies on top of the initial one, improving it in the following ways: * Use absolute paths instead of relative paths to allow deployment in the context of (real-world) package-based installations * Read a configuration file for the Mojo app * Provide a systemd service for running the app using the optimized hypnotoad server * Provide a catch-all route for general 404 errors * Add headers to instruct clients to cache static resources I'm absolutely new to Mojolicious deployments so there might be better ways to achieve these goals but I thought it would probably be better to share this than let it soak in my local repository. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
