Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^3: Pre-Forking Daemon with Parallel::ForkManager

by 1nickt (Abbot)
on Oct 18, 2019 at 15:49 UTC ( #11107665=note: print w/replies, xml ) Need Help??

in reply to Re^2: Pre-Forking Daemon with Parallel::ForkManager
in thread Pre-Forking Daemon with Parallel::ForkManager

Your application sounds like a perfect use case for an application speaking REST (or not) served by one of the modern web application frameworks, e.g. Dancer2 or Mojolicious, which come with preforking servers built in. It's not necessary to build your own frameowrk for that part of your application.

Hope this helps!

The way forward always starts with a minimal test.
  • Comment on Re^3: Pre-Forking Daemon with Parallel::ForkManager

Replies are listed 'Best First'.
Re^4: Pre-Forking Daemon with Parallel::ForkManager
by enemyofthestate (Scribe) on Oct 18, 2019 at 16:42 UTC

    If only :)

    For the foreseeable future, the format for the request is a pipe delimited string delivered over a socket connection. I've advocated converting to a GET or JSON format but too many legacy client programs are tied to the pipe-delimited string. That is not likely to change before I retire...

    One irony is I already wrote a fast-cgi running inside Apache. It takes a GET request, processes it and then returns a JSON formatted response.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11107665]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2020-10-30 05:58 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (278 votes). Check out past polls.