Android Question Java RDC vs Apache/PHP threading/performance

qle

Member
Licensed User
Longtime User
Hi,
At the moment my application uses Apache WebServer and PHP for MySql data access.

The scenario is that i may have 10 clients doing queries at the same time
ie: 10 staff members doing stocktake using 10 Android Scanner)

I know with the Apache server, each connection is forked into its own process...

Is this true of the Java RDC-Server? or each connection put in a process queue until previous connection complete?

Best Regards
Lee.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
I know with the Apache server, each connection is forked into its own process...
This is not correct (unless you are using CGI). Each request is handled by a different thread. It is more efficient than creating a process for each request.

This is also the case with RDC. You can actually control the max pool size (of db connections) in the configuration.
 
Upvote 0
Top