RE: question on mixing Inline modules with POE

[email protected] (Ankur Mundhada) Wed, 31 Mar 2010 18:21:59 +0530
Newsgroups perl.poe
Message-ID <1D9DAF24285EDA48A24C5C1E86CA213A05080810@ct-beexch-2-1.cybage.com>
Thanks for the reply, and giving time on the issue.

Worked on as, 

First:- 

a. Created a test wrapper in CGI which internally calls POE script
(module). On doing so, we started getting response from POE script
(module) for multiple hits/refresh. So I think the issue was due to the
integration of POE with mod_perl. 

Second :- 

b. Found that, if we integrate POE script (module) within the same
mod_perl handler file we are getting response for multiple refresh of
the page. But if we put the POE code in separate file and try to access
the federator module(POE) from mod_perl handler file we are not getting
proper output after some requests. 

Third :- 

c. To confirm this issue, we have modified the apache httpd.conf file to
as,
	i.	MinSpareServers 1
	ii.	MaxSpareServers 1
	iii.	StartServers 1
	iv.	MaxClients 10
	v.	MaxRequestsPerChild 1
And after restarting apache, we started getting proper response for each
request. As every request is create new processes id, But this is not
possible at production end. This was just done to test how mod_perl
cache is affecting POE kernel.

d. I think the issue was due to integration of POE with mod_perl cache.

Can we have some sample code where we integrate POE through mod_perl.



Regards,
Ankur  Mundhada,Sr. Software Engineer
Phone(O):91-20-66041700, Ext:6417

-----Original Message-----
From: Bill Nash [mailto:[email protected]] 
Sent: Wednesday, March 31, 2010 6:03 PM
To: ty
Cc: [email protected]
Subject: Re: question on mixing Inline modules with POE

I've never seen it either, but I suspect poe will care in the same
manner
any other perl program will. Blocking will occur where it will. Subs
will be
subs. Try it. :)

On Mar 31, 2010 3:48 AM, "ty" <[email protected]> wrote:

I was considering mixing  POE with Inline::Python.  However, I have
not seen any example of using Inline modules with POE.  Is this
possible to do, and does anyone have an example.

       Best Regards

                Ty

"Legal Disclaimer: This electronic message and all contents contain information from Cybage Software Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is strictly prohibited. If you have received this electronic message in error please notify the sender by reply e-mail to and destroy the original message and all copies. Cybage has taken every reasonable precaution to minimize the risk of malicious content in the mail, but is not liable for any damage you may sustain as a result of any malicious content in this e-mail. You should carry out your own malicious content checks before opening the e-mail or attachment."
www.cybage.com