Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | SDKs | SDKs

erlang client for couchbase

4 replies [Last post]
  • Login or register to post comments
Fri, 01/27/2012 - 11:25
bentobox
Offline
Joined: 01/23/2012
Groups: None

Is there a erlang client to connect to a password protected data bucket on the default port?

So far I tried memcached-client and I was only able to connect to different buckets on different ports but not to different buckets on the default port with the bucket/password combination.

Thanks, Rene

Top
  • Login or register to post comments
Mon, 01/30/2012 - 05:11
jan
Offline
Joined: 02/15/2011
Groups: None

Hey Rene,

we currently do not have an Erlang client for Couchbase, I'm afraid. All you need on top of a memcached client though is a few HTTP calls to know about the cluster topology and to configure the memcached clients accordingly.

Cheers
Jan
--

Top
  • Login or register to post comments
Tue, 01/31/2012 - 06:34
bentobox
Offline
Joined: 01/23/2012
Groups: None

Hi Jan,

thank you for your feedback, I think that's just the way it is.

At least I'm able to connect to different buckets through different ports with the erlang memcached-client. However, for me it is not completely clear what the advantages/disadvantages are, using the default port versus using a dedicated port.

Best,
Rene

Top
  • Login or register to post comments
Tue, 01/31/2012 - 10:11
jan
Offline
Joined: 02/15/2011
Groups: None

Hi Rene,

the idea is that the REST API can tell you about the state of the cluster, so the client can determine what buckets on what nodes to connect to in any given situation. A node might fail and you might failover to another node, or you rebalance some stuff and remove a node because you need less space. In either event, the client can be made a ware of any changes via the REST API's results. It'll tell the client which ip addresses and ports to connect to and the client doesn't have to stab in the dark as to which nodes are available and which are not.

Hope this helps :)

Cheers
Jan
--

Top
  • Login or register to post comments
Wed, 02/01/2012 - 12:09
bentobox
Offline
Joined: 01/23/2012
Groups: None

Hi Jan,

yes, that helps, thank you. I just realised that I have to read through the whole manual to understand couchbase altogether. Up to now I just do some small programs with one node.

Best,
Rene

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