On Tue, Nov 24, 2015 at 12:21 PM, Joseph Norris <jozefn...@gmail.com> wrote:

> process 1 -> set($tag1,$hash);    data unique to process 1
> process 1 -> get($tag1,$hash);
> process 2 -> set ($tag2,$hash);   data unique to process 2
> process 2 -> get($tag2,$hash);
>

I'm not sure what you're trying to do. Assuming that $tag ne $tag2, there
is no data being shared here and no point to using memcached. The normal
thing would be for the key to be the same in both processes so they can
both get and set the same data. The actual hashes in local memory are
different of course.

each process must have a unique key to manipulate the hash via set and get
>

No, if they each have a unique key, they will be looking at totally
different data in memcached and not sharing.

- Perrin

-- 

--- 
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://groups.google.com/d/optout.

Reply via email to