Monday, May 17, 2004

Singleton pattern implementation might seem very easy and straight-forward.

But if your application is used at high user/sec rate, you might end up having a problem.

Check this out to look at the ways in which Singleton can be implemented with thread-safety:

http://www.yoda.arachsys.com/csharp/singleton.html