This article will demonstrate the configuration steps to implement multiple tomcat servers with Nginx load balancer.

Nginx Load Balancer

Setup Multiple Tomcat Instances.

  1. Download tomcat and extract it to make two folders called instance-01 and instance-02 as shown in following figure.

Hidden Markov models (HMMs) are stochastic models which were originally introduced in statistics literature in 1957 and studied in the late 1960s and early 1970s . The HMMs can be seen as the general statistical modeling in sequence or time series. …


The speed of the spread of Covid-19 is in increasing rate during last three weeks and became higher in last week all over the world.

Italy is in the highest risk whereas Luxembourg , USA and Iran have to be more careful in next few days.

Ecuador and…

This article has been written with the intention of stimulating the researchers who have potential to make contribution to normalize the prevailing COVID-19 outbreak in the dimension of Data Science. All the experimental results of this study based on a kaggle data set which is available in this link.


Here, we are going to discuss a procedure to represent a bar chart where each bar represent its’ categorical representation as well.

Refer following code block,

import numpy as np
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches

x_ticks = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
graph_one = [10000, 10000…

In this article we are focusing on graphical representation of subplots with matplotlib library in python.

Data set Preparation

Three lists containing integers and floating point numbers are initialized as the data sets for graphs. …

This article is all about setting up postman configuration for Authentication token as global variable across all api end points.

Create a Environment in Postman

1.Manage Environment

Run postman and go to the manage environment setting tab as shown in following image.

Please refer red color rectangle box.

2. Create New Environment

Then click on…

Most of the beginners are struggling to understand exception and the proper ways of handling them. The main intention of this small article is to give some insight on exception handling with some of coding examples.

What is an Exception ?

  1. An Exception is an abnormal condition that arises in a code sequence.
  2. In other…

In this article we are going to discuss two important concepts of object oriented programming which used to achieve Polymorphism in java.


Polymorphism refers to the ability to appear in many forms. …

In this article we are going to summaries some identifiable key points on Abstract classes and Interfaces in java.

Abstract Class

  1. Abstract class is a class that contains zero or more (often one or more) abstract methods.
  2. An abstract class cannot instantiated but abstract classes can have constructors.
  3. Another class…

Iroshan Aberathne

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