View Single Post
  #1 (permalink)  
Old 03-03-2008, 04:03 PM
IHAVE2PHP IHAVE2PHP is offline
Junior Member
 
Join Date: Mar 2008
Posts: 2
Unhappy Multi-user Database Locking Process Forking?

I have an application written in PHP, and i'm trying to not to convert it to Java (for its locking functionality), and possibly do it somehow with PHP.

maybe PHP and Java.

My needs are that if 20 users are accessing the system, instead of having 20 DB connections, i can have 5 or whatever the case serving the needs of 20.

A constantly running request handler? This is also known to some as process forking, to fork a process into child processes.

In other words, is it possible to run a PHP background process that can handle requests?

Through what i know of PHP, this is not possible, but i'm not 100% sure.

any ideas on how i can achive this, or with any other technology? Java and PHP get along good through anybody experience?

thanks guys,


DM
Reply With Quote