#distributed-systems
13 articles tagged with #distributed-systems
Building Resilient Distributed Systems
Lessons learned from scaling infrastructure at hypergrowth startups. Exploring patterns for fault tolerance, graceful degradation, and observability.
How to implement hybrid caching with EasyCaching? - Part 5
How to configure EasyCaching’s in-memory, Redis and hybrid providers and implement cache-aside extension methods.
How to keep local and distributed caches in sync? Hybrid caching with Pub/Sub - Part 4
How hybrid caching combines local and distributed caches, and how Redis Pub/Sub keeps local copies synchronized.
How to choose the right server-side caching strategy? Write-through, write-behind and refresh-ahead - Part 3
How write-through, write-behind and refresh-ahead caching work, their trade-offs, and how to choose a strategy for e-commerce and mutual fund use cases.
Event Sourcing - storing the history, not just the state
Event Sourcing explained through state versus event history, commands, aggregates, append-only stores, projections, snapshots and versioned events for practical guidance.
Fine-grained vs coarse-grained APIs - avoiding chatty APIs
Fine-grained and coarse-grained APIs compared through response shape, client composition, network calls, latency, business views and the cost of chatty requests.
API Gateway pattern - one front door for many services
The API Gateway pattern explained through routing, authentication, rate limiting, aggregation, caching, Azure API Management policies and ownership boundaries for practical guidance.
Microservices - Part 2
Microservices Part 2 compares synchronous HTTP and asynchronous messaging through timeouts, retries, Service Bus, duplicate handling and eventual consistency for practical guidance.
Microservices - Part 1
Microservices Part 1 explains Conway's Law, modular monoliths, service ownership, distributed data, deployment independence and the hidden costs of service boundaries.
Event-driven architecture with Service Bus topics
Azure Service Bus topics and subscriptions explained through fan-out messaging, SQL filters, duplicate delivery, dead-letter handling and explicit event ownership.
How to send and receive messages with Azure Service Bus queues?
Azure Service Bus queues explained through asynchronous work, queue creation, BrokeredMessage handling, workers, completion, and dead-letter messages for reliable background work.
What is CQRS - separating reads and writes, and when not to use it?
CQRS explained through commands, handlers, queries, read models, eventual consistency, and the situations where separating reads and writes is unnecessary.
Monolith vs Microservices - should we start with microservices?
Monoliths and microservices compared through modular boundaries, extraction signals, scaling, team ownership, distributed failure, and practical starting criteria for growing teams.