Containers and Developer Experience – 2

In the previous blog i shared how Jib, an open source tool maintained by Google accelerates the development of docker images for java based application.But if you are doing deployment in a Kubernetes environment then you should try Skaffold, another open source container tool from google which simplifies common operational tasks that you perform when … Continue reading Containers and Developer Experience – 2

Containers and Developer Experience

Packaging and shipping software as containers has numerous benefits, but doing it without the right tools and techniques leads to poor developer experience.Some of the challenges that i faced are: Local Installation of Docker : Getting Docker installed with root account or account with root privileges has been a challenge due to organizations security policies and this had … Continue reading Containers and Developer Experience

Java microservices with GraalVM

Microservice is a trending and popular architecture to build applications as it allows organizations to be agile and adopt DevOps and continuous testing practices.Spring Boot is a very popular technology choice to build java based microservices, but it consumes a good amount of memory and spring's runtime reflection approach leads to longer startup times as … Continue reading Java microservices with GraalVM

What is JWT and why do we need it in a microservices based application?

JWT (JSON Web Token) is a very popular way to do user authorization in microservices. It is a standard which is used to create access tokens for an application and enables secure communication between between two parties.The Industry standard specification RFC7519 outlines how information in JWT should be structured.It is widely used in microservices based … Continue reading What is JWT and why do we need it in a microservices based application?

Execute multi-container applications (Spring boot & PostgreSQL)

Use Case Run a dockerized spring boot application which has dependency on PostgreSQL docker containerInitialize the database with data while its getting createdMount an external volume so that the data does not get lost when container exits Solution:Step 1: Build a micro service using spring boot to be containerizedClone the following spring boot implementation example … Continue reading Execute multi-container applications (Spring boot & PostgreSQL)

Chaos Engineering & Chaos Monkey for Spring Boot Applications

Chaos Engineering is the discipline of experimenting on a system in order to build confidence in the system’s capability to withstand turbulent conditions in production. As we build more and more distributed systems by leveraging microservices and cloud platforms, we create a lot of moving parts and potential points of failure which makes these systems … Continue reading Chaos Engineering & Chaos Monkey for Spring Boot Applications

Service virtualization with spring boot microservices

Service Virtualization mimics or simulates behaviors of components that are unavailable or difficult to access while testingMicroservices applications are generally composed of multiple services. During the testing phase when the dependent services are not available, service virtualization technique allows to mimic the unavailable service and continue the tests even when the actual service is unavailable.During … Continue reading Service virtualization with spring boot microservices

Spring Boot Toggle Feature using Togglz

Feature toggle is a design pattern used to hide, enable or disable a feature during runtime. For example, during the deployment, a developer can disable the feature in the code which is released to production and enable it later in the next iterations when its 100% ready or enable the feature for testing to limited … Continue reading Spring Boot Toggle Feature using Togglz

Protocol Buffers & A Spring Boot Example

Protocol buffers is a method of serializing data , like XML and JSON.The format is created by google as its language-neutral, platform-neutral, extensible mechanism for serializing structured data to transmit it over the wire or to store itProtocol Buffers, which is sometimes referred as Protobuf is not only a message format but also a set of … Continue reading Protocol Buffers & A Spring Boot Example

Lifecycle of a request and response process for a SPRING REST API

Developing a REST API using Spring Boot framework accelerates the development process, and allows API developer to only focus on writing the core business logic. However understanding the end to end  a request life cycle will help the developers to understand the overall process and behind the scene activities done by Spring, to debug and … Continue reading Lifecycle of a request and response process for a SPRING REST API