1. What is Microservice?
- Microservice is self contained process that provides unique business capability.
- Microservice is responsible for its own data model and data
- Microservice communicate each other through REST/Messaging Queue
2. Microservice Architecture?
Note: This architecture mainly used by E-Commerce application
Ex: Amazon
3. Monolithic Architecture?
Monolithic Architecture is like a big container where in all the software components of an application are assembled together and tightly packaged.
Drawbacks : Over time,Coupling becomes tighter and tighter
Note: Still many company's are using this architecture
Ex: Facebook
4. What are the Pros And Cons Microservice Architecture?
SNO
|
Pros
|
Cons
|
1
|
Loosely coupled
|
Distributing computing adds complexity and slows down initial development
|
2
|
Decoupling to provide scaling
|
Inter-service communication complicates development,Potentially unreliable connections require fault tolerance
|
3
|
Language Neutral - Can be written in any language and framework ,Each can be communicated with REST/Messaging queue
|
Testing can be more complicated,When needs to test entire enterprise application
|
4
|
Independent Development & Deployment
|
Inter-service security & Identity Management
|
5
|
Scalable
| |
6
|
Updatable
| |
7
|
Fault Isolation - [Even though other connected service is having issue the current service will not break]
|
IT's very informative blog and useful article thank you for sharing with us , keep posting learn more about Product engineering services | Product engineering solutions.
ReplyDelete