Re: How memcached handle consistency of data in clustered environment

2014-10-18 Thread Les Mikesell
, I would not care about consistency, right? What do you mean by 'between clusters'?In a typical setup where you have multiple servers there is still only one copy of any value stored so as far as single key/value pairs it has to be consistent. -- Les Mikesell lesmikes...@gmail.com

Re: How memcached handle consistency of data in clustered environment

2014-10-17 Thread Les Mikesell
the storage over the remaining servers. -- Les Mikesell lesmikes...@gmail.com -- --- You received this message because you are subscribed to the Google Groups memcached group. To unsubscribe from this group and stop receiving emails from it, send an email to memcached+unsubscr

Re: How memcached handle consistency of data in clustered environment

2014-10-17 Thread Les Mikesell
if one goes offline. -- Les Mikesell lesmikes...@gmail.com -- --- You received this message because you are subscribed to the Google Groups memcached group. To unsubscribe from this group and stop receiving emails from it, send an email to memcached+unsubscr...@googlegroups.com

Re: How memcached handle consistency of data in clustered environment

2014-10-17 Thread Les Mikesell
that can be reused many times without bothering the backend database. -- Les Mikesell lesmikes...@gmail.com -- --- You received this message because you are subscribed to the Google Groups memcached group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: Memcached/repcached: the need for repcached

2014-08-05 Thread Les Mikesell
seems like repcached adds overhead. It isn't necessary in the general case - which is probably why it is a separate project. It might help if you have a small number of nodes or a database that can't handle a flurry of cache misses. -- Les Mikesell lesmikes...@gmail.com -- --- You

Re: Memcached read/write consistency

2014-05-13 Thread Les Mikesell
. -- Les Mikesell lesmikes...@gmail.com -- --- You received this message because you are subscribed to the Google Groups memcached group. To unsubscribe from this group and stop receiving emails from it, send an email to memcached+unsubscr...@googlegroups.com. For more options, visit https

Re: Idea for reclaimation algo

2014-04-11 Thread Les Mikesell
? -- Les Mikesell lesmikes...@gmail.com -- --- You received this message because you are subscribed to the Google Groups memcached group. To unsubscribe from this group and stop receiving emails from it, send an email to memcached+unsubscr...@googlegroups.com. For more options, visit https

Re: Memcached cluster

2014-03-04 Thread Les Mikesell
it with client code. If you have a large enough number of servers, losing one will just add a small percentage of extra load on your backend DB to cover the extra cache misses. -- Les Mikesell lesmikes...@gmail.com -- --- You received this message because you are subscribed to the Google

Re: Memcached cluster

2014-03-03 Thread Les Mikesell
failure of a node is for the client to fetch a new copy of the cache misses from the backing storage. -- Les Mikesell lesmikes...@gmail.com -- --- You received this message because you are subscribed to the Google Groups memcached group. To unsubscribe from this group and stop receiving

Re: Memcached cluster

2014-03-03 Thread Les Mikesell
on line. Can you point me to a document or wiki link that gives more information on how to set up a memcached cluster? The server side is packaged for some Linux distributions. You just configure the amount of memory for it to use on each node. -- Les Mikesell lesmikes...@gmail.com

Re: Thousands of CLOSE_WAIT connections

2013-09-30 Thread Les Mikesell
there's something going on where memcached isn't closing connections. That sounds like your client is opening persistent connections but not reusing them. -- Les Mikesell lesmikes...@gmail.com -- --- You received this message because you are subscribed to the Google Groups

Re: DB support

2013-09-24 Thread Les Mikesell
the data when it is not already current in the cache. There may be some clients embedded in database or database-like packages, but in general your client can use any persistent data store along with memcache. -- Les Mikesell lesmikes...@gmail.com -- --- You received this message because

Re: Stale data handling with memcached/consistent hashing

2012-12-25 Thread Les Mikesell
? -- Les Mikesell lesmikes...@gmail.com

Re: Memcached and repcached not replicating 2 master servers

2012-10-22 Thread Les Mikesell
people on this list would know. -- Les Mikesell lesmikes...@gmail.com

Re: data synchronization betwean memcached cluster nodes?

2012-10-17 Thread Les Mikesell
are distributed over the cluster nodes and if data is not found in the cache it is up to the client to pull a new copy from the persistent data store and refresh it in the cache. -- Les Mikesell lesmikes...@gmail.com

Re: Behavior of Memcached Client during Replication Process

2012-10-17 Thread Les Mikesell
for how the client handles a server failure: http://code.google.com/p/xmemcached/wiki/FailureMode_StandbyNode Failure doesn't mean 'key doesn't exist', though, it means 'server connection fails'. -- Les Mikesell lesmikes...@gmail.com

Re: Behavior of Memcached Client during Replication Process

2012-10-17 Thread Les Mikesell
On Wed, Oct 17, 2012 at 1:56 PM, Kiran Kumar krn1...@gmail.com wrote: Les Mikesell , Thanks for the link , but unfortunately that is no where related to my question above . anyway once again , What i was asking is that as there is some delay in Data Replication , will the Memcache Client

Re: Questions about memcached in general and failover

2012-10-16 Thread Les Mikesell
? -- Les Mikesell lesmikes...@gmail.comi

Re: Is the term Replication and clustering are different with respect to 2 instances of Memcache for the same application .

2012-10-12 Thread Les Mikesell
of requests always hitting the data store directly when a cache server is down, but avoids the chance of inconsistency if the clients notice the outage/recovery at slightly different times. -- Les Mikesell lesmikes...@gmail.com

Re: Is the term Replication and clustering are different with respect to 2 instances of Memcache for the same application .

2012-10-12 Thread Les Mikesell
them from the backend data store. They seem to be talking about running another memcached instance on the same server but a different port, but that doesn't make any difference to the client. -- Les Mikesell lesmikes...@gmail.com

Re: Is the term Replication and clustering are different with respect to 2 instances of Memcache for the same application .

2012-10-12 Thread Les Mikesell
it will take care of itself. -- Les Mikesell lesmikes...@gmail.com

Re: Is the term Replication and clustering are different with respect to 2 instances of Memcache for the same application .

2012-10-12 Thread Les Mikesell
point of failure in the sense that the hash re-balancing continues to provide the clients a place to cache freshly obtained data. -- Les Mikesell lesmikes...@gmail.com

Re: Is the term Replication and clustering are different with respect to 2 instances of Memcache for the same application .

2012-10-12 Thread Les Mikesell
something that looks like it will it will work with the same clients but attempts to provide reliable storage). There have been other similar attempts, but I haven't followed their current status. -- Les Mikesell lesmikes...@gmail.com

Re: Is the term Replication and clustering are different with respect to 2 instances of Memcache for the same application .

2012-10-12 Thread Les Mikesell
to provide reliable storage instead of just using something designed to be a cache even with multiple instances. -- Les Mikesell lesmikes...@gmail.com

Re: Memcache : Two Seperate Memcache's instances in sync for a single application

2012-10-11 Thread Les Mikesell
of memcache would be to have enough members in a single cluster that the backend database can survive if you temporarily lose one or two of the cache members and some percentage of queries hit it directly. -- Les Mikesell lesmikes...@gmail.com

Re: Is it posible that two Seperate Instances of Memcache communicate with each other

2012-10-09 Thread Les Mikesell
your 2 applications wouldn't work the way you want in this configuration or why you would want separate independent servers for each application. Being able to distribute the cache over multiple servers is the main reason people would use memcache. -- Les Mikesell lesmikes...@gmail.com

Re: Volume memcached can handle

2012-09-21 Thread Les Mikesell
limited by the number of servers you want to throw into the pool. -- Les Mikesell lesmikes...@gmail.com

Re: Open Source NoSQL ORM(ish)

2012-07-24 Thread Les Mikesell
On Mon, Jul 23, 2012 at 9:19 PM, Evan Buswell evan.busw...@accellion.com wrote: Lot's of examples in the docs. But yeah; maybe I should add a quick complete example to the front page? I'll do this soon. Did I miss where you describe the language(s) it supports? -- Les Mikesell

Re: Storage Engines?

2012-07-06 Thread Les Mikesell
problem for you? -- Les Mikesell lesmikes...@gmail.com

Re: Storage Engines?

2012-07-06 Thread Les Mikesell
, secondary indexes, etc. -- Les Mikesell lesmikes...@gmail.com

Re: Storage Engines?

2012-07-05 Thread Les Mikesell
it? I suppose you want it to be reliable too. -- Les Mikesell lesmikes...@gmail.com

Re: Issue 256 in memcached: PLEASE do not remove cachedump, better dumping feature needed

2012-02-26 Thread Les Mikesell
expire time on everything since it is being evicted anyway, then write back anything you are actively reusing to bump up the time to live? That way less active data gets out of the way sooner with no extra work. -- Les Mikesell lesmikes...@gmail.com

Re: Best Architecture For DNS Round Robin + Memcached

2012-02-10 Thread Les Mikesell
down the entire application If you have one memcached server and it goes down, you lose 100% of your caching. -- Les Mikesell lesmikes...@gmail.com

Re: recommended maximum number of nodes in memcache cluster (server pool)

2011-11-27 Thread Les Mikesell
with your backend persistent storage before you get to that point - especially if you expect to recover from any major failure that dumps most of your cache at once. -- Les Mikesell lesmikes...@gmail.com

Re: recommended maximum number of nodes in memcache cluster (server pool)

2011-11-26 Thread Les Mikesell
independently there as well. -- Les Mikesell lesmikes...@gmail.com

Re: recommended maximum number of nodes in memcache cluster (server pool)

2011-11-26 Thread Les Mikesell
-- connection or otherwise -- on the client side to, say, warrant a direct fetch from the database? You will likely have to worry about the persistent backend database scaling long before that point. -- Les Mikesell lesmikes...@gmail.com

Re: recommended maximum number of nodes in memcache cluster (server pool)

2011-11-26 Thread Les Mikesell
On Sat, Nov 26, 2011 at 3:19 PM, Arjen van der Meijden a...@tweakers.net wrote: On 26-11-2011 19:28 Les Mikesell wrote: In the first one you may end up with 16 different tcp/ip-connections per client. Obviously, connection pooling and proxies can alleviate some of that overhead. Still

Re: LONG-CONNECTION-SOCKET FOR PROTOCOL BUG

2011-11-01 Thread Les Mikesell
instances over many machines so that restarting one (or a failure) just invalidates a small portion of the cache that your persistent data store can easily handle. If you want persistence, there are probably better tools. -- Les Mikesell lesmikes...@gmail.com

Re: Memcached as a distributed hash

2011-09-09 Thread Les Mikesell
persistent storage or way to generate the data and you want to avoid the overhead of making a query for repeated requests. If you are going to use something that also provides the persistent storage you need to consider whether you need more than key/value operations. -- Les Mikesell lesmikes

Re: Several clients

2011-08-26 Thread Les Mikesell
copies of data on other servers until it expires. -- Les Mikesell lesmikes...@gmail.com

Re: Memcached as a distributed hash

2011-08-25 Thread Les Mikesell
has updated 2) periodically uses the memcache data to perform a task. Would be very interested on your input. That's not what memcache does. The value is only sent to and stored on one node, determined by hashing the key. -- Les Mikesell lesmikes...@gmail.com

Re: Understanding MemCached

2011-07-21 Thread Les Mikesell
clients are configured with the same list of servers in the same order they will find a single copy. -- Les Mikesell lesmikes...@gmail.com

Re: Memcachd with httpd to cache user stickyness to a datacenter

2011-04-11 Thread Les Mikesell
are running through a proxy it will repeat the DNS lookup frequently and switch addresses if you have alternatives. -- Les Mikesell lesmikes...@gmail.com

Re: Memcachd with httpd to cache user stickyness to a datacenter

2011-04-11 Thread Les Mikesell
the pool at a single data center (the L in LTM meaning local...) where the servers probably all have access to the same memcache service. -- Les Mikesell lesmikes...@gmail.com

Re: Implementation of CHECK command for memcached

2011-03-18 Thread Les Mikesell
would say a key exists but when you try to retrieve it, it doesn't (expired, evicted, deleted by a concurrent operation, etc.)? -- Les Mikesell lesmikes...@gmail.com

Re: Implementation of CHECK command for memcached

2011-03-18 Thread Les Mikesell
with it the underlying value for the key might have already been changed or removed. It just doesn't seem to mesh with the operations that work in a cache. -- Les Mikesell lesmikes...@gmail.com

Re: It's a long story... (TL;DR?)

2011-03-09 Thread Les Mikesell
of what it just changed. The real problem is the speed the replication propagates, so having the db push the cache update at each location probably can't fix it. -- Les Mikesell lesmikes...@gmail.com

Re: Problems when one of the memcached server down

2011-03-08 Thread Les Mikesell
servers, some don't. Either way, the next attempt to use a failed server should detect it is down and retrieve the data from the backing DB. -- Les Mikesell lesmikes...@gmail.com

Re: features - interesting!!

2011-02-04 Thread Les Mikesell
is a cache, not a key-value store. -- Les Mikesell lesmikes...@gmail.com

Re: features - interesting!!

2011-02-04 Thread Les Mikesell
and my server have a lot of memory Yes, it is very good for holding values for quick access that you are able to retrieve in some slower way. -- Les Mikesell lesmikes...@gmail.com

Re: features - interesting!!

2011-02-04 Thread Les Mikesell
PIC. Or if you are using it like a database, membase might be a better fit without making much difference on the client side. If you have another way of loading the data you could remove the part that handles cache misses from the client. -- Les Mikesell lesmikes...@gmail.com

Re: features - interesting!!

2011-02-04 Thread Les Mikesell
:/ If you really need atomic operations, maybe redis would be better. -- Les Mikesell lesmikes...@gmail.com

Re: features - interesting!!

2011-02-04 Thread Les Mikesell
of a library to make http client requests? A lot of the servers provide a rest interface. -- Les Mikesell lesmikes...@gmail.com

Re: features - interesting!!

2011-02-04 Thread Les Mikesell
there and just speak http from the client? -- Les Mikesell lesmikes...@gmail.com

Re: features - interesting!!

2011-02-04 Thread Les Mikesell
implements the lock but also does most or all of what the client would have done while holding the lock? -- Les Mikesell lesmikes...@gmail.com

Re: Is memcache add() atomic on a multithreaded memcached?

2010-10-17 Thread Les Mikesell
On 10/17/10 6:07 AM, Tobias wrote: Is it ever possible that your compute takes longer than your timeout? no, the return value of memcache.delete(lock + x) is true. But wouldn't that also be true if another process found the expired lock and set a new one? -- Les Mikesell lesmikes

Re: 1TB memcached

2010-09-22 Thread Les Mikesell
or removed? (Other than the different client interface...). -- Les Mikesell lesmikes...@gmail.com

Re: 1TB memcached

2010-09-21 Thread Les Mikesell
. You should generally assume that the disk head is going to be halfway across the disk from the data you want and add up the seek time it will take to get there. On the other hand, using real memory across several machines is very fast. -- Les Mikesell lesmikes...@gmail.com

Re: Don't quite understand why expiration is necessary

2010-08-03 Thread Les Mikesell
(for any reason, including expirations) and the point of the cache is just to not overwhelm it with thousands of requests for the same thing. -- Les Mikesell lesmikes...@gmail.com

Re: REST API

2010-07-29 Thread Les Mikesell
] part without re-creating all of the logic in the client library anyway. -- Les Mikesell lesmikes...@gmail.com

Re: REST API

2010-07-28 Thread Les Mikesell
On Wed, Jul 28, 2010 at 12:03 PM, Les Mikesell lesmikes...@gmail.com mailto:lesmikes...@gmail.com wrote: On 7/28/2010 10:16 AM, jsm wrote: Gavin, You are right about the overhead and also saw that API's exist for most of the languages as well. I thought REST API

Re: stats help

2010-07-25 Thread Les Mikesell
it handles the spikes that would appear from restarts and value rollovers. -- Les Mikesell lesmikes...@gmail.com

Re: stats help

2010-07-25 Thread Les Mikesell
is closely coupled to the rest of the logic. I think OpenNMS might do it with values it can pick up with http requests but I'm not sure how well it handles the spikes that would appear from restarts and value rollovers. -- Les Mikesell lesmikes...@gmail.com mailto:lesmikes

Re: Scalability and benchmarks

2010-07-01 Thread Les Mikesell
. -- Les Mikesell lesmikes...@gmail.com

Re: Scalability and benchmarks

2010-06-30 Thread Les Mikesell
should use multiple NICs on the servers and spread the clients over different networks? -- Les Mikesell lesmikes...@gmail.com

Re: Problems with ping latencies...

2010-06-18 Thread Les Mikesell
a duplex mismatch at a switch port. -- Les Mikesell lesmikes...@gmail.com

Re: Is this really Distributed?

2010-06-11 Thread Les Mikesell
of failure is to have intermediary clients, which can do that. Now I think we can call it that way. A cache server failure shouldn't have any visible effect other than making the source servers work harder while the data it held is refreshed onto the remapped servers. -- Les Mikesell

Re: Is this really Distributed?

2010-06-10 Thread Les Mikesell
. Is My understanding correct? If it is correct, we should remove Distributed from the above definition. The data is distributed - but the servers don't need to know anything about that. Doesn't that still make it a distributed system? -- Les Mikesell lesmikes...@gmail.com

Re: Memcached as web page cache

2010-05-19 Thread Les Mikesell
On 5/19/2010 1:46 PM, Sun-N-Fun wrote: Apache Traffic Server looks good! Has commands for deleting a specific object from the cache. I hadn't been paying attention. Is that released and ready for prime time now? -- Les Mikesell lesmikes...@gmail.com

Re: How to get more predictable caching behavior - how to store sessions in memcached

2010-03-14 Thread Les Mikesell
that provide replication across server instances? -- Les Mikesell lesmikes...@gmail.com

Re: How to get more predictable caching behavior - how to store sessions in memcached

2010-03-14 Thread Les Mikesell
help things a bit by splitting pages into iframe/image components that do/don't need sessions, and you can make the client do more of the work by sending back values in cookies instead of just the session key, but I'm not sure how far you can go. -- Les Mikesell lesmikes...@gmail.com

Re: Memcache as session server with high cache miss?

2010-03-12 Thread Les Mikesell
percentage should not double when you add another server. -- Les Mikesell lesmikes...@gmail.com

Re: How to get more predictable caching behavior - how to store sessions in memcached

2010-03-12 Thread Les Mikesell
find free space instead of evicting something even though space is available elsewhere. -- Les Mikesell lesmikes...@gmail.com

Re: How to get more predictable caching behavior - how to store sessions in memcached

2010-03-12 Thread Les Mikesell
had trouble with that long ago with a berkeleydb version that I think was eventually fixed. As things work now, if the new storage has to move to a larger block, is the old space immediately freed? -- Les Mikesell lesmikes...@gmail.com

Re: Memcache as session server with high cache miss?

2010-03-11 Thread Les Mikesell
at all? Perhaps you can point me to resources providing more details on this? 'Enough' memory may not be what you expect unless you understand how your data fits in the allocated slabs. And I'm not sure what happens if the keys have hash collisions. -- Les Mikesell lesmikes...@gmail.com

Re: Memcache as session server with high cache miss?

2010-03-10 Thread Les Mikesell
it can operate if you don't use something like memcache in front of it. -- Les Mikesell lesmikes...@gmail.com

Re: Memcache as session server with high cache miss?

2010-03-10 Thread Les Mikesell
of how much data you throw at it? -- Les Mikesell lesmikes...@gmail.com

Re: Memcache as session server with high cache miss?

2010-03-10 Thread Les Mikesell
how many potential keys might be in use at once (constructing them from arbitrary sql queries, etc.). Or to do anything to remove data. You really can't iterate over it to see what needs to be removed - and where else would you store the keys so you'd know about them? -- Les Mikesell

Re: Any plan for libev support?

2010-02-20 Thread Les Mikesell
The link is actually to a BSD-ish 'retain the copyright notice' license, with the GPL permitted as an alternative. Trond Norbye wrote: Then I guess the answer is no, because memcached is BSD... Trond Sent from my iPhone On 20. feb. 2010, at 16.23, Ryan Chan ryanchan...@gmail.com wrote:

Re: How to check status of the server which will be chosen by Hashing Policy

2010-02-02 Thread Les Mikesell
a bit more frequently. If you are counting on everything having a time-synchronized view of exactly the same data, you probably shouldn't be using a distributed cache. -- Les Mikesell lesmikes...@gmail.com

Re: Using memcached as a distributed file cache

2009-11-02 Thread Les Mikesell
. Since these files are large memcached probably isn't the best bet for this. You could also redirect the client to the proxy/cache after computing the filename, but that exposes the name in a way that might be reusable. -- Les Mikesell lesmikes...@gmail.com

Re: memcached slower than file IO

2009-05-30 Thread Les Mikesell
buffers without memcache, then allocate a portion to memcache, neither one would have enough space and both would have to continuously reload the data as it is evicted. -- Les Mikesell lesmikes...@gmail.com

Re: memcached slower than file IO

2009-05-29 Thread Les Mikesell
reduced filesystem buffers and end up making them both thresh. -- Les Mikesell lesmikes...@gmail.com

Re: memcached log file

2009-05-06 Thread Les Mikesell
. It would be a little handier for this style of control if memcached had a command line option like '-o logfile' so it could be controlled in the options the script sources from /etc/sysconfig/memcached and expands on the command line. -- Les Mikesell lesmikes...@gmail.com

Re: Cache fails when doing high volume of simultaneous read/write requests

2009-05-03 Thread Les Mikesell
the cache as these items are generated the best way to avoid this - or does it really just show up in automated testing? -- Les Mikesell lesmikes...@gmail.com

Re: project division

2009-05-02 Thread Les Mikesell
Clint Webb wrote: On Sun, May 3, 2009 at 8:58 AM, Les Mikesell lesmikes...@gmail.com wrote: Clint Webb wrote: Rather than using memcached as a global site cache (which it is not really designed to be), you might have more success actually using it the way it was intended. Which means

Re: project division

2009-05-01 Thread Les Mikesell
of an update count somewhere that you use in a key prefix so when a new post happens you just stop using the old copies and they'll age out naturally. -- Les Mikesell lesmikes...@gmail.com

Re: Memcached monitoring/statistics tool

2009-03-30 Thread Les Mikesell
addresses of any that fail, or do you just make them all active and let the client re-balancing take care of any problems? -- Les Mikesell lesmikes...@gmail.com

Re: New wait timeout argument for the get() method.

2009-03-25 Thread Les Mikesell
of the negotiation time would be me trying to talk you out of it. :) If you put this in the server, don't you set up conditions for: A) all clients trigger the wait and thus deadlock and/or B) some number of clients run the server out of resources ?? -- Les Mikesell lesmikes...@gmail.com

Re: New wait timeout argument for the get() method.

2009-03-25 Thread Les Mikesell
gf wrote: How does the updater distinguish itself from the rest? acquire() (atomic add). So a whole bunch of clients try to add some sort of key that you hope are identical so all but one fail, the one that succeeds is supposed to do some more work? What if its next step fails? -- Les

Re: key misses in memcached

2009-03-19 Thread Les Mikesell
bothering the underlying backend database. -- Les Mikesell lesmikes...@gmail.com