On Nov 15, 2007, at 13:35 , Oliver Castle wrote:

My only question is weather it is better to implement the Memcahed
client as a singleton method which is created once and then used until
the application is reset or load the Memcached client on every single
request. Using a singleton makes the most sense to me but I wanted to
check if any one had expirence of why this was not a good idea?


My client is designed to be used as a singleton. There are lots of advantages[0] to doing this in an environment such as the one you're describing.

[0] http://bleu.west.spy.net/~dustin/projects/memcached/optimization.html

--
Dustin Sallings


Reply via email to