REST APIs are used to access and manipulate data using a common set of stateless operations. Let’s make them robust

Male coding at desk

Application programming interfaces (APIs) are everywhere. Most modern web applications expose APIs that clients can use to interact with the application.

They enable software to communicate with other pieces of software — internal or external — consistently, which is a key ingredient in scalability, not to mention reusability.

Like any…

Discovery server, API gateway ZUUL, ribbon, inter-services communication and docker

Microservices is an architectural design for building a distributed application using containers. Microservices get their name because each function of the application operates as an independent service. This architecture allows for each service to scale or update without disrupting other services in the application.

In this article, I will explain…

Docker is a tool designed to make it easier to create, deploy, and run applications by using containers.

Today we will cover bellow things

  1. The importance of docker
  2. Overview on docker
  3. Dockerizing spring app with detailed explanations
  4. Docker various operations eg: Image creation and deletion, container creation and deletion and so more
  5. Monitor Docker images using command line and docker desktop apps
  6. Advance part: Automotion of docker task…

The purpose of a lock is to ensure that among several application nodes that might try to do the same piece of work, only one actually does it (at least only one at a time).

In current days I worked on Redis lock-in distributed system. In distributed system Locking/concurrency management is a very important thing. Without prior knowledge, many unwanted problems may occur.

What we will learn here

  1. Create a simple wallet backend with buggy architecture and code
  2. Create the Race condition and identify the problem
  3. Solve the problem using…

Making faster responses and decreasing dependency on expensive DB query.

More often during API design, each API may server respond after querying data from a database or from external API calling. Sometimes there are some tables those data are not frequently changed, which means those tables are not transactional.

Database query or external API calls are very much expensive. In…

The remote worker must follow these practices

From the beginning of the year 2020, more people than ever before began working from home, and quite suddenly. Organizations and individuals didn’t get enough time to prepare for remote work or think about the best ways to smooth transition teams, processes, and culture to an online-only environment.

Working from…

Every developer should know these commands.

A database may contain one or more tables, functions, and it has a unique name. Each table is also identified by a name (e.g., “User,” “Product,” “Order”). Each table contains table relevant records with data.

SQL stands for Structured Query Language. The query language is one kind of programming language…

Handle large traffic, improved application performance, and responsiveness

During an API call from a client, the server creates and assigns a thread of that request. This thread waits and is appointed until requests are served to that client.
Each server can open a limited number of threads, and if that number exceeds, then new clients request will store in…

Abstraction, Encapsulation, Inheritance, Polymorphism

OOP stands for Object-Oriented Programming.

OOP allows you to break down your software components into small-sized/bite-sized problems that you can solve — one object at a time.

DRY principles (Don’t Repeat Yourself) concerned about the repetition of code. You should extract typical behaviour of your code from your application and…

Md Sajedul Karim

Back-end developer, Spring, JAVA, Distributed system, AWS, Google Cloud, Docker, CD/CI, Kubernetes, databases.

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