Baskaran Sankaran wrote:

The key miss problem occurs, when I store all the three keys and their
values for the rules. I guess that the problem is due to the fact that the
every key is similar to two other keys except for the suffix part, though I
don't understand why this is a problem.
I would greatly appreciate any help.

You could simply be running out of memory - or there could be some kind of hash collision happening that would not be a problem the way memcache is normally used with an underlying database holding the authoritative copy. However, you may have an even bigger problem since you want to update the values from multiple processes and you won't have any locking. This seems like a problem that mysql or postgresql would solve easily in a machine with sufficient RAM. Memcache is normally used where you want to read the same value thousands of times without bothering the underlying backend database.

--
  Les Mikesell
   [email protected]

Reply via email to