Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2019-11-22 03:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (108 votes). Check out past polls.

    Notices?