Barry Brevik wrote: > Explaining my rational, a single process server would probably work fine most > of the time. But sometimes I need to telnet 25 to the server manually for > testing, and this would tie up the process for a long time causing other > inbound connections to time out.
As previously stated, this isn't true. You've got X amount of CPU to use and it doesn't matter if you do it in one process or many - in fact one would cut down on the context switching. As long as you're using select to periodically check for incoming data/connections, you should be able to easily handle most situations in a single process. The only major issue is the number of connects and if that gets large, you would think the inherit handle flag would allow you to pass it off to another process (I personally haven't tried that yet). _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
