Microservices part-2

Challenges facing with microservices

Automating the components 

Debugging

Configuration management

Different types of test for microservices

Unit testing

Acceptance test

Performance testing

Microservices vs Application interfere system

Microservices are an architectural style for web applications, where the functionality is divided up across small web services, APIs are the frameworks through which developers can interact with a web application

Design patterns for microservices 

It is divided into five patterns

Decomposition patterns

Decomposition of the application according to 

Subdomains of application

Business capability

Integration patterns

API gateway

Database patterns

Database per service

CQRS(Command Query Responsibility Segregation)

Images

Observability patterns

Performance matrix

Health check

Cross-cutting concern patterns

Circuit breaker 

Principles behind microservices

Independent&autononomous service

Scalability

Availability

De centralization

Isolation from failure

Companies using microservices

Amazon

Amazon’s “service-oriented architecture” was largely the beginning of what we now call microservices

Google

Google built systems that share many characteristics with microservices

Netflix

The microservices architecture allowed Netflix to greatly speed up development and deployment of its platform and services

How do microservices communicate?

Generally, microservices communicate using HTTP (hypertext transfer protocol)