You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Kaare Rasmussen <ka...@kakidata.dk> on 2003/11/15 12:37:56 UTC
DBIx::Recordset and POE
Hi
Anybody here with experience in using DBIx::Recordset with POE ?
I want to write a POE-server to serve data from a database using
DBIx::Recordset.
I wonder if I have to be concerned with time consuming database queries in
this concept. I'm worried that POE will not service requests while a database
query is being processed, but I'm not sure if this is a problem or not.
--
Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
Kaki Data tshirts, merchandize Fax: 3816 2501
Howitzvej 75 Åben 12.00-18.00 Email: kar@kakidata.dk
2000 Frederiksberg Lørdag 12.00-16.00 Web: www.suse.dk
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: DBIx::Recordset and POE
Posted by Gerald Richter <ri...@ecos.de>.
Hi,
>
> Anybody here with experience in using DBIx::Recordset with POE ?
>
> I want to write a POE-server to serve data from a database using
> DBIx::Recordset.
>
> I wonder if I have to be concerned with time consuming database
> queries in this concept. I'm worried that POE will not service
> requests while a database query is being processed, but I'm not sure
> if this is a problem or not.
Yes, this would be a problem. Your POE server will not serve any request
while a database query is happening. There is a DBI module for POE, which
spawns a subprocess, so the main POE server is still responsive. I think you
have to bring this POE DBI module and DBIx::Recrdset together to really take
advantage of POE
Gerald
--------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 939-122
WWW: http://www.ecos.de/ Fax: +49 6133 939-333
--------------------------------------------------------------
|
| ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org