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

Is Memcached 1MB value limit enforced?

2 replies [Last post]
  • Login or register to post comments
Mon, 12/05/2011 - 14:34
manchambhatla
Offline
Joined: 09/16/2011
Groups: None

I was running some tests on both Membase & Memcached, to demonstrate membase persistence and I noticed that Memcached does not throw an error when persisting values greater than 1MB size?

I am using spy 2.7.1 as client and
Memcached 1.4.10
Membase 1.7.1

I generated a String of 2Million characters (2MB size)

StringBuilder sb = new StringBuilder();
for (int i=0; i<2000000; i++) {
sb.append('a');
}
value = sb.toString();

and I am still able to insert the value into both Membase & Memcached. Membase makes sense since limit is 20MB, but, Memcached??

Top
  • Login or register to post comments
Mon, 12/05/2011 - 16:22
manchambhatla
Offline
Joined: 09/16/2011
Groups: None

Probably spymemcached 2.7.1 compresses data?

Top
  • Login or register to post comments
Tue, 12/06/2011 - 16:50
ingenthr
Offline
Joined: 03/16/2010
Groups:

It does compress, as long as it's not JSON, yes.

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