Search
Lessons (19)
- Helm, kubectl Cheat Sheet & Best Practices
… api image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" resources: {{- toYaml .Values.resources nindent 12 }} yaml values.yaml values …
- Kubernetes Cluster Architecture
… Back it up. - The scheduler filters and scores nodes using resource requests, affinity and taints. - Namespaces group resources …
- API Contracts, Gateways and Security
… a gateway applies authentication, authorization, rate limits and routing before services enforce resource-level policy](/img/system-design …
- REST API Design
… nouns in the URL, verbs in the HTTP method](/img/backend/rest-resources.svg) Rule 1: URLs are …
- Pods
… What a pod is, why it can hold several containers, the pod lifecycle, sidecars and init containers, resource …
- Proxies, APIs and Real-Time Protocols
… svg) Need Good starting point Trade-off --- --- --- Public resource API REST over HTTPS Familiar and cache-friendly Internal …
- Time, Consistency and Distributed Transactions
… For exclusive work, use a lease plus fencing token that the protected resource rejects when stale. Avoid distributed …
- The L6 System-Design Thinking Loop
… provider with the same key. Blast radius Shared resources spread incidents. An export exhausts checkout's DB pool …
- REST vs GraphQL vs gRPC
… gRPC compared](/img/backend/api-styles.svg) REST: resources over HTTP http GET /users/42 GET /users/42 …
- ConfigMaps, Secrets & Storage
… fast resources: requests: storage: 20Gi --- In the pod spec: volumes: - name: uploads persistentVolumeClaim: { claimName: uploads } containers[].volumeMounts: - { name …
- Scaling & Health Probes
… Resource resource: name: cpu target: { type: Utilization, averageUtilization: 60 } % of the CPU request behavior: scaleDown: stabilizationWindowSeconds: 300 wait …
- Resilience Patterns
… isolate resources Ships are divided into watertight compartments ( bulkheads ). A hole floods one compartment, not the whole ship …
- Deployments, ReplicaSets & Rollouts
… 3000 }] resources: requests: { cpu: 250m, memory: 256Mi } limits: { memory: 512Mi } readinessProbe: httpGet: { path: /health/ready, port: 3000 } Labels …
- API Gateway, BFF & Service Discovery
… moving parts, extra latency per hop and extra resources. Worth it with many services and strict security needs …
- Deploying & Operating Microservices
… the golden signals - [ ] Alerts linked to a runbook - [ ] Resource limits (CPU/memory) and autoscaling rules - [ ] Config through environment …
- Services & Ingress
… IC -- api…/products C{{catalog-api}} ⚠️ An Ingress resource does nothing by itself. You need an Ingress controller …
- Authentication, Authorization & API Security
… Joi) - [ ] Parameterised queries / ORM - [ ] Authorization check on every resource access - [ ] Rate limiting on login and expensive endpoints - [ ] Secrets …
- Scaling, Load Balancing & Rate Limiting
… and give it time to recover Bulkhead Separate resource pools, so one slow dependency can't consume every …
- Frontend Performance & Core Web Vitals
… show the main content sooner mermaid flowchart LR T["TTFB<br/ server responds"] -- R["Resource load<br/ hero …