Lecture 6 - Architecture Styles II Flashcards
(5 cards)
What is Microkernel Architecture?
- Separates CORE FUNCTIONALITY (microkernel) from additional services / functionalities
- Ex: microkernel provides communication, process management, file systems, etc
- Ex: Operating systems
Key Components of the Microkernel Architecture?
Microkernel
- Core component to provide essential services
Plug-Ins
- Additional operations running separately (like file systems, device drivers)
Clients
- User-level processes that interact with microkernel and plugins based on client request
What is Microservice Architecture?
- Independent, self contained services that communicate through APIs
- Individual services can scale individually, very flexible
Key Components of Microservice Architecture?
Client Apps (Web + Mobile)
- user-facing interfaces (web / mobile apps)
- Communicate with backend microservice through APIs
API Gateway
- Single entry point for client requests.
- Routes them to the appropriate microservice
Microservice
- Manages independent operations
Database
- Each microservice has its own dedicated database
What is Event-Driven Architecture?
- System flow is triggered by EVENTS like user actions, sensor inputs, or messages.
- Actions in response to specific events rather than executing tasks sequentially.
- Asynchronous communication between services