Hi there,

On Mon, 22 May 2000, Reilly, Thomas wrote:

> I have to find out what the best method is for having mod_perl have
> bi-directional communication with a unix daemon process which will
> receive a string (for simplicity!) from mod_perl, (extracted from
> the client request), talk to existing c-code which accesses and uses
> the string to update a database. The database will trigger a
> response which has to get back to the client via mod_perl!

I think you should consider incorporating the program into a Perl
module instead of having it run as a separate daemon if you think it's
at all possible.  Your daemon could be a bottleneck and you could find
that the extra layer of complexity gives you grief you don't need.
There are easy ways to talk to databases from inside Perl modules.
Look in the Guide, which is at

http://perl.apache.org/guide
 
> I want to also ensure my machine doesn't fall over after receiving
> multiple requests

Yup, copy that.  How much RAM in your machine?
 
> Any help would be greatly appreciated as i'm kinda feeling around in
> the dark at the moment

Hey, join the club!

73,
Ged.

> Thomas Reilly
> Software Consultant,
> 
> Distributed Software Consultancy Ltd.,
> Ballybrit Business Park,Galway,Ireland.
> Tel: +353 (91) 760541 Fax: +353 (91) 760542
> e-mail: [EMAIL PROTECTED]
> web: http://www.dscie.com

Reply via email to