REST API for getting data
Hi, I am researching the possibility of using CouchBase for a project. If our payloads are exclusively JSON documents, it would be nice if we have direct access to CouchDB's HTTP document APIs to get to the data. From the CouchBase document, it seems to indicate that data operations should be done via the memcached binary protocol just like Membase. Is there a way to use REST APIs akin to CouchDB's to access the documents in CouchBase?
At the moment there is not, Couchbase Server 2.0 uses the memcached protocol for accessing data. We chose this for easy compatibility with our existing Membase users and also for the much higher performance that it can provide over the HTTP protocol.
If performance and scalability are not very much concern to you right now, I would recommend using the Couchbase "Single" product which exclusively uses the CouchDB HTTP interface.
The plan is to support the full HTTP protocol (as well as the memcached one) with our 3.0 product.