{"id":"6b09a4beff996234422a2738","slug":"sa-security-and-operations","title":"Security and operations in the design: STRIDE, OAuth2, SLOs and runbooks","summary":"How a Solution Architect designs security and operability before any code exists: STRIDE threat modeling on a data flow diagram, OIDC and OAuth2, encryption and secrets, golden signals, SLI/SLO and error budgets, alerts, logs, DR with RTO/RPO, and a runbook with a Prometheus alert rule – using a marketplace order system as the example.","servedLang":"en","availableLangs":["pl","en"],"topics":["solution-architecture","microservices","circuit-breaker","authentication"],"techs":["general"],"tags":["solution-architect","threat-modeling","stride","oauth2","oidc","slo","error-budget","disaster-recovery","runbook","observability"],"level":"intermediate","kind":"article","access":"members","status":"published","cover":null,"author":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","community":false},"readingMinutes":17,"stats":{"views":1,"likes":0,"bookmarks":0,"comments":0},"publishedAt":"2026-11-27T15:41:50.296Z","updatedAt":"2026-11-27T17:32:07.364Z","requestedLang":"en","theme":{"hero":"classic","heroMedia":null,"accent":"teal","background":"hex","weaveResources":true,"toc":"right"},"seoDescription":"Security and operational design in an HLD: STRIDE threat modeling, trust boundaries, OAuth2/OIDC with PKCE and BFF, encryption, secrets management, PCI DSS, golden signals, SLI, SLO, SLA, error budget, burn rate, RTO and RPO, runbook and Prometheus alert rule.","wordCount":3224,"doc":{"type":"doc","content":[{"type":"paragraph","content":[{"type":"text","text":"An HLD review of OrderFlow – the new order system at Bazario, a marketplace where several thousand sellers list their offers. The team presents a polished component diagram, and the security representative asks a single question: \"Where are the trust boundaries on this diagram?\". A minute later the SRE engineer adds another: \"How will we know order placement is misbehaving before a customer calls?\". Reviewers read the "},{"type":"text","text":"Security","marks":[{"type":"bold"}]},{"type":"text","text":" and "},{"type":"text","text":"Deployment and operations","marks":[{"type":"bold"}]},{"type":"text","text":" chapters first – and authors usually write them last, in a hurry."}]},{"type":"paragraph","content":[{"type":"text","text":"In this step of the path, Ola, Bazario's Solution Architect, designs both parts for the system from the previous articles: 10,000 orders a day (several times more on Black Friday), order confirmation in under 2 seconds, a full audit trail of status changes, plus GDPR and PCI DSS requirements at the boundary with the payment operator."}]},{"type":"callout","attrs":{"variant":"tip","title":"In short"},"content":[{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"You do "},{"type":"text","text":"threat modeling","marks":[{"type":"bold"}]},{"type":"text","text":" on a data flow diagram with trust boundaries. STRIDE tells you what can go wrong, and the outcome is a list of controls with owners, not a document for the drawer."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Security in an HLD comes down to four decisions: "},{"type":"text","text":"who is who","marks":[{"type":"bold"}]},{"type":"text","text":" (OIDC), "},{"type":"text","text":"who may do what","marks":[{"type":"bold"}]},{"type":"text","text":" (OAuth2 plus authorization in the service), "},{"type":"text","text":"how we protect data","marks":[{"type":"bold"}]},{"type":"text","text":" (encryption) and "},{"type":"text","text":"where the secrets live","marks":[{"type":"bold"}]},{"type":"text","text":" (a vault, rotation)."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Operational design starts with "},{"type":"text","text":"SLOs and an error budget","marks":[{"type":"bold"}]},{"type":"text","text":". Then come symptom-based alerts, logs with a correlation ID, DR with explicit RTO/RPO, and a runbook for every alert that wakes people up."}]}]}]}]},{"type":"stats","attrs":{"items":[{"value":"6","label":"STRIDE categories","hint":"Microsoft's threat model (1999, Loren Kohnfelder and Praerit Garg)"},{"value":"43.2 min","label":"monthly error budget","hint":"for a 99.9% SLO over a 30-day window"},{"value":"4","label":"golden signals","hint":"latency, traffic, errors and saturation – from Google's SRE book"}]}},{"type":"heading","attrs":{"level":2,"id":"who-reads-these-chapters-and-what-they-look-for"},"content":[{"type":"text","text":"Who reads these chapters and what they look for"}]},{"type":"paragraph","content":[{"type":"text","text":"Security and operations have four audiences in an HLD, and each looks for something different:"}]},{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"The security office","marks":[{"type":"bold"}]},{"type":"text","text":" – data classification, the threat model, how authentication and encryption work."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Infrastructure and SRE","marks":[{"type":"bold"}]},{"type":"text","text":" – SLOs, alerts, the disaster recovery (DR) plan and who is on call."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Legal and compliance","marks":[{"type":"bold"}]},{"type":"text","text":" – regulatory compliance. At Bazario that means "},{"type":"text","text":"GDPR","marks":[{"type":"bold"}]},{"type":"text","text":" (including notifying the supervisory authority of a personal data breach within 72 hours) and "},{"type":"text","text":"PCI DSS","marks":[{"type":"bold"}]},{"type":"text","text":" – the card data security standard. From the start, Ola designs things so that card data never reaches Bazario's systems at all: the payment form is provided by the payment operator, and only a token and the result come back to the shop."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Development teams","marks":[{"type":"bold"}]},{"type":"text","text":" – concrete backlog items: what to implement, which metrics to expose, which libraries to use."}]}]}]},{"type":"paragraph","content":[{"type":"text","text":"A good chapter answers these people's questions before anyone asks them in a meeting."}]},{"type":"heading","attrs":{"level":2,"id":"threat-modeling-in-an-hour"},"content":[{"type":"text","text":"Threat modeling in an hour"}]},{"type":"paragraph","content":[{"type":"text","text":"Threat modeling sounds heavyweight, but in practice it's a 60–90-minute workshop for one key flow. The architect, the tech lead, someone from security (or a "},{"type":"text","text":"security champion","marks":[{"type":"italic"}]},{"type":"text","text":" from the team) and someone from operations take part. Adam Shostack boils the whole method down to four questions:"}]},{"type":"orderedList","attrs":{"start":1},"content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"What are we working on? – we draw a Data Flow Diagram (DFD)."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"What can go wrong? – we walk the diagram's elements through the STRIDE categories."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"What are we going to do about it? – a control, risk acceptance or a design change."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Did we do a good job? – verification: tests, review, a pentest."}]}]}]},{"type":"paragraph","content":[{"type":"text","text":"The most important elements of the diagram are the "},{"type":"text","text":"trust boundaries","marks":[{"type":"bold"}]},{"type":"text","text":": places where data moves between zones with different levels of trust. Every arrow that crosses a boundary is a candidate for analysis."}]},{"type":"diagram","attrs":{"kind":"mermaid","code":"flowchart LR\n  subgraph zNet[\"Internet – untrusted zone\"]\n    customer([\"Customer: browser or app\"])\n    seller([\"Seller: seller panel\"])\n  end\n  subgraph zOffice[\"Office network\"]\n    agent([\"Customer support agent\"])\n  end\n  subgraph zEdge[\"Network edge – DMZ\"]\n    waf[\"WAF and API Gateway\"]\n    bff[\"BFF: session and tokens\"]\n  end\n  subgraph zApp[\"Application zone\"]\n    orders[\"OrderFlow: orders, payments, reservations\"]\n    ful[\"WMS – warehouse\"]\n    backoffice[\"Back office: returns and complaints\"]\n  end\n  subgraph zData[\"Data zone – highest protection\"]\n    db[(\"Orders DB: addresses, phone numbers\")]\n    kafka[[\"Kafka: order events\"]]\n    audit[(\"WORM audit log\")]\n  end\n  idp[\"OIDC identity provider\"]\n  psp[\"Payment operator – external partner\"]\n  customer -- \"HTTPS: cart and address\" --> waf\n  seller -- \"HTTPS: offers and statuses\" --> waf\n  waf --> bff\n  bff -- \"access token\" --> orders\n  customer -. \"login and MFA\" .-> idp\n  customer -. \"card data only at the operator\" .-> psp\n  psp -- \"webhook: payment result\" --> waf\n  orders -- \"write\" --> db\n  orders -- \"OrderPlaced\" --> kafka\n  kafka --> ful\n  agent -- \"VPN and SSO\" --> backoffice\n  backoffice -- \"refund\" --> audit\n  backoffice --> db","caption":"OrderFlow DFD with trust boundaries – every arrow crossing a zone boundary is a candidate for STRIDE analysis"}},{"type":"paragraph","content":[{"type":"text","text":"STRIDE is an acronym for six threat categories. Each one violates a single security property, which makes it easy to pick the type of control:"}]},{"type":"table","content":[{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Category"}]}]},{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Property violated"}]}]},{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Bazario example"}]}]},{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Control"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"S","marks":[{"type":"bold"}]},{"type":"text","text":"poofing"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"authentication"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"taking over a customer account with passwords from other breaches ("},{"type":"text","text":"credential stuffing","marks":[{"type":"italic"}]},{"type":"text","text":"); a fake \"payment succeeded\" webhook"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"OIDC with MFA, login attempt limits, webhook signatures verified server-side"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"T","marks":[{"type":"bold"}]},{"type":"text","text":"ampering"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"integrity"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"changing the price in a cart request or the amount in a Kafka message"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"prices always calculated server-side, ACLs on Kafka topics, checksums on critical events"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"R","marks":[{"type":"bold"}]},{"type":"text","text":"epudiation"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"non-repudiation"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"a support agent claims they never issued a refund, and the logs show nothing"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"a \"who, what, when, from where\" audit log in WORM storage, time synchronisation"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"I","marks":[{"type":"bold"}]},{"type":"text","text":"nformation disclosure"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"confidentiality"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"addresses in logs; "},{"type":"text","text":"GET /orders/1043","marks":[{"type":"code"}]},{"type":"text","text":" returns someone else's order (IDOR)"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"log masking, encryption, object-level authorization"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"D","marks":[{"type":"bold"}]},{"type":"text","text":"enial of service"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"availability"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"bots buy up a Black Friday promotion and clog the checkout"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"WAF and bot protection, per-client limits, a queue in front of reservations, timeouts"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"E","marks":[{"type":"bold"}]},{"type":"text","text":"levation of privilege"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"authorization"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"a seller sees another seller's orders; an agent approves a refund they created themselves"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"seller ("},{"type":"text","text":"tenant","marks":[{"type":"italic"}]},{"type":"text","text":") data isolation, RBAC/ABAC, the four-eyes principle"}]}]}]}]},{"type":"paragraph","content":[{"type":"text","text":"The workshop produces a list of threats with a risk rating (likelihood × impact), an owner and a decision. Controls go into the backlog as stories with acceptance criteria, and accepted risks are signed off by the business owner – ideally in an ADR. Also check the "},{"type":"text","text":"OWASP API Security Top 10","marks":[{"type":"bold"}]},{"type":"text","text":": since its first edition in 2019, number one has been Broken Object Level Authorization (BOLA) – exactly the "},{"type":"text","text":"GET /orders/1043","marks":[{"type":"code"}]},{"type":"text","text":" case."}]},{"type":"callout","attrs":{"variant":"warning","title":"Real world: an API that never asked who was asking"},"content":[{"type":"paragraph","content":[{"type":"text","text":"In 2022 the Australian telecom operator Optus lost the personal data of about 10 million current and former customers. According to reports, the attacker found a publicly accessible API that required no authentication, and customer identifiers could be guessed one after another. It's a textbook example of two STRIDE categories at once – spoofing and information disclosure. Gaps like this surface in a threat modeling workshop when someone stops at an arrow and asks: \"and who checks whose data this is?\"."}]}]},{"type":"heading","attrs":{"level":2,"id":"who-is-who-and-who-may-do-what-oidc-and-oauth2"},"content":[{"type":"text","text":"Who is who and who may do what: OIDC and OAuth2"}]},{"type":"paragraph","content":[{"type":"text","text":"Two standards that are often confused:"}]},{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"OAuth 2.0","marks":[{"type":"bold"}]},{"type":"text","text":" (RFC 6749, 2012) is about "},{"type":"text","text":"authorization","marks":[{"type":"bold"}]},{"type":"text","text":". The application receives an access token with a "},{"type":"text","text":"scope","marks":[{"type":"italic"}]},{"type":"text","text":" of permissions, e.g. "},{"type":"text","text":"orders:write","marks":[{"type":"code"}]},{"type":"text","text":"."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"OpenID Connect","marks":[{"type":"bold"}]},{"type":"text","text":" (2014) is an "},{"type":"text","text":"identity","marks":[{"type":"bold"}]},{"type":"text","text":" layer built on OAuth 2.0. It adds an ID token that says who signed in."}]}]}]}]},"toc":[{"id":"who-reads-these-chapters-and-what-they-look-for","text":"Who reads these chapters and what they look for","level":2,"locked":false},{"id":"threat-modeling-in-an-hour","text":"Threat modeling in an hour","level":2,"locked":false},{"id":"who-is-who-and-who-may-do-what-oidc-and-oauth2","text":"Who is who and who may do what: OIDC and OAuth2","level":2,"locked":false},{"id":"encryption-and-secrets","text":"Encryption and secrets","level":2,"locked":true},{"id":"operational-design-how-do-we-know-the-system-works","text":"Operational design: how do we know the system works","level":2,"locked":true},{"id":"golden-signals","text":"Golden signals","level":3,"locked":true},{"id":"sli-slo-sla-and-the-error-budget","text":"SLI, SLO, SLA and the error budget","level":3,"locked":true},{"id":"alerts-logs-and-traces","text":"Alerts, logs and traces","level":3,"locked":true},{"id":"dr-rto-and-rpo","text":"DR: RTO and RPO","level":3,"locked":true},{"id":"the-runbook-and-the-alert-rule","text":"The runbook and the alert rule","level":3,"locked":true},{"id":"trade-offs","text":"Trade-offs","level":2,"locked":true},{"id":"check-yourself","text":"Check yourself","level":2,"locked":true},{"id":"related-topics","text":"Related topics","level":2,"locked":true}],"locked":true,"paywall":null,"previewRatio":0.3,"totalBlocks":52,"visibleBlocks":20,"resources":[{"id":"6b0857be3c96f2d34d0b420e","type":"article","provider":"web","url":"https://sre.google/sre-book/table-of-contents","embedUrl":null,"title":"Google SRE - Site reliability engineering book Google index","description":"Go through the complete table of contents of sre Google book, outlined are the key topics and insights covered in this essential resource for SRE professionals.","author":"Google SRE","thumbnailUrl":null,"durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["reliability"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"manual","publishedAt":null,"popularity":75,"verifiedAt":"2026-11-26T11:26:15.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:59.965Z","updatedAt":"2026-11-26T16:00:59.965Z"},{"id":"6b0857c43c96f2d34d0b4721","type":"book","provider":"openlibrary","url":"https://openlibrary.org/works/OL24764469W","embedUrl":null,"title":"Building Secure and Reliable Systems","description":"","author":"Heather Adkins, Betsy Beyer, Paul Blankinship, Piotr Lewandowski","thumbnailUrl":"https://covers.openlibrary.org/b/id/11515123-L.jpg","durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["book"],"price":"paid","featured":false,"featuredOrder":0,"packageName":null,"source":"openlibrary","publishedAt":"2020-01-01T00:00:00.000Z","popularity":35,"verifiedAt":"2026-11-26T11:00:08.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:07.480Z","updatedAt":"2026-11-26T16:01:07.480Z"},{"id":"6b0857bf3c96f2d34d0b42b8","type":"article","provider":"web","url":"https://docs.aws.amazon.com/wellarchitected/latest/framework/welcome.html","embedUrl":null,"title":"AWS Well-Architected Framework - AWS Well-Architected Framework","description":"The AWS Well-Architected Framework helps you understand the pros and cons of decisions you make while building systems on AWS. Using the Framework helps you learn architectural best practices for designing and operating secure, reliable, efficient, cost-effective, and sustainable workloads in the…","author":"AWS Well-Architected Framework","thumbnailUrl":null,"durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["cloud"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"manual","publishedAt":null,"popularity":60,"verifiedAt":"2026-11-26T11:26:15.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:02.417Z","updatedAt":"2026-11-26T16:01:02.417Z"},{"id":"6b0857c03c96f2d34d0b4362","type":"article","provider":"web","url":"https://learn.microsoft.com/pl-pl/azure/architecture/patterns/health-endpoint-monitoring","embedUrl":null,"title":"Wzorzec monitorowania punktu końcowego kontroli kondycji","description":"Zaimplementuj kontrole funkcjonalne w aplikacji, do których narzędzia zewnętrzne mogą uzyskiwać dostęp w regularnych odstępach czasu za pośrednictwem uwidocznionych punktów końcowych.","author":"Microsoft Azure Architecture Center","thumbnailUrl":"https://learn.microsoft.com/en-us/media/open-graph-image.png","durationSec":null,"lang":"pl","topics":[],"techs":["general"],"tags":["azure","cloud"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"manual","publishedAt":null,"popularity":55,"verifiedAt":"2026-11-26T11:07:53.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:02.417Z","updatedAt":"2026-11-26T16:01:02.417Z"},{"id":"6b0857b53c96f2d34d0b38b4","type":"article","provider":"web","url":"https://slack.engineering/slacks-outage-on-january-4th-2021","embedUrl":null,"title":"Slack’s Outage on January 4th 2021","description":"And now we welcome the new year. Full of things that have never been. — Rainer Maria Rilke January 4th 2021 was the first working day of the year for many around the globe, and for most of us at Slack too (except of course for our on-callers and our customer experience team, who never…","author":"slack.engineering","thumbnailUrl":"https://slack.engineering/wp-content/uploads/sites/7/2021/01/loading-bar-5514303_1920-1.jpg","durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["hacker-news"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"hn","publishedAt":"2021-02-01T12:59:33.000Z","popularity":72,"verifiedAt":"2026-11-26T11:19:37.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:52.228Z","updatedAt":"2026-11-26T16:00:52.228Z"},{"id":"6b0857c33c96f2d34d0b4690","type":"book","provider":"openlibrary","url":"https://openlibrary.org/works/OL8848832W","embedUrl":null,"title":"Release It!","description":"","author":"Michael T. Nygard","thumbnailUrl":"https://covers.openlibrary.org/b/id/743624-L.jpg","durationSec":null,"lang":"en","topics":[],"techs":["general"],"tags":["book","testing"],"price":"paid","featured":false,"featuredOrder":0,"packageName":null,"source":"openlibrary","publishedAt":"2007-01-01T00:00:00.000Z","popularity":51,"verifiedAt":"2026-11-26T11:00:08.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:04.995Z","updatedAt":"2026-11-26T16:01:04.995Z"}],"challenges":[{"id":"6b093dc291bd8fbaf2a0c8d8","slug":"payment-circuit-breaker","title":"Circuit breaker for a payment gateway","summary":"A circuit breaker with closed, open and half-open states, an injected clock, a trial-success threshold and a business-error filter – so a payment gateway outage does not take the whole shop down.","servedLang":"en","availableLangs":["pl","en"],"kind":"code","category":"architecture","status":"published","difficulty":"hard","topics":["circuit-breaker","microservices"],"techs":["typescript","javascript","python","dotnet","java","go"],"tags":["circuit-breaker","resilience","fault-tolerance","state-machine","payments"],"languages":["typescript","javascript","python","csharp","java","go"],"questionCount":null,"xp":40,"stats":{"attempts":0,"solves":0,"solutions":0,"comments":0},"solveRate":null,"publishedAt":"2026-11-27T08:22:26.251Z"},{"id":"6b093ddfbd4755deb67ee092","slug":"retry-with-backoff","title":"Retry with exponential backoff","summary":"A function that retries a failed operation after 100, 200, 400… ms, with a cap and an error filter. The sleep function is injected, so tests never wait a millisecond.","servedLang":"en","availableLangs":["pl","en"],"kind":"code","category":"algorithms","status":"published","difficulty":"easy","topics":["circuit-breaker"],"techs":["typescript","javascript","python","dotnet","java","go"],"tags":["resilience","backoff","higher-order-functions","dependency-injection","async"],"languages":["typescript","javascript","python","csharp","java","go"],"questionCount":null,"xp":10,"stats":{"attempts":0,"solves":0,"solutions":0,"comments":0},"solveRate":null,"publishedAt":"2026-11-27T08:22:55.300Z"}],"attachments":[],"hasCode":true,"repoUrl":null,"series":[{"slug":"solution-architect-path","title":"How to become a Solution Architect","items":[{"slug":"solution-architecture","title":"Who is a Solution Architect? The role, its responsibilities and the career map","current":false},{"slug":"sa-daily-duties","title":"A day in the life of a Solution Architect: duties, rhythm and priorities","current":false},{"slug":"sa-requirements-and-nfr","title":"Requirements and NFRs: getting the numbers out of the business that actually shape the system","current":false},{"slug":"sa-hld-step-by-step","title":"HLD step by step: from a blank page to an approved architecture","current":false},{"slug":"hld-complete-example","title":"A complete HLD by example: the VoltGo charging network – document, diagrams, ADRs and tools","current":false},{"slug":"poc-guide","title":"PoC, spike, prototype, MVP – how to plan and run a PoC (with a working example)","current":false},{"slug":"sa-decisions-and-adr","title":"Architecture decisions and ADRs: how to choose, weigh trade-offs and record the “why”","current":false},{"slug":"sa-integrations-and-contracts","title":"Integrations and contracts: APIs, events and cross-team dependencies without surprises","current":false},{"slug":"sa-security-and-operations","title":"Security and operations in the design: STRIDE, OAuth2, SLOs and runbooks","current":true},{"slug":"sa-estimation-cost-tco","title":"Estimation, cost and TCO: what it costs and how many servers you really need","current":false},{"slug":"sa-governance-and-reviews","title":"Governance and reviews: how to defend a design in front of the Architecture Review Board","current":false},{"slug":"sa-migrations-as-is-to-be","title":"AS-IS → TO-BE migration without downtime: transitional architecture, strangler fig and CDC","current":false},{"slug":"sa-how-to-become","title":"How to become a Solution Architect: skills, path, interview and the first 90 days","current":false}]}],"prev":{"slug":"sa-integrations-and-contracts","title":"Integrations and contracts: APIs, events and cross-team dependencies without surprises"},"next":{"slug":"sa-estimation-cost-tco","title":"Estimation, cost and TCO: what it costs and how many servers you really need"},"featured":false,"authorCard":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","headline":"Wzorce projektowe · Architektura · AI i LLM","community":false,"reputation":{"points":3900,"level":{"key":"mentor","label":"Mentor"}},"articles":104,"skills":[{"key":"typescript","title":"TypeScript","level":5,"levelLabel":"Authority","articles":90},{"key":"dotnet","title":".NET","level":5,"levelLabel":"Authority","articles":61},{"key":"python","title":"Python","level":5,"levelLabel":"Authority","articles":59},{"key":"java","title":"Java","level":5,"levelLabel":"Authority","articles":46}]}}