Tags→#pattern
Micro-Frontends
Splitting a frontend into independently built and deployed parts: module federation, single-spa, iframes and web components.
Anti-Corruption Layer
A DDD pattern that isolates your domain model from legacy or external systems through a translation layer.
Backend for Frontend (BFF)
Give each client type its own backend service so web, mobile and other clients get data shaped for them.
Circuit Breaker Pattern
How the circuit breaker pattern stops one slow service from taking down the rest: states, thresholds and libraries.
CQRS: Command Query Responsibility Segregation
Separate read and write models to scale and optimise each side, and the trade-offs that come with eventual consistency.
Transactional Outbox Pattern
Publish events reliably by writing them to an outbox table in the same transaction as your data, then relaying them.
Pessimistic vs Optimistic Locking
Two ways to handle concurrent updates: lock rows up front, or detect conflicts at write time.
Publish-Subscribe Pattern
Decouple producers and consumers with topics and brokers, delivery guarantees, and when to pick Kafka, Redis, RabbitMQ or SNS.
Saga Pattern
Keep data consistent across microservices with local transactions, choreography or orchestration, and compensating actions.
Benefit Of Using Microservice
Microservice approach has allowed company to achieve greater scalability and efficiency in its operations as well as improved user experience