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

Re: simple server implementation suggestions?

by jbert (Priest)
on Nov 14, 2007 at 15:54 UTC ( [id://650777]=note: print w/replies, xml ) Need Help??


in reply to simple server implementation suggestions?

I'd use something like Danga::Socket and write an event-based system. There's already an http server or two (perlbal, mogstored) written using Danga::Socket it which you could modify or take chunks from.

I think you can add non-socket fds into the event loop (see the OtherFds method) so you can look for events on your watched files too.

I guess POE is always a popular suggestion too, although I've not used it.

  • Comment on Re: simple server implementation suggestions?

Replies are listed 'Best First'.
Re^2: simple server implementation suggestions?
by pc88mxer (Vicar) on Nov 14, 2007 at 16:24 UTC
    This looks very interesting - especially Perlbal.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (None)
    As of 2024-04-25 01:45 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found