Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Membase Server 1.7.x

Do "Spymemcached vbucket" work correctly with replicate of Membase?

2 replies [Last post]
  • Login or register to post comments
Mon, 12/12/2011 - 23:51
vttgato
Offline
Joined: 09/06/2011
Groups: None

I very confuse about spymemcached vbucket feature:
   1. Do "Spymemcached vbucket" work correctly with replicate of Membase?
   2. If I using it, I will need moxi or not? Which is better?

 

My server install membase 1.7.2, I have one data bucket which is membase with replication (1 replica)
My client install moxi and using spymemcached-2.7.3

Here is my testing performace result:
- Use spymemcached + moxi: connect to 127.0.0.1:11211
   Set : 849.948 ms
   Get : 767.404 ms
   GetMulti : 179.3 ms
   Delete : 652.533 ms

- Use spymemcached vbucket: connect to http://10.0.4.22:8091/pools
   Set : 721.453 ms
   Get : 672.647 ms
   GetMulti : 213.821 ms
   Delete : 507.954 ms

Top
  • Login or register to post comments
Tue, 12/13/2011 - 11:49
mikew
Offline
Joined: 03/14/2011
Groups:

Do "Spymemcached vbucket" work correctly with replicate of Membase?

The Spymemcached vbucket-aware feature was designed for Membase and will only work for Membase.

If I using it, I will need moxi or not? Which is better?

You do not need moxi if you use the vbucket-aware feature in Spymemcached and it is better to not use moxi. The reason is that when you use moxi you are potentially introducing another network hop into your requests and this will cause increased latency.

Also, your performance results look very slow. Normally, Membase returns data in under 1ms. Can you check to make sure you didn't get your units mixed up (us instead of ms). If your units are correct then if you post you test case here I can take a look at it to try to figure out what you did wrong.

Top
  • Login or register to post comments
Thu, 12/15/2011 - 17:37
vttgato
Offline
Joined: 09/06/2011
Groups: None

Membase performance is fast. I test like this:
- Set : 1000 key, 1024 byte/key
- Get : 1000 key
- GetMulti : 100 request, 10 key/request
- Delete : 1000 key

Thanks for you reply.

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker