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

Accessing Local Couchbase without TCP connection?

5 replies [Last post]
  • Login or register to post comments
Mon, 07/09/2012 - 21:28
sjpark9
Offline
Joined: 03/01/2012
Groups: None

If I have a Couchbase server on local without clustering,

is it possible to acccess to it straightaway from the application without making tcpip connection to the listening socket?

Top
  • Login or register to post comments
Mon, 07/16/2012 - 15:39
katana
Offline
Joined: 05/09/2012
Groups: None

not fully understanding your question. are you able to provide an example to clarify the question please.

but regardless of whether your Couchbase is a 1 node setup or multiple node setup, the client will connect using REST protocol to talk to the server. That higher layer protocol(REST) is on top of the traditional TCPIP networking layer. Even if you are going to connect on the loopback IP(i.e. localhost or 127.0.0.1), you'll still go thru TCPIP. But the actual data packets may never be put on the network cable - if that's what you are concerned about.

Top
  • Login or register to post comments
Mon, 07/16/2012 - 18:35
ingenthr
Offline
Joined: 03/16/2010
Groups:

And just to be clear, there's a combination of REST for the cluster configuration, and memcached binary protocol over a separate TCP port for data access.

Top
  • Login or register to post comments
Tue, 07/17/2012 - 17:26
sjpark9
Offline
Joined: 03/01/2012
Groups: None

I was wondering if there are any way to use couchbase (in local) without TCP connections..

So the application could access the memory area directly

Top
  • Login or register to post comments
Wed, 07/18/2012 - 00:48
ingenthr
Offline
Joined: 03/16/2010
Groups:

No, there is no shared memory based interface or anything like UNIX domain sockets. TCP sockets are the only supported interface.

This interface, however, definitely gives us tens or hundreds of thousands of operations/second on commodity hardware at latencies in tens of microseconds. Is this sufficient for you? Most TCP stacks optimize out a lot of the overhead when the client and server are on the same system.

Top
  • Login or register to post comments
Thu, 11/29/2012 - 12:20
snoopy
Offline
Joined: 11/29/2012
Groups: None

Can I setup a couchbase local cluster so that I can write Junits against it?

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