Search
Lessons (40)
- Cross-Service Data: How to Join Without a Database JOIN
When Order Service and User Service own separate databases, learn how to compose APIs, replicate data and build …
- API Gateway, BFF & Service Discovery
How clients find the right service among dozens, and how services find each other. API gateways, Backends for …
- Services and Ingress: Let Traffic Find Your App
… Learn Services for internal traffic and Ingress for web traffic. The problem Pods are replaceable. A replacement pod …
- Service Communication: Sync vs Async
Should services call each other directly or talk through events? Compare request/response with messaging, orchestration with choreography …
- Monolith vs Microservices
… So design team boundaries and service boundaries together: one team owns a few services end to end (the …
- Finding Service Boundaries with DDD
… That boundary is a bounded context , and it's the best guide for where to draw service boundaries …
- Data in Microservices: Sagas & the Outbox Pattern
Each service owns its database, so how do you keep data consistent across services without a shared transaction …
- Onion Architecture & Clean vs Hexagonal vs Onion
… domain model → domain services → application services The Dependency Rule + named layers, use cases as first-class objects, crossing …
- Processes, Services & systemd
… turning your app into a service  or IRSA (OIDC-based). - The pod …
- Cluster Networking, DNS and NetworkPolicies
Understand the Kubernetes network model, how service discovery works, and how to lock down pod-to-pod traffic …
- Count, for_each, Functions, and Stable Identities
… variable "services" { type = map(object({ port = number })) default = { api = { port = 8080 } web = { port = 3000 } } } resource "local file" "service …
- AWS: Start Here
… what cloud means, where services run, and the first services a developer meets. The short version AWS lets …
- RBAC and Cluster Security
… Treat get / list on secrets as sensitive. - Beware escalation verbs: create on pods, bind , escalate , impersonate . ServiceAccounts for …
- Layered (N-Tier) Architecture
… No SQL in controllers; no HTTP in services. 2. Dependencies point down: a layer may use the layer …
- API Contracts, Gateways and Security
… The invoice service just loads invoice 1002 and returns it. But invoice 1002 belongs to a different company …
- Timeouts, Retries & Backpressure
… Some requests give up and retry , which sends even more calls to the already-sick shipping service. 4 …
- Run Containers on AWS with ECR and ECS
… image, CPU, memory, ports, settings Task One running copy of that recipe Service Keeps the requested number of …
- REST vs GraphQL vs gRPC
Three popular ways for services to talk. See how each works, compare them side by side, and learn …
- VPC Endpoints, Transit Gateway and Hybrid Networking
… The service is listening on the right interface and port. Worked private-service path: a task reads a …
- Kafka vs RabbitMQ & the Kafka Ecosystem
… Pick what<br/ your team can operate well"] ✅ Kafka shines for: event-driven microservices where many services react …
- Serverless Architecture
… Functions as a Service, event triggers, cold starts, pay-per-use pricing, managed backends, and the patterns and …
- Cost Optimization and the Well-Architected Framework
… add S3 and DynamoDB gateway endpoints; use interface endpoints for heavy services; keep traffic within an AZ. 3 …
- Multi-Account Strategy, Governance and Security Operations
… per team, per environment (dev, staging, prod). AWS Organizations and SCPs Service Control Policies constrain principals in member …
- Observability: Logs, Metrics & Traces
… CPU, memory, queues"] If you only build one dashboard, build this one, per service. Pillar 3: Traces, the …
- AWS Interview Questions: Clear Answers
… A list of service names without correctness or operational reasoning is incomplete. Remember this - Explain the service and …
- NestJS Core Concepts
… the waiter (controller) takes the order, the chef (service) cooks, the supplier (repository) brings ingredients. Nobody hires their …
- Troubleshooting Playbook
A repeatable method for diagnosing Pending, CrashLoopBackOff, ImagePullBackOff, OOMKilled and unreachable Services. Work from the outside in Do …
- Design a Ride-Sharing Service
… The assignment service then tries to change Dee from AVAILABLE to OFFERED(ride id, version, expiry) . This change …
- Internals, Upgrades, Resilience and Interview Questions
… Argo CD ApplicationSets, a service mesh or Cilium Cluster Mesh, global DNS for failover. - Practice restores. A backup …
- Design a File Storage Service
… A lifecycle policy (an auto-cleanup rule in the storage service, such as "delete unfinished parts after 7 …
- Kubernetes: Start Here
… Kubernetes starts to make sense when you have several services, need reliable rolling deployments and automatic recovery, or …
- Practical Project: Deploy a Real CRM App on EKS
… link the role to a Kubernetes service account bash kubectl create namespace "$NAMESPACE" kubectl -n "$NAMESPACE" create serviceaccount …
- Your Practical Kubernetes Workflow
… a Deployment, Service, Ingress, settings, and possibly autoscaling. Helm keeps them together as a chart and lets you …