Re: Contemplating POE for a multi-platform project rewrite
Rocco Caputo <[email protected]> Tue, 14 Aug 2012 08:31:48 -0400
| Newsgroups | gmane.comp.lang.perl.poe |
|---|---|
| Message-ID | <[email protected]> |
On Aug 14, 2012, at 04:41, Derek Mead wrote: >=20 > So now for the questions: >=20 > - Is POE a sensible choice for me to re-implement this server, > particularly if it will have to run reliably under Windows? The main > interactions with the OS will be handling TCP sockets: I don't = anticipate > having to have to do any explicit threading, process-forking or = signal > handling, which should reduce the risks associated with possible = flakiness > under Windows. Yes. My workplace uses POE on Windows. Win32::Process and sockets have = been a more reliable alternative to dynamic iThreads. It may also help = work around handle-count limitations we've seen in select(), if you're = using TCP sockets. UDP is another alternative. Without connections, a server can multiplex = an arbitrary number of clients on a single socket handle. You'd need to = build reliability into the application-level protocol, which complicates = things in other ways. > - What forum would you recommend me to use when I have to seek help = or > advice on the POE-specific aspects of the code? This mailing list is good for long-form questions and answers. It's = also a good way to work around time zone differences. irc.perl.org #poe = is good for shorter, less formal, more real-time interaction. --=20 Rocco Caputo <[email protected]>=