Search
Lessons (26)
- Nginx Reverse Proxy & HTTPS
… In Express, also set app.set("trust proxy", 1) . Several apps on one server Each app gets its …
- Structural Patterns: How to Connect Objects
Adapter, Decorator, Facade, Proxy, Composite, Bridge and Flyweight. How to plug incompatible pieces together and build big structures …
- Proxies, APIs and Real-Time Protocols
… you listen, you don't talk back. Proxy A middle-man that passes messages along. A receptionist who …
- DynamoDB Modeling, RDS Scaling and Data Resilience
Design DynamoDB tables around access patterns, then scale and protect relational databases with replicas, proxies and Multi-AZ …
- Deploy a Node.js App to a VPS, Step by Step
… secure, install, clone, configure, build, run, proxy, encrypt, verify, update](/img/linux-devops/vps-deployment.svg) The example …
- Which Pattern Do I Need?
… The intent is what matters. These look alike… The difference --- --- Decorator vs Proxy Decorator adds behaviour. Proxy controls …
- Networking, DNS and Traffic Routing
… how DNS finds you, how load balancers and proxies pick a healthy server, and why switching away from …
- React vs Vue vs Angular
… Simple mental model; sometimes needs memoisation. - Vue wraps state in Proxies (remember the Proxy pattern?) and tracks exactly …
- What Are Design Patterns?
… for (const x of iterable) Iterator new Proxy(obj, handler) Proxy A React Higher-Order Component Decorator axios …
- API Gateway, BFF & Service Discovery
… Orders"] A[Orders app] <-- PA[🛡️ sidecar proxy] end subgraph PodB["Pod: Payments"] PB[🛡️ sidecar proxy] <-- B …
- Docker in Production on a Single Server
… the app connects to db:5432 , and Nginx proxies to http://app:3000 . bash docker compose up -d …
- Linux Troubleshooting Playbook & Interview Questions
… What is a reverse proxy, and why put Nginx in front of Node?</strong </summary A reverse proxy …
- Jenkins: From Install to Your First Pipeline
… com; location / { proxy pass http://127.0.0.1:8080; proxy set header Host $host; proxy set header …
- Cluster Networking, DNS and NetworkPolicies
… Cilium can replace kube-proxy using eBPF. mermaid flowchart LR C[Client pod] -- my-svc:80 V[ClusterIP …
- Zero-Downtime Deploys & Rollbacks
… Nginx automatically retries the other instance while one is down ( proxy next upstream error timeout http 502; ). Database …
- Internals, Upgrades, Resilience and Interview Questions
… kube-proxy (or eBPF) rules send traffic to ready pod IPs in the EndpointSlices that match the Service …
- Database Internals, Replication and Scaling
… A proxy (like PgBouncer for Postgres) can share connections across many app servers. - Materialized views / denormalized tables: precomputed …
- 500 Users Upload Documents at Once: Design the Background Job Pipeline
… Browsers and proxies give up after 30 to 60 seconds. Users see errors, even though work may still …
- REST vs GraphQL vs gRPC
… gRPC directly (you need gRPC-Web or a proxy), payloads aren't human-readable, and it needs tooling …
- DevOps and the Path from Code to Server
… 80, 443] FW -- NG[Nginx<br/ HTTPS + reverse proxy] NG -- 127.0.0.1:3000 APP[Node.js …
- Serverless Architecture
… DB connection each can overwhelm Postgres; use RDS Proxy, Data API, or serverless-friendly DBs Least-privilege IAM …
- Containers at Scale: ECS Deep Dive and EKS
… Plan for the support window of each version. - Manage add-ons (CoreDNS, kube-proxy, VPC CNI, EBS CSI …
- Go Web Services with Gin
… limited to known origins ( gin-contrib/cors ), trusted proxies set ( r.SetTrustedProxies ) - [ ] Auth middleware on protected groups; check …
- Python Web APIs: FastAPI and Django
… workers 4 (or Uvicorn/Gunicorn behind a reverse proxy). Django Project and app bash python -m pip install …
- Scaling, Load Balancing & Rate Limiting
… https Configure the application framework to trust forwarded headers only from the known proxy/network. Otherwise a client …
- Practical Project: Deploy a Real CRM App on EKS
… kube-proxy - name: eks-pod-identity-agent managedNodeGroups: - name: myapp-nodes instanceType: t3.medium minSize: 0 maxSize: 2 …