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

How many connections Membase can suffer

6 replies [Last post]
  • Login or register to post comments
Wed, 01/05/2011 - 07:34
willh
Offline
Joined: 08/12/2010
Groups: None

Hi,


I was trying Membase 1.6.4.1 on my production server this afternoon.  There are almost reach 4,000 connections at peak load in this afternoon.  At the peak load, the operations per second is about 650.  I'm not sure how many connections that Membase/Memcached can suffer.  Please check the following screenshot:



Is the number of connections normal?  Do I need to configure socketPool settings on my ASP.NET website for my membase usage?


In my website, the peak load within a month may increase about 4-times loading then this afternoon.  Does membase ok for this kind of load?

Top
  • Login or register to post comments
Wed, 01/05/2011 - 07:35
willh
Offline
Joined: 08/12/2010
Groups: None

Here is the screenshot image link:


http://img210.imageshack.us/img210/2228/20110105101812.png

Top
  • Login or register to post comments
Wed, 01/05/2011 - 12:11
Attila Kisko
Offline
Joined: 04/22/2010
Groups: None

 which version of the client are you using?

can you please try limiting the max connections? 2.10 and below has a default whihc may not suit your site. let me know if this makes  a difference:

<socketPool maxPoolSize="20" />

also, can you give a test to the latest beta version? it has more sane defaults and some optimizations inside.

Top
  • Login or register to post comments
Wed, 01/05/2011 - 21:02
willh
Offline
Joined: 08/12/2010
Groups: None

Hi Attila,


I was using the latest commit from github.  I was clone the latest source code and rebuild it, then deploy to my production site. 


Here is the commit that I clone:


commit abfb1183fc20a514471ae268ec4b0b27165d59fe
Author: Attila Kisk<C3><B3> <a@enyim.com>
Date:   Wed Dec 29 20:53:39 2010 +0100


    Authentication cleanup.


 


 

Top
  • Login or register to post comments
Wed, 01/05/2011 - 21:05
willh
Offline
Joined: 08/12/2010
Groups: None

By the way, I'm using both the latest version of memcached-providers and EnyimMemcached.

Top
  • Login or register to post comments
Thu, 01/06/2011 - 06:49
Attila Kisko
Offline
Joined: 04/22/2010
Groups: None

 can you check with netstat if the 4k connections were all originated from the asp.net worker processes (so the client is bugged) or it's coming from membase internal communication?

(netstat -b gives you process info if membase is running on the same server as the app; otherwise you can filter the results by source ip)

Top
  • Login or register to post comments
Sun, 01/16/2011 - 03:14
willh
Offline
Joined: 08/12/2010
Groups: None

At this time, I have 600 connections shown in the bucket Monitor.  Here is the numbers I gathered.


1.memcached.exe has 447 ESTABLISHED connections.


2. moxi.exe has 41 ESTABLISHED connections.


3. vbucketmigrator.exe has 6 ESTABLISHED connections.


4. w3wp.exe has 380 ESTABLISHED connections that connection to all nodes.  There are 190 ESTABLISHED connections to node 1 and 190 ESTABLISHED connections to node 2.


5. I have 300 HTTP (port 80) connections.


Are these data normal?


By the way, do you have any performance test whitepaper of Membase Server?

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