Singleton pattern, Suitable for multi-user websites ?
Posted by awebguynow on 04/28/06 19:46
I come from a Java background and I was just wondering if a Singleton
pattern is suitable for websites with heavy traffic.
Of course the most common example given is the DB connection, and maybe
a cache of connections, and a checkout/checkin strategy is more
appropriate.
Can use of a Singleton restrict resource usage and cause processing
backlogs, such as deadlock ?