Posted by rich on 11/16/06 15:21
I have a PHP5 application that accepts external messages, and inserts
them into a database. It's rather high traffic.. the server could be
receiving thousands at a time, and recently mysql has been locking up
because it's exceeding the max_connections limit. I raised it for now,
but that's only a temporary fix.
My question is is there a way to make a connection to mysql that
multiple instances of an object will use together? I'm under the
impression that something like a singleton would only live on a per
instance basis, or am I incorrect?
[Back to original message]
|