Home » Author Archives: Arun Gupta

Author Archives: Arun Gupta

Arun is a technology enthusiast, avid runner, author of a best-selling book, globe trotter, a community guy, Java Champion, JavaOne Rockstar, JUG Leader, Minecraft Modder, Devoxx4Kids-er, and a Red Hatter.

Service Discovery with Java and Database application in Kubernetes

This blog will show how a simple Java application can talk to a database using service discovery in Kubernetes. Service Discovery with Java and Database application in DC/OS explains why service discovery is an important aspect for a multi-container application. That blog also explained how this can be done for DC/OS. Let’s see how this can be accomplished in Kubernetes with a single ...

Read More »

Service Discovery with Java and Database application in DC/OS

java-interview-questions-answers

This blog will show how a simple Java application can talk to a database using service discovery in DC/OS. Why Service Discovery? An application typically consist of multiple components such as an application server, a database, a web server, caching and messaging server. Typically, multiple replicas of each component would run based upon the needs of your application. Deploying this application using a container orchestration framework means that each replica would run as ...

Read More »

Stateful Containers using Portworx and Couchbase

Containers are meant to be ephemeral and so scale pretty well for stateless applications. Stateful containers, such as Couchbase, need to be treated differently. Managing Persistence for Docker Containers provide a great overview of how to manage persistence for stateful containers. This blog will explain how to use Docker Volume Plugins and Portworx to create a stateful container. Why Portworx? Portworx is an easy-to-deploy ...

Read More »

Getting Started with Oracle Container Cloud Service

Oracle Container Cloud Service is Oracle’s entry into the the world of managed container service. There are plenty of existing options: Docker for AWS or Azure Amazon Elastic Container Service Google Container Engine Azure Container Service DC/OS by Mesosphere OpenShift by Red Hat This blog will explain how to get started with Oracle Container Cloud Service. A comparison of different managed services is ...

Read More »

Microservice using Docker stack deploy – WildFly, Java EE and Couchbase

There is plenty of material on microservices, just google it! I gave a presentation on refactoring monolith to microservices at Devoxx Belgium a couple of years back and it has good reviews: This blog will show how Docker simplifies creation and shutting down of a microservice. All code used in this blog is at github.com/arun-gupta/couchbase-javaee. Microservice Definition using Compose Docker 1.13 introduced a v3 of Docker ...

Read More »

Analyze Donald Trump Tweets with Couchbase and N1QL

AWS Serverless Lambda Scheduled Events to Store Tweets in Couchbase explained how to store tweets in Couchbase using AWS Serverless Lambda. Now, this Lambda Function has been running for a few days and has collected 269 tweets from @realDonaldTrump. This blog , inspired by SQL on Twitter: Analysis Made Easy Using N1QL, will show how these tweets can be analyzed using N1QL.   ...

Read More »

Docker 1.13 Management Commands

Docker 1.13 was released yesterday, congratulations! A quick summary of the key features: Compose file to deploy Swarm mode services Improved CLI backwards compatibility Clean-up commands CLI restructured Monitoring and Build improvements Learn more details about these features in this video [email protected]:     Getting Started with Docker 1.13 Use Docker for Mac or Windows to get started. Once installed, the version ...

Read More »

Deploy Docker Compose Services to Swarm

Docker 1.13 introduced a new version of Docker Compose. The main feature of this release is that it allow services defined using Docker Compose files to be directly deployed to Docker Engine enabled with Swarm mode. This enables simplified deployment of multi-container application on multi-host.               This blog will show use a simple Docker Compose file ...

Read More »

AWS Serverless Lambda Scheduled Events to Store Tweets in Couchbase

This blog has explained a few Serverless concepts with code samples: Serverless FaaS with AWS Lambda and Java AWS IoT Button, Lambda and Couchbase Microservice using AWS API Gateway, AWS Lambda and Couchbase Microservice using AWS Serverless Application Model and Couchbase This particular blog entry will show how to use AWS Lambda to store tweets of a tweeter in Couchbase. Here are the high level ...

Read More »

Starting a Kubernetes 1.5.x cluster

Kubernetes 1.5.0 was released just about a month ago! Key theme for the release are: StatefulSets (ex-PetSets) StatefulSets are beta now (fixes and stabilization) Improved Federation Support New command: kubefed DaemonSets Deployments ConfigMaps Simplified Cluster Deployment Improvements to kubeadm HA Setup for Master Node Robustness and Extensibility Windows Server Container support CRI for pluggable container runtimes kubelet API supports authentication and authorization ...

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