I dont think you can assign particular key's to a specific instance within a
cluster, but you can always connect to that one server (and only that one
server) and set the key... But in order to 'get' that value, you would need
to again connect to that server only.

This would be cumbersome and probably unnecessary.

On Wed, Dec 17, 2008 at 4:28 PM, Jitendra <[email protected]> wrote:

>
> Hi All,
>
> I would like to set a key-value pair to a specific instance of
> memcached. For my data I have 10 instances of memcached running. I
> tried with memcached_set_by_key(), memcached_get_by_key() to set and
> get the key-value, with the master key as (serverip+port). But it is
> not working as desired. I guess I am wrong somewhere.
>
> May I know what is the difference between the following APIs.
> memcached_set(), memcached_set_by_key()
> memcached_get(), memcached_get_by_key()
> I guess both are functionally same, isn't it ?
> Thanks in advance for any response.
>
> Regards
> Jitendra




-- 
"Be excellent to each other"

Reply via email to