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

Membase Bucket Types non-SASL vs SASL

4 replies [Last post]
  • Login or register to post comments
Fri, 07/01/2011 - 03:52
slath@citywire.co.uk
Offline
Joined: 06/27/2011
Groups: None

Hi, I just had a question about what the main difference between a non-SASL and a SASL bucket is. Is there any performance concern when using one over the other? I basically did not understand from the documentation why the difference bucket types exists?

Top
  • Login or register to post comments
Fri, 07/01/2011 - 09:58
farshid
Offline
Joined: 04/25/2011
Groups:

>>>Is there any performance concern when using one over the other?
no

in general it depends whether you are using memcached with a ascii or binary client and how you can use a dedicated port for non-sasl bucket.

if you use a vbucket aware smart client however you will be directly connecting to memcached port.

copied from : http://www.couchbase.org/wiki/display/membase/Membase+Buckets

Non-SASL Buckets
Non-SASL buckets may be placed on any available port with the exception of port 11211 if the bucket is not named "default". Only one Non-SASL bucket may placed on any individual port. These buckets may be reached with a vBucket aware smart client, an ASCII client or a binary client that doesn't use SASL authentication

SASL Buckets
SASL authenticating Membase buckets may only be placed on port 11211 and each bucket is differentiated by its name and password. SASL bucket may not be placed on any other port beside 11211. These buckets can be reached with either a vBucket aware smart client or a binary client that has SASL support. These buckets cannot be reached with ASCII clients.

Top
  • Login or register to post comments
Fri, 07/01/2011 - 10:10
slath@citywire.co.uk
Offline
Joined: 06/27/2011
Groups: None

Considering that I am using the enyim .net vbucket aware smart client, is there any reason why i would pick a SASL bucket vs a dedicated port non-sasl bucket?

I did read the descriptions above but it was unclear to me which is right for me?

Top
  • Login or register to post comments
Fri, 07/01/2011 - 14:55
steve
Offline
Joined: 03/15/2010
Groups: None

By using dedicated ports per bucket, you would use up more port numbers. That's usually not such a big deal, since most folks don't configure very many buckets (in fact, often just the default bucket). Remember, too, there's then extra port numbers to open up on firewalls or AWS Security Groups, etc.

SASL auth, too, is recommended for that extra security if you aren't in your own security tier (like your own datacenter, where connections from web app servers is trusted and connections from the wide world are disallowed).

Cheers,
Steve

Top
  • Login or register to post comments
Mon, 07/04/2011 - 02:00
slath@citywire.co.uk
Offline
Joined: 06/27/2011
Groups: None

Thanks, understood and that clarified things up nicely.

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