You are here: Singleton pattern, Suitable for multi-user websites ? « PHP Programming Language « IT news, forums, messages
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 ?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация