Category: Java

Migrating Data from MongoDB to Couchbase, Part 2

Prolog The previous article provided details on how to migrate a data set from MongoDB to Couchbase. This article will show you how to use the Couchbase SDK to access the data via a Java console application. Code snippets show...

Announcing Couchbase Server 6.5 Beta – What’s New and Improved

We are pleased to announce the release of Couchbase Server 6.5 beta with stellar features that lead the innovation in the NoSQL database market. We are excited to once again pioneer some of the most sought-after relational capabilities in the...

The Sprouts of “SDK 3”

Software is alive. By that, I am not referring to the part where it can occasionally vex you in how it gets into a certain state. That is probably explainable by a bug somewhere. By alive I am referring to...

Introducing the Couchbase Java SDK 3.0 Alpha

I am super excited to finally write this announcement, because it allows me to put the spotlight on something we’ve been working hard over the last months. In a collective effort across the SDK team, we have started to roll...

/ June 18, 2019

Getting Rid of Sticky Sessions in Java | Couchbase Spring Session

Sticky Sessions refers to the need to redirect the requests of a given user to the same server where his session lives in. It is considered an anti-pattern as in case of a server failure, all users connected to it...

How to Boost Spring Data Performance

Spring Data provides an easy programming model for data access in both relational and non-relational databases. It became very popular among Java/JVM developers because of the small learning curve and low codebase. However, developers frequently run into performance issues while using...

Create a production-grade Java microservice architecture with JHipster and Couchbase

Tayeb Chlyah is a Java lead architect with solid experience on performance large-scale applications, microservices, and NoSQL databases. He has developed a couple of open source Java libraries for Couchbase.   Introduction Every successful developer needs to keep up to date...

licensed under Creative Commons from https://www.flickr.com/photos/vintage_illustration/42877211461 by Rawpixel Ltd

NDP Episode #26: Chris Anderson on ACID and RAFT in FaunaDb

FaunaDb is the focus of the latest episode of The NoSQL Database Podcast. Chris Anderson joins as the special guest to talk about RAFT and ACID in a NoSQL database. The previous episode of the podcast was Nathan Voxland on...

ReactiveX Logo

Exploring RxJava – Wrapping a Listener Callback

In this post, I’ll show how to convert a callback-based listener style API to a reactive one with RxJava 2. Contents Introduction Objective Getting Started Creating a Source Listing: BasicSource.java Listing: UnboundSource.java Converting to an Observable Listing: Observables.java Instantiation and...

How to log queries generated by Spring Data

One of the ways to improve your application performance in Couchbase is to create indexes for common queries. However, when you are working with Spring Data using its standard DSL, the generated query is not very clear, which makes a...