Home » Tag Archives: Couchbase

Tag Archives: Couchbase

Couchbase Cluster on Mesos with DC/OS

nosql-logo

Apache Mesos is an open source cluster manager developed at UC Berkeley. It provides resource isolation and sharing across distributed applications. Mesos consists of a master daemon that manages slave daemons running on each cluster node.Mesos frameworks are applications that runs on Mesos and run tasks on these slaves. Marathon is a container orchestration platform running on Mesos.Multiple container formats are supported ...

Read More »

Persisting Couchbase Data Across Container Restarts

couchbase-logo

Best Practices for Virtualized Platforms provide best practices for running Couchbase on a virtualized platform like Amazon Web Services and Azure. In addition, it also provide some recommendations for running it as Docker container. One of the recommendations is to map Couchbase node specific data to a local folder. Let’s understand that in more detail. Implicit Per-Container Storage If a Couchbase container is ...

Read More »

Kubernetes Cluster on Azure and Expose Couchbase Service

couchbase-logo

This blog is part of a multi-part blog series that shows how to run your applications on Kubernetes. It will use the Couchbase, an open source NoSQL distributed document database, as the  Docker container. Part 1 explained how to start Kubernetes cluster using Vagrant – Kubernetes on Vagrant Part 2 did the same for Amazon Web Services – Kubernetes on Amazon Web Services Part 3 did the same for ...

Read More »

Couchbase XDCR using Docker Swarm, Machine and Compose

docker-logo

Cross Datacenter Replication (XDCR) in Couchbase provides an easy way to replicate data from one cluster to another. The clusters are typically set in geographically diverse data centers. This enables for disaster recovery or to bring data closer to users for faster data access. This blog will show: Setup two data centers using Docker Swarm Run Couchbase containers on each node of Docker Swarm ...

Read More »

Scaling and Rebalancing a Couchbase Cluster using CLI

couchbase-logo

Couchbase provides high availability and disaster recovery in several ways: Homogenous cluster Replication Intra-cluster replication Cross-data center replication (XDCR) Backup and restore Rack zone awareness This blog will show how to create a Couchbase cluster using Couchbase Command Line Interface (CLI). In addition, these steps can also be performed using the Couchbase REST API and the Couchbase Web Console. Couchbase nodes in ...

Read More »

Couchbase Cluster on Docker Swarm using Docker Compose and Docker Machine

docker-logo

This blog post will explain how to create and scale a Couchbase Cluster using full armor of Docker – Docker Machine, Docker Swarm and Docker Compose. Here is what we’ll do: Create a 3-node Docker Swarm Cluster using Docker Machine Run a Couchbase instance on two nodes Create a cluster Rebalance the cluster Scale and rebalance the cluster again Docker Swarm Cluster ...

Read More »

Couchbase on Kubernetes

kubernetes-logo

This blog is possible because of this tweet! Had a great #Couchbase #Kubernetes hacking session with @saturnism, learned a lot, look forward to some nice blogs. — Arun Gupta (@arungupta) February 27, 2016 Kubernetes is an open source orchestration system by Google for Docker containers.  It manages containerized applications across multiple hosts and provides basic mechanisms for deployment, maintenance, and scaling of applications. It allows the ...

Read More »

Couchbase Docker Container

couchbase-logo

Couchbase Docker images are always at hub.docker.com/_/couchbase/. Complete instructions to run Couchbase Docker Container are available at docs.docker.com/engine/examples/couchbase/. Start Couchbase Docker Container How do you start a Couchbase Docker container? docker run -d -p 8091-8093:8091-8093 -p 11210:11210 couchbase By default, this command starts Couchbase Server 4.1 Enterprise Edition. The latest GA images are always available using this image name. This server needs to be manually ...

Read More »

Query JSON using SQL with Couchbase Query Workbench

couchbase-logo

You’d like to query JSON document database using SQL-like syntax? Couchbase has N1QL for you. N1QL is a declarative query language that extends SQL for JSON. You can query data via native framework and language integration, a fluent API, or the JDBC/ODBC drivers. N1QL enables you to query JSON documents without any limitations – sort, filter, transform, group, and combine ...

Read More »

Docker Machine, Swarm and Compose for multi-container and multi-host applications with Couchbase and WildFly

docker-logo

This blog will explain how to create multi-container application deployed on multiple hosts using Docker. This will be achieved using Docker Machine, Swarm and Compose. Yes, all three tools together makes this blog that much more interesting!               The diagram explains the key components: Docker Machine is used to provision multiple Docker hosts Docker Swarm will be used to create a ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns