I was currently looking into memcached as way to coordinate a group of server, but came across Apache's ZooKeeper along the way. It looks interesting, and Yahoo uses it, so it shouldn't be bad, but I'd never heard of it before, so I'm kind of skeptical. Has anyone else given it a try? Any comments or ideas?
...
I want to setup a statistics monitoring platform to watch a specific service, but I'm not quiet sure how to go about it. Processing the intercepted data isn't my concern, just how to go about it. One idea was to setup a proxy between the client application and the service so that all TCP traffic went first to my proxy, the proxy would ...
It's easy to wrap optional memcached caching around your existing database queries. For example:
Old (DB-only):
function getX
x = get from db
return x
end
New (DB with memcache):
function getX
x = get from memcache
if found
return x
endif
x = get from db
set x in memcache
return x
end
The th...
I am interested if there is a port for the server implementation.
...
In particular what strengths does it have over caching features of Asp.net
...
Hi,
I use ASP.NET and WCF services in a load balanced web server environment, using Memcached in the service layer.
I also wanted to replace the use of ASP.NET State Server (for Session State) with Memcached.
Now I am afraid it is not a good thing, because from what i understand,
Memcached is a cache server rather than a state server, ...
Hi everybody
I have finally got the green light to use Memcached in our project (after months of lobbying against a database-based caching solution - just don't ask...), however we will need to use Repcached as well to have backup copies of our data. Has anyone built this for Win32? We may end up using Linux in production, but develop...
I'm building a caching system and I want it to be ready for distributed caching a la memcached. What I'm looking to do is to convert a traditional Hashtable/Dictionary of (string -> object) and to allow per-item expiration to be handled by the Cache itself, in the way that the System.Web.Caching.Cache can do.
I'm aware that memcache re...
Hi,
I'm starting to learn about using Memcached with PHP and I was wondering; is there a point at which you should start using it? Is it always more efficient to cache data or does it only become effective once your site gets a certain number of hits? Presumably there is an overhead associated with Memcached, so when does the speed bene...
I'm a PHP developer and I've made something I want to push live.
It requires memcache, and I'm expecting a fair amount of traffic, at least at launch, so I'd like it to be fast.
I'm really awesome at programming, but when it comes to getting hosting stuff set-up (other than run-of-the-mill shared hosting) I lack experience.
...
Hi
We use memcache basically as an after thought to just cache query results.
Invalidation is a nightmare due to the way it was implemented. We since learned some techniques with memcache thru reading the mailing list, for example the trick to allow group invalidation of a bunch of keys. For those who know it, skip the next paragraph...
I would like to store data persistently for my application, but I don't really need a full blown relational database. I really could get by with a basic "cache"-like persistent storage where the structure is just a (key, value) pair.
In lieu of a database what are my best, scalable options?
...
I need a portable C/C++ solution, so I'm looking for a C/C++ client library for Memcached that work on both Windows and Unix. Any suggestions?
...
The DB load on my site is getting really high so it is time for me to cache common queries that are being called 1000s of times an hour where the results are not changing.
So for instance on my city model I do the following:
def self.fetch(id)
Rails.cache.fetch("city_#{id}") { City.find(id) }
end
def after_save;
Rails.c...
Is there anyone already implement memcached for production use in Windows environment?
Because many blogs that I've read, it's not recommended to run memcached in Windows especially for production use, for example running memcached on windows.
And one more thing, which memcached client that is good to use with c# and .net 3.5 ?
I've fou...
I'm looking into using MemCached for a web application I am developing and after researching MemCached over the past few days, I have come across a question I could not find the answer to.
How do you link Memcached server together or how do you replicate data between MemCached server?
Additionally: Is this functionality controlled by t...
I'm migrating to Nhibernate 2.0 GA but have some trouble with setting cache expirations in memcached provider.
I see in the NHibernate.Caches.MemCache sources that there is a property for expiration and a default value for 300 seconds.
There are also properties for cache regions but the config section handler does not seem to map them...
Has anyone experienced memcached limitations in terms of:
# of objects in cache store - is there a point where it loses performance?
Amount of allocated memory - what are the basic numbers to work with?
...
I plan to use a distributed cache in my load-balanced webapp.
So I'm going to try to abstract out the common functions between apache ehcache and memcached.
My goal is to be able to make a simple configuration switch to select the caching solution to use. Should I go the SPI route e.g. like how XML parsers are wired in ?
...
I've pretty much tried everything, but it seems impossible to use
expire_fragment from models? I know you're not supposed to and it's
non-MVC, but surely there much be some way to do it.
I created a module in lib/cache_helper.rb with all my expire helpers,
within each are just a bunch of expire_fragment calls. I have all my
cache...