membase newbie questions...

3 views
Skip to first unread message

Sujee Maniyam

unread,
Oct 27, 2010, 12:48:19 PM10/27/10
to membase
Hello
I am evaluating membase for a project and I have a few questions.

1) client library
Where can I download Membase SDK? I couldn't find any at
http://www.membase.org/downloads

2) For now I am using SpyMemcached as java client. But having trouble
with a simple put/get test program.
java code : http://pastebin.com/qZ8SEy5m
results : http://pastebin.com/4F4Dra4a
I get mostly NULL values for the keys I just set!

3) Using SpyMemcached, how can i set values in different buckets?


thanks in advance.
Sujee

Wouter de Bie

unread,
Oct 27, 2010, 2:04:16 PM10/27/10
to mem...@googlegroups.com
Hi!

On 27 okt 2010, at 18:48, Sujee Maniyam <sujee...@gmail.com> wrote:

> Hello
> I am evaluating membase for a project and I have a few questions.
>
> 1) client library
> Where can I download Membase SDK? I couldn't find any at
> http://www.membase.org/downloads

What do you exactly need?

>
> 2) For now I am using SpyMemcached as java client. But having trouble
> with a simple put/get test program.
> java code : http://pastebin.com/qZ8SEy5m
> results : http://pastebin.com/4F4Dra4a
> I get mostly NULL values for the keys I just set!

You do a cache flush, that flushes the whole bucket. So your keys will disappear.

> 3) Using SpyMemcached, how can i set values in different buckets?

Buckets bind to ports, so create another client instance.


>
>
> thanks in advance.
> Sujee

Reply all
Reply to author
Forward
0 new messages