Re: A custom scenario for memcached

2015-09-09 Thread Suryaveer Chauhan
Thanks for the reply. keys 1..3 are unique for id, means for several requests generated by particular id. BTW in *key1->id, *by id you mean value of key. right? What I meant by that phrase is that if i store *id:value* once and again for next request by same or diff id I'll have to add again *

Re: A custom scenario for memcached

2015-09-09 Thread Denis Samoylov
store four key-value pairs: id->full struct key1->id key2->id key3->id i hope keys(key1..3 are uniq) so, storing will be one op with four values and retrieving will be two ops get key and than get id i still think i miss something because of this phrase "I guess no because duplicate keys are o

A custom scenario for memcached

2015-09-08 Thread Suryaveer Chauhan
Hi All, I am a new user for memcached and related products so pardon my understanding. I am working on a *C code* (not written by me) which has a caching mechanism builtin to the code. Now, we want to move it outside into memcached or some other cache. What I understand from the code is that