Search
Lessons (15)
- Real-Time, Pub/Sub, Webhooks and CDC
… This is a webhook . Here is what goes wrong, step by step: 1. An order is saved, but …
- Extending Kubernetes: CRDs, Operators and Admission
… require resource limits, block latest tags ValidatingAdmissionPolicy (no webhook needed) Built in and written in CEL. yaml apiVersion …
- Jenkins: From Install to Your First Pipeline
… Trigger builds automatically Trigger How Notes --- --- --- Webhook (best) GitHub → Settings → Webhooks → https://jenkins.example.com/github-webhook/ , event …
- Concurrency, Resilience & Distributed Workflows
Keep backend systems correct under contention, failure and traffic spikes with idempotency, retries, circuit breakers, workers, webhooks, backpressure …
- Design an E-Commerce Checkout
… wait for the provider's webhook (a message they send you when the payment settles) or ask them …
- Multi-Region and Disaster Recovery
… DNS (the internet's address book), passwords and keys, queues, webhooks from partners, and the apps on customers …
- Design a Reliable Notification System
… 5. Webhooks (callbacks the provider sends to you later, like "delivered" or "bounced") update the status. Handle them …
- Resilient Service Calls: Retries, Breakers and Load Shedding
… A webhook is a message the provider sends us when the result is ready.) The toolbox at a …
- Payment Retries: Prevent Duplicate Charges
… waiting for an answer. - Provider timeouts and webhook lag (a webhook is the payment company calling us back …
- Interfaces vs Abstract Classes
… string) { / post to Slack webhook / } } async function alertOnCall(notifier: Notifier) { await notifier.send("oncall", "Server is down!"); } 💡 In …
- Microkernel (Plugin) Architecture
… Plug-ins are services called over HTTP/gRPC Webhooks, Shopify apps Trade-offs ✅ Strengths ❌ Weaknesses --- --- Extensible without touching …
- Serverless Architecture
… JSON.stringify(result) }; }; When to use it ✅ Spiky or unpredictable traffic, event processing (uploads, queues, webhooks), scheduled jobs …
- Backend Design Scenarios
… Treat the webhook as at-least-once: verify its signature, deduplicate its event ID, and update the payment …
- Jenkins in Production: Deploys, Docker and Scaling
… sh $TAG"' } } } } } post { failure { withCredentials([string(credentialsId: 'slack-webhook', variable: 'SLACK URL')]) { sh '''curl -fsS -X POST -H …
- The Hot SKU Alert Problem
… When the provider sends webhooks (it calls you back with "message X was delivered"), update the notification record …