Does php FLOCK work on load balanced web servers?

41 views Asked by At

We are upgrading from a single web server to 3 load balanced web servers using Stingray and Linux OS. We currently use PHP FLOCK to access a file which provides a unique sequence number to web page requests. Does FLOCK still work with load balanced servers or will we have to put that logic in mySQL to provide exclusive locking?

0

There are 0 answers