Development of projects on microservices

Development of projects on microservices

The microservice approach is a concept for developing high-load or logically flexible solutions. Each microservice performs a small atomic task and is connected by BPM systems. Microservices can be written in different languages, scaled or refactored independently from other parts of the system.

Microservice approach versus modular one

1

Lots of development

The more development, the more relevant the issues of regression and custom functionality management are. BPMS and the ability to develop using TDD make the delivery time of values minimal.

2

Algorithm visibility for business

Business analysts can create or change algorithms with complex events (timers, exceptions, decision tables) on their own, without the help of developers.

3

High-load project

Unlike modular ones, a microservice solution can be scaled atomically up to specific microservices.

Microservice architecture versus modular architecture

Modular systems with rich functionality complicate the process of scaling and making changes. Sometimes it is extremely difficult to cover functionality with tests.
The main advantages of microservices are:
- scale quickly;
- 100% TDD is possible;
- transparent for business analysts;
- refactoring is not a problem.

Key features of microservices

1

Microservices have clear inputs and outputs

Each microservice is considered as an autonomous element from which a large process organism is assembled. This makes the microservice reusable and highly debuggable.

2

Simplified reading of event logs

When using BPMS, business sees how the code works using beautiful and understandable diagrams. From the point of view of logging, all logs are brought to a single format, and the analysis of causal relationships becomes as simple and comprehensive as possible for the entire business process.

3

Variations in the use of programming languages

Each microservice is a stand-alone piece of code. Sometimes you need to combine different stacks (when refactoring, for acceleration), and this is not a problem in the microservice approach.

4

Integration with the BPM system

With the integration of BPM systems (like Camunda or JBPM), it is more convenient to manage and control their work — business processes are executed exactly as they are drawn in the BPMN 2.0 diagrams. Algorithms are becoming self-documenting and transparent for business.

5

The possibility of using TDD

It can be difficult to use TDD in modular systems due to the large complexity of the functionality. As a result, the vast majority of modular development is without TDD. Microservices can provide regression resistance even in very complex development.

6

Easy to scale

At the cluster level, you can scale exactly the microservice that needs it, rather than all components, which is typical for modular systems.

Industry solutions — global experience

The customer

Amazon is an American company and the world's largest e-commerce platform.

Solution

Microservice architecture makes it easy to scale

When Amazon was on a monolithic server, it was difficult to cope with high site loads, especially at the peak of sales. As a result, Amazon was losing revenue, and much of the server's power was lost during downtime. The transition to Amazon Web Services (AWS) allowed Amazon to scale up or down as needed, reduce the number and duration of outages, and save money. Thanks to its microservice architecture, Amazon has moved to continuous deployment, and now Amazon engineers implement code every 11.7 seconds.

The customer

Netflix is an American entertainment company that provides services for watching movies and TV shows online.

Solution

Cloud microservices to stream billions of hours of content without interruption

Operating on a monolithic architecture, Netflix had to deal with rapid growth and constant failures when servers failed under high loads. In 2009, to meet the growing demand, Netflix began migrating its monolithic architecture to a cloud-based microservices architecture. Thanks to the move to microservices, Netflix engineers use code thousands of times a day. Today, Netflix serves 93.8 million users worldwide, streaming more than ten billion hours of movies and shows without interruption.

KT.Team cases

Watch all

Watch all

youtube

We tell you
about microservice architecture on YouTube-
channel

Watch all

Pricing

Projects are assessed individually, so that there are no typical tasks for our clients

72 €

per hour

Learn more

We use cookies to provide the best site experience

Ok
Visit our bot for prompt advice and useful information