Gökhan Gökalp
Software Architect, Blog writer. If you free your mind, you free your code.
Gökhan GÖKALP
Software Architect
http://www.gokhan-gokalp.com
E-mail: gok.gokalp@yahoo.com
LinkedIn: in/gokgokalp
Twitter: @gokgokalp
GitHub: gokgokalp
Of course,
there are a lot of benefits of microservice architecture.
Generally,
we assume the system will be more elasticity while designing it.
But,
we are increasing fragility as distributed.
If we are not careful:
just like dominoes
Like fusebox in our house.
Cascading failures
Applications communicate with each other continuously:
We can avoid:
Some tools:
In most cases, the failed operations can be performed successfully in the 2nd or 3rd retries.
Linear retry policy
It is a great mechanism against the transient faults in a distributed architecture.
Some tools:
What if things don't go as planned?
It is our backup strategy, especially in microservice architecture.
For example:
Unavailable?
An API Gateway is one of the must-have parts of a microservice architecture.
It is great enabler because of:
It is great enabler because of:
Due to the nature of microservice architecture, they are independent of each other.
Which request, where does it go?
How long does a request spend time?
We need to a distributed tracing mechanism.
With distributed tracing, we can debug and optimize code.
Which service is up? Which service is down?
This is the question.
Services also have databases and different external services.
Health monitoring also important like tracing in order to see the health of the infrastructure.
End-to-end health status.
Application Insight
Prometheus
Metrics:
By Gökhan Gökalp
Devnot Developer Summit 2019 - http://summit.devnot.com/
Software Architect, Blog writer. If you free your mind, you free your code.