|The stupid question is the question not asked|
Recommend an asynchronous HTTP server CPAN modules?by sectokia (Sexton)
|on Jun 05, 2020 at 23:43 UTC||Need Help??|
sectokia has asked for the wisdom of the Perl Monks concerning the following question:
I am looking for module that provides a HTTP(S) server that supports spawning off a thread/fork for each connecting client, so that the processing for each can run simultenously.
One way seems to be: HTTP::Server::Simple with HTTP::Server::Simple::CGI::PreFork
Are there any other mature ones, maybe also based on NET::SERVER?
My application is that I generate HTML/CSS/JSON and other replies to GET/POST requests, the generating takes 10-20 seconds due to queries to other external databases etc. So even though this will be an internal app with low number of users, synchronously handling user requests results in poor user experience of having to wait/contend with each other.