GraphQL — GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data.

This is what the standard definition of GraphQL is. I am going to break down the concept of GraphQL with a more hands on approach as described below.

In this blog, I am going to talk about:

  1. What exactly is GraphQL?
  2. Why do we need GraphQL and what are the advantages of using GraphQL.
  3. Setup the Java Spring Boot Micro Service on your local using Spring Initializr.
  4. Write a simple GraphQL Spring Boot application in Java.
  5. Build a GraphQL request…

Spring Boot + DynmoDB is a good combination depending on the use case, with one being the de facto framework for Java and the other being the Next Gen NoSQL database in the AWS world.

In this article, I am going to talk about:

  1. Addressing Prerequisites — Setup your AWS Account, CLI on your Terminal.
  2. Create a DynamoDB Table on AWS Console and add a sample value.
  3. Setup the Java Spring Boot Micro Service on your local using Spring Initializr.
  4. Integrate the DynamoDB code into your Java Application using AWS SDK and successfully read the sample value.

1. Addressing Prerequisites…


Breaking your System Infrastructure on purpose — Really? Why would anybody do that?

This might be the first question that might have popped in your mind. But, that is what we are trying to achieve here.

In this article, I am going to talk about:

  1. What is Chaos Engineering and the importance of it.
  2. Addressing Prerequisites — Setup your AWS Account, CLI on your Terminal, Setup Infra (Create Auto Scaling Group (ASG) and attach 3 EC2 Instances)
  3. Setting up our first Chaos Experiment — Determine the steady state hypothesis and Delete an random EC2 Instance using AWS CLI
  4. Chaos Experiment…

AutoScaling — In this world of Cloud era, one might have heard this word frequently and this is one of the key components of our Architecture where we want our Infrastructure to Autoscale Up and Down based on the traffic.

In this article, I am going to talk about …

  1. Explain the definitions of Vertical and Horizontal AutoScaling.
  2. The memory and CPU allocations for EC2 instances.
  3. Right size the docker container and determine the criteria for Autoscaling.
  4. Autoscale up and down virtually and Calculate the Formula.

1. Explain the definitions of Vertical and Horizontal AutoScaling.

Explaining the Infrastructure Setup:

At…


HTTPS — Well, we all know that https stands for Hyper Text Transfer Protocol Secure.It is the de-facto standard protocol to load and serve all the Applications out there.

It is used as a secure way of communication over the network between systems. HTTPS adds an extra layer of security using TLS. I will not digging over the 7 layer TCP/IP models in this article, but rather focus on how to build your Application on HTTPS.

What will I be talking in this article:

Step 1: Create a simple Spring Boot Application using Spring Initializr

Step 2: Build a sample…


Are you considering of hosting your dynamic UI Web Application on AWS in the most inexpensive and efficient manner?

And, did you say EC2 Instances?

If the answer to the above questions are YES, then read on …..

Well, let’s face it. EC2 instances are expensive and usually dent a hole in your wallet.

I am not against EC2 instances. I love the way the Servers spin up rapidly with the desired configuration and load up in minutes. With the support of ELBs and ASGs, I also like the way they Autoscale and balance out the traffic.

The above approach…


Yes, you read that right. I want to talk about the combination of Canary in conjunction with Blue-Green.

Usually, we see deployments either in Canary or in Blue-Green. Here, in this article, I would like to take out some time and talk about the prospects and possibilities of Blue-Green with Canary Deployment. I will be explaining this article using AWS terminology.

Terminology used:

a. Docker — A containerized platform to build images and run the code as containers

b. AWS Cluster — A Logical grouping of AWS Services deployed on EC2 Instances

c. AWS Services — Tasks which are responsible…


SSE — An interesting architecture that has been making rounds for quite some time.

So, what is SSE?

In layman terms, SSE is a Server Sent Event where the UI first initiates the call and requests for data, then the Server sends back the data to the caller (UI) when the data is available.

When an HTTP connection is made from the UI, the server holds the connection and responds back with the data when and ever it gets an event/data from the downstream APIs/sources.

Unlike a normal HTTP call where the Server sends back the response immediately and close…

Teja Swaroop Mylavarapu

Senior Software Engineer at Capital One

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store