Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Chat server impossible with Perl?

by jodrell (Acolyte)
on Feb 04, 2005 at 14:34 UTC ( [id://428067]=note: print w/replies, xml ) Need Help??


in reply to Chat server impossible with Perl?

What you need is a multiplexing server that runs in a single process. You should find that Net::Server::Multiplex does what you want. I've written such a server before but haven't got the code handy to post here.

Replies are listed 'Best First'.
Re^2: Chat server impossible with Perl?
by cowboy (Friar) on Feb 04, 2005 at 17:18 UTC
    The net server set of modules are very nice. We use Net::Server::Multiplex it to handle a thousand or so active chat clients. The interface is quite nice. Another nice package, is Event::Lib. The use of Kqueues/Epoll is nice to have when large numbers of clients are connected.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-03-28 18:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found