August 2015 Summaries
2 posts from Couchbase
Filter
Month:
Year:
Post Summaries
Back to Blog
Version 2.1.4 of the Couchbase .NET SDK has been released, primarily focusing on bug fixes and minor improvements, with plans for version 2.2.0 to offer full support for Multi-Dimensional Scaling (MDS) and N1QL, along with enhanced durability. This release provides beta support for N1QL and partial support for MDS, which requires a single Couchbase Server 4.0 Beta instance with Data, Indexing, and Query services configured. Notable bug fixes address issues such as connection leaks, N1QL query errors, and high latency on asynchronous operations, while improvements include feature testing for large data appends and unit test refactoring. The SDK is accessible for download via NuGet or GitHub.
Aug 11, 2015
318 words in the original blog post.
I helped a user move data from CouchDB to Couchbase by using the REST API to retrieve documents and then parsing each line of the response. I used Java 8's stream API and RxJava to create an observable that emits CouchDB documents, which I then sent to Couchbase using a flatMap operator to parse each document into a RawJsonDocument. The import process involved handling special cases for the first and last lines of the response, as well as logging errors and counting successful imports. The code used retries with exponential backoff and logging mechanisms to handle potential failures during the import process.
Aug 06, 2015
790 words in the original blog post.