[FASTCGI] File locking

Heinrich Lee Yu hleeyu at gmail.com
Sat Jul 4 01:03:19 EDT 2009


Hi, I'm planning to write a fastcgi application with an embedded mysql
server using libmysqld. From my understanding, fastcgi spawns multiple
instances of my application. This would result in multiple libmysqld servers
running on the same data directory. (I also need them to run on the same
data dir because data needs to be the same for all instances)

Would i be having problems regarding file locking and such with this setup?
Or does fastcgi handle this?

Also, I know I could also just let fastcgi spawn only one instance of my
application. In this case, would performance be significantly slower than
with multiple processes?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.pins.net/mailman/private.cgi/fastcgi-developers/attachments/20090704/53a7ef2a/attachment.html>


More information about the FastCGI-developers mailing list