Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: Daemon - Child - Client - Server

by PyroX (Pilgrim)
on Feb 14, 2003 at 20:31 UTC ( [id://235402]=note: print w/replies, xml ) Need Help??


in reply to Re: Daemon - Child - Client - Server
in thread Daemon - Child - Client - Server

The web client may check back at any time between 5 seconds and 20 minutes, grab the que or buffered messages or actions and process them.

The child needs to maintain the connection to the 3rd party server at all times until the web client hangs up.

Initially we are talking about maybe 5 - 10 clients maximum. Later I would like to expand that to 25 or so.

Named Pipes, I will be looking into the possibility of using that. I guesd files would be acceptable as well, the child could just amintain a file with the buffer and the web client can work with the file, this of course adds another component to the equation, but maybe less complexity.

The 3rd party server is not very close, not local lan, not wan, but external to the network all-together. A timeout will not really be needed after connection, the child could notify the web client of the last buffer refresh and/or wether or not a update is needed. The only timeout here would be if the initial connection fails, or is lost later. Long periods of no data from the child is a possibility of course.

I had looked at some postings here on perl web server daemons that fork to a child, and will probably start with that.

Thanks for your help so far, everyone. All good info.
  • Comment on Re: Re: Daemon - Child - Client - Server

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-25 06:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found