RE: Automating network testing with POE (web services IPC)
Nick Perez <[email protected]>
| Newsgroups | gmane.comp.lang.perl.poe |
|---|---|
| Message-ID | <[email protected]> |
It really sounds like you need to segregate the webapp from the actual daemon. And with that, you do not need to run POE within mod_perl (not that you could anyhow). But you obviously need POE communication between the web server and the POE daemon. So I recommend using POE::Component::IKC::ClientLite (http://search.cpan.org/~gwyn/POE-Component-IKC-0.2003/IKC/ClientLite.pm). As for worker/controller interaction, IKC can serve those needs too, without having to involve a protocol layer beyond a TCP socket and the serializer that IKC uses.