Re: Repopulating cache after cache miss.

2010-09-27 Thread Adam Lee
Yeah, I say either go with Gearman or else have backend processes that generate the data and write it to the cache instead of generating it within the context of a client request. On Sun, Sep 26, 2010 at 12:44 PM, Brian Moon wrote: > My concern is that the client may make multiple requests for a

Re: Repopulating cache after cache miss.

2010-09-26 Thread Brian Moon
My concern is that the client may make multiple requests for additional parts at the same time triggering multiple (duplicate) re-fetches and saves. Anyone have a similar situation? Would you recommend use an atomic "add" with a short timeout as a lock? It's discussed on the wiki a bit. Ther

Re: Repopulating cache after cache miss.

2010-09-26 Thread dormando
> Perhaps this is more a question about application design then directly about > Memcached. > > I have a very large and somewhat slow data fetch from a back-end service.   > The client doesn't need all the data at the same time so the plan is to split > it up into parts and save into Memcached to

Repopulating cache after cache miss.

2010-09-22 Thread Bill Moseley
Perhaps this is more a question about application design then directly about Memcached. I have a very large and somewhat slow data fetch from a back-end service. The client doesn't need all the data at the same time so the plan is to split it up into parts and save into Memcached to be fetched as