Академический Документы
Профессиональный Документы
Культура Документы
Microservice Architecture:
Current and Future Directions.
Noor Ul Ain
19I-2127
In a Nut Shell
• It implement a particular element of the domain, defines the interface, and can be
used independently over the network.
How Services Collaborate?
• ORCHESTRATION and CHOREOGRAPHY.
• Defines how services collaborate, how the sequence of activities look like, or how the
business process is built.
Integration
Modularization
Reusability
Flexibility
Service Oriented Architecture
• Centralized governance.
EBS
• Business processes implement Service Integration/ Business
processes
Orchestration with control over the company
process.
• Easy to implement.
• Resilience to Failure.
Challenges of Micro Services
• Each service only maintains its context and its own perspective over
particular data, possibly leading into duplicities across services.
Self Contained Systems
• The SCS design is a specialization of Microservice, where the same team
maintaining a particular service is now responsible for UI
• The team is familiar with the knowledge, it fully controls the changes and
change-propogation, and there is less overhead.
• A user interface.
• Communicate Asynchronously.
How Micro-service is Different from SOA?
• For the deeper understanding, we are considering interaction of components of two Use cases.
• Use Case 1: Purchases selected ticket: Consider user finds tickets through the UI, and next aims to
process the purchase of his/her selection.
• Use Case 2: Send an Advertisement email to past customers offering a discount to events matching
user history and details.
integration.
• It contacts EMgm micro service to make sure the tickets are still
available, locking them for 30 mixtures in EMgm.
• The payService loads current user from bounded context and checks Event + Billing UI
pre-existing payment dues.
• It uses BMgm to fetch user filtered list with all details from
bounded context and the last attended event.
• Next, it finds the first matching event by category, earliest EMgm SSO UI BMgm
UMgm
date, and location near to user address.
• The distinct UIs for Billing and Events must Message Broker
• How should be changes and evolution communication across different teams working in distinct services?
• Distributed transactions across services, e.g. compensating transactions, and no ACID transactions.
• Security across services must correlate when one service allows half of the process the second can deny it.
• Based on the
mapping study of
100 papers related
to Ms.
Conclusion
Thank you!