user610342
user610342

Reputation: 235

Does php FLOCK work on load balanced web servers?

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?

Upvotes: 0

Views: 47

Answers (0)

Related Questions