couchbase

Lagom Persistence API with Couchbase

In this blog, I will talk about using Couchbase with Lagom’s Persistent Entity API. And then we will see how we can query for fetching the data. We already know that Lagom handles data persistence with ‘Persistent Entity’ which holds the state of individual entities. And to interact with them one must know the identifier of the entity. So Lagom provides the support to build Continue Reading

Couchbase – Lets Get Started

In this blog, we will learn about the basics of Couchbase and some facts that a developer should know about Couchbase. What is Couchbase? Couchbase is a NoSQL database having the following features – Distributed:- Couchbase is distributed in nature, data can be distributed in form of multiple copies at different data center. Document-Oriented:- It stores keys and values as JSON documents. Flexible Data Model:- Continue Reading

Scala, Couchbase, Spark and Akka-http: A combinatory tutorial for starters

Couchbase and Apache Spark are best so far , for the in-memory computation. I am using akka-http because its new in the business. If you are not a big fan of akka-http and don’t think it is yet ready for production then you can take a look on this blog, which displays how to do the same task using Spray. If you are new to all Continue Reading

Using Spark , Spray and Couchbase for lightening fast REST Api’s

As we all know Apache Spark™ is a fast and general engine for large-scale data processing, and Couchbase is in-memory no-sql database. So by connecting these two we can get a lightening fast speed. In this blog we are focusing on how to make CRUD operations on couchbase with Spark’s speed. I am assuming that you have a basic Spark’s installation and couchbase installation on Continue Reading

Implementing full text search with Couchbase and harnessing the power of Couchbase full text search (CBFT)

Hey Folks.! In this blog we are going to be introduced to the Couchbase Full text search. In my recent blog ,we talked about how we can user ElasticSearch for the full text search and how we can connect it with Couchbase so that our data gets copied in real time and we can search on it too. But what if we do not want Continue Reading

Couchbase : Making views via script file automatially without using GUI.

The problem that we faced is that we have to make views manually from the GUI of the couchbase, but it was quite a cumbersome task, so this blog is about how to make views automatically. In this blog we’ll learn how to create a script of curl commands and just run that script for making views and the  views  will automatically get created on Continue Reading

Couchbase : How to access and change the document of size more than 2.5Kb.

We faced a situation were we have to firstly see the data and then change it accordingly in couchbase, but the GUI of couchbase doesn’t allows us to see the data of size more than 2.5kb and forget about changing, So there is a quick hack of how you can actually change the data without using the GUI and just by making a curl request: Continue Reading

Couchbase: Quering data bucket with Partial id.

Introduction: In this article I am going to explain how to get documents from data bucket, if you only have partial Id, in other words using LIKE operation of Sql in couchbase by using Views of Couchbase. For Example: I have these four documents in my bucket, and I want to get all the documents having starting “abc”, then it must retrieve all the three Continue Reading

Easiest Way to connect with Couchbase using Scala

In this blog, we have explained how easily we can connect with Couchbase, store and fetch data  using scala through an example. Tools and technologies used : SBT 0.13.8 Scala 2.11.6 Couchbase Server 4.0 Beta Eclipse JDK 1.7 Please follow below instructions to use this example:- 1) Install and configure Couchbase a) Download the couchbase server from here. b)  If you are using ubuntu, then Install the Continue Reading

Knoldus Pune Careers - Hiring Freshers

Get a head start on your career at Knoldus. Join us!