[{"data":1,"prerenderedAt":843},["ShallowReactive",2],{"navigation_docs":3,"-backend-development-production-checklist":377,"-backend-development-production-checklist-surround":838},[4,39,114,144,184,244,293,362],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15,20,25,30,35],{"title":11,"path":12,"stem":13,"icon":14},"Learning Path","\u002Fgetting-started\u002Flearning-path","1.getting-started\u002F1.learning-path","i-lucide-map",{"title":16,"path":17,"stem":18,"icon":19},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F2.introduction","i-lucide-house",{"title":21,"path":22,"stem":23,"icon":24},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F3.installation","i-lucide-download",{"title":26,"path":27,"stem":28,"icon":29},"Your First Program","\u002Fgetting-started\u002Ffirst-program","1.getting-started\u002F4.first-program","i-lucide-play",{"title":31,"path":32,"stem":33,"icon":34},"Modules and Dependencies","\u002Fgetting-started\u002Fmodules-and-dependencies","1.getting-started\u002F5.modules-and-dependencies","i-lucide-package-open",{"title":36,"path":37,"stem":38,"icon":34},"Advanced Modules","\u002Fgetting-started\u002Fadvanced-modules","1.getting-started\u002F6.advanced-modules",{"title":40,"path":41,"stem":42,"children":43,"page":6},"Fundamentals","\u002Ffundamentals","2.fundamentals",[44,49,54,59,64,69,74,79,84,89,94,99,104,109],{"title":45,"path":46,"stem":47,"icon":48},"Program Structure","\u002Ffundamentals\u002Fprogram-structure","2.fundamentals\u002F1.program-structure","i-lucide-workflow",{"title":50,"path":51,"stem":52,"icon":53},"Structs and Methods","\u002Ffundamentals\u002Fstructs-and-methods","2.fundamentals\u002F10.structs-and-methods","i-lucide-box",{"title":55,"path":56,"stem":57,"icon":58},"Interfaces","\u002Ffundamentals\u002Finterfaces","2.fundamentals\u002F11.interfaces","i-lucide-plug",{"title":60,"path":61,"stem":62,"icon":63},"Error Handling","\u002Ffundamentals\u002Ferrors","2.fundamentals\u002F12.errors","i-lucide-triangle-alert",{"title":65,"path":66,"stem":67,"icon":68},"Defined Types and Type Aliases","\u002Ffundamentals\u002Fdefined-types","2.fundamentals\u002F13.defined-types","i-lucide-tags",{"title":70,"path":71,"stem":72,"icon":73},"Generics","\u002Ffundamentals\u002Fgenerics","2.fundamentals\u002F14.generics","i-lucide-blocks",{"title":75,"path":76,"stem":77,"icon":78},"Project Structure","\u002Ffundamentals\u002Fproject-structure","2.fundamentals\u002F2.project-structure","i-lucide-folder-tree",{"title":80,"path":81,"stem":82,"icon":83},"Project Layout","\u002Ffundamentals\u002Fproject-layout","2.fundamentals\u002F3.project-layout","i-lucide-layout",{"title":85,"path":86,"stem":87,"icon":88},"Variables and Data Types","\u002Ffundamentals\u002Fvariables-and-types","2.fundamentals\u002F4.variables-and-types","i-lucide-variable",{"title":90,"path":91,"stem":92,"icon":93},"Functions","\u002Ffundamentals\u002Ffunctions","2.fundamentals\u002F5.functions","i-lucide-braces",{"title":95,"path":96,"stem":97,"icon":98},"Control Statements","\u002Ffundamentals\u002Fcontrol-statements","2.fundamentals\u002F6.control-statements","i-lucide-git-branch",{"title":100,"path":101,"stem":102,"icon":103},"Pointers","\u002Ffundamentals\u002Fpointers","2.fundamentals\u002F7.pointers","i-lucide-mouse-pointer-2",{"title":105,"path":106,"stem":107,"icon":108},"Arrays and Slices","\u002Ffundamentals\u002Farrays-and-slices","2.fundamentals\u002F8.arrays-and-slices","i-lucide-list",{"title":110,"path":111,"stem":112,"icon":113},"Maps","\u002Ffundamentals\u002Fmaps","2.fundamentals\u002F9.maps","i-lucide-table-properties",{"title":115,"path":116,"stem":117,"children":118,"page":6},"Concurrency","\u002Fconcurrency","3.concurrency",[119,124,129,134,139],{"title":120,"path":121,"stem":122,"icon":123},"Concurrency Model","\u002Fconcurrency\u002Fconcurrency-model","3.concurrency\u002F1.concurrency-model","i-lucide-network",{"title":125,"path":126,"stem":127,"icon":128},"Goroutines","\u002Fconcurrency\u002Fgoroutines","3.concurrency\u002F2.goroutines","i-lucide-git-fork",{"title":130,"path":131,"stem":132,"icon":133},"Channels","\u002Fconcurrency\u002Fchannels","3.concurrency\u002F3.channels","i-lucide-arrow-left-right",{"title":135,"path":136,"stem":137,"icon":138},"Select and Cancellation","\u002Fconcurrency\u002Fselect-and-cancellation","3.concurrency\u002F4.select-and-cancellation","i-lucide-circle-stop",{"title":140,"path":141,"stem":142,"icon":143},"Synchronization","\u002Fconcurrency\u002Fsynchronization","3.concurrency\u002F5.synchronization","i-lucide-lock-keyhole",{"title":145,"path":146,"stem":147,"children":148,"page":6},"Standard Library","\u002Fstandard-library","4.standard-library",[149,154,159,164,169,174,179],{"title":150,"path":151,"stem":152,"icon":153},"Standard Library Overview","\u002Fstandard-library\u002Foverview","4.standard-library\u002F1.overview","i-lucide-library",{"title":155,"path":156,"stem":157,"icon":158},"Text and Formatting","\u002Fstandard-library\u002Ftext-and-formatting","4.standard-library\u002F2.text-and-formatting","i-lucide-text",{"title":160,"path":161,"stem":162,"icon":163},"Files and JSON","\u002Fstandard-library\u002Ffiles-and-json","4.standard-library\u002F3.files-and-json","i-lucide-file-json",{"title":165,"path":166,"stem":167,"icon":168},"HTTP Clients and Servers","\u002Fstandard-library\u002Fhttp","4.standard-library\u002F4.http","i-lucide-server",{"title":170,"path":171,"stem":172,"icon":173},"Testing","\u002Fstandard-library\u002Ftesting","4.standard-library\u002F5.testing","i-lucide-flask-conical",{"title":175,"path":176,"stem":177,"icon":178},"Command-Line Tools and Configuration","\u002Fstandard-library\u002Fcommand-line-and-configuration","4.standard-library\u002F6.command-line-and-configuration","i-lucide-terminal-square",{"title":180,"path":181,"stem":182,"icon":183},"Structured Logging","\u002Fstandard-library\u002Fstructured-logging","4.standard-library\u002F7.structured-logging","i-lucide-scroll-text",{"title":185,"path":186,"stem":187,"children":188,"page":6},"Backend Development","\u002Fbackend-development","5.backend-development",[189,194,199,204,209,214,219,224,229,234,239],{"title":190,"path":191,"stem":192,"icon":193},"Backend Roadmap","\u002Fbackend-development\u002Fbackend-roadmap","5.backend-development\u002F1.backend-roadmap","i-lucide-route",{"title":195,"path":196,"stem":197,"icon":198},"Graceful Shutdown","\u002Fbackend-development\u002Fgraceful-shutdown","5.backend-development\u002F10.graceful-shutdown","i-lucide-power",{"title":200,"path":201,"stem":202,"icon":203},"Production Checklist","\u002Fbackend-development\u002Fproduction-checklist","5.backend-development\u002F11.production-checklist","i-lucide-clipboard-check",{"title":205,"path":206,"stem":207,"icon":208},"HTTP API Design","\u002Fbackend-development\u002Fhttp-api-design","5.backend-development\u002F2.http-api-design","i-lucide-waypoints",{"title":210,"path":211,"stem":212,"icon":213},"Middleware","\u002Fbackend-development\u002Fmiddleware","5.backend-development\u002F3.middleware","i-lucide-layers-3",{"title":215,"path":216,"stem":217,"icon":218},"Validation","\u002Fbackend-development\u002Fvalidation","5.backend-development\u002F4.validation","i-lucide-list-checks",{"title":220,"path":221,"stem":222,"icon":223},"Application Wiring","\u002Fbackend-development\u002Fapplication-wiring","5.backend-development\u002F5.application-wiring","i-lucide-cable",{"title":225,"path":226,"stem":227,"icon":228},"Observability","\u002Fbackend-development\u002Fobservability","5.backend-development\u002F6.observability","i-lucide-activity",{"title":230,"path":231,"stem":232,"icon":233},"Database SQL","\u002Fbackend-development\u002Fdatabase-sql","5.backend-development\u002F7.database-sql","i-lucide-database",{"title":235,"path":236,"stem":237,"icon":238},"Transactions","\u002Fbackend-development\u002Ftransactions","5.backend-development\u002F8.transactions","i-lucide-repeat-2",{"title":240,"path":241,"stem":242,"icon":243},"Authentication and Authorization","\u002Fbackend-development\u002Fauthentication","5.backend-development\u002F9.authentication","i-lucide-shield-check",{"title":245,"path":246,"stem":247,"children":248,"page":6},"Advanced Go","\u002Fadvanced-go","6.advanced-go",[249,254,259,264,269,274,278,283,288],{"title":250,"path":251,"stem":252,"icon":253},"Advanced Go Roadmap","\u002Fadvanced-go\u002Fadvanced-roadmap","6.advanced-go\u002F1.advanced-roadmap","i-lucide-brain-circuit",{"title":255,"path":256,"stem":257,"icon":258},"Reflection","\u002Fadvanced-go\u002Freflection","6.advanced-go\u002F2.reflection","i-lucide-scan-search",{"title":260,"path":261,"stem":262,"icon":263},"Memory and Garbage Collection","\u002Fadvanced-go\u002Fmemory-and-garbage-collection","6.advanced-go\u002F3.memory-and-garbage-collection","i-lucide-memory-stick",{"title":265,"path":266,"stem":267,"icon":268},"Benchmarking and Profiling","\u002Fadvanced-go\u002Fbenchmarking-and-profiling","6.advanced-go\u002F4.benchmarking-and-profiling","i-lucide-gauge",{"title":270,"path":271,"stem":272,"icon":273},"Advanced Testing and Fuzzing","\u002Fadvanced-go\u002Fadvanced-testing-and-fuzzing","6.advanced-go\u002F5.advanced-testing-and-fuzzing","i-lucide-microscope",{"title":275,"path":276,"stem":277,"icon":48},"Advanced Concurrency","\u002Fadvanced-go\u002Fadvanced-concurrency","6.advanced-go\u002F6.advanced-concurrency",{"title":279,"path":280,"stem":281,"icon":282},"Unsafe and C Boundaries","\u002Fadvanced-go\u002Funsafe-and-cgo","6.advanced-go\u002F7.unsafe-and-cgo","i-lucide-radiation",{"title":284,"path":285,"stem":286,"icon":287},"Package and API Design","\u002Fadvanced-go\u002Fpackage-and-api-design","6.advanced-go\u002F8.package-and-api-design","i-lucide-boxes",{"title":289,"path":290,"stem":291,"icon":292},"Distributed Reliability","\u002Fadvanced-go\u002Fdistributed-reliability","6.advanced-go\u002F9.distributed-reliability","i-lucide-cloud-cog",{"title":294,"path":295,"stem":296,"children":297,"page":6},"Projects","\u002Fprojects","7.projects",[298,316,332,347],{"title":299,"path":300,"stem":301,"children":302,"icon":305},"CLI Task Manager","\u002Fprojects\u002Fcli-task-manager","7.projects\u002F1.cli-task-manager\u002Findex",[303,306,311],{"title":304,"path":300,"stem":301,"icon":305},"Project — CLI Task Manager","i-lucide-list-todo",{"title":307,"path":308,"stem":309,"icon":310},"CLI — Domain and Storage","\u002Fprojects\u002Fcli-task-manager\u002Fdomain-and-storage","7.projects\u002F1.cli-task-manager\u002F1.domain-and-storage","i-lucide-save",{"title":312,"path":313,"stem":314,"icon":315},"CLI — Commands and Tests","\u002Fprojects\u002Fcli-task-manager\u002Fcommands-and-tests","7.projects\u002F1.cli-task-manager\u002F2.commands-and-tests","i-lucide-terminal",{"title":317,"path":318,"stem":319,"children":320,"icon":323},"Concurrent URL Checker","\u002Fprojects\u002Fconcurrent-url-checker","7.projects\u002F2.concurrent-url-checker\u002Findex",[321,324,328],{"title":322,"path":318,"stem":319,"icon":323},"Project — Concurrent URL Checker","i-lucide-radar",{"title":325,"path":326,"stem":327,"icon":128},"URL Checker — Worker Pipeline","\u002Fprojects\u002Fconcurrent-url-checker\u002Fworker-pipeline","7.projects\u002F2.concurrent-url-checker\u002F1.worker-pipeline",{"title":329,"path":330,"stem":331,"icon":173},"URL Checker — Cancellation and Tests","\u002Fprojects\u002Fconcurrent-url-checker\u002Fcancellation-and-tests","7.projects\u002F2.concurrent-url-checker\u002F2.cancellation-and-tests",{"title":333,"path":334,"stem":335,"children":336},"File-backed API","\u002Fprojects\u002Ffile-backed-api","7.projects\u002F3.file-backed-api\u002Findex",[337,339,343],{"title":338,"path":334,"stem":335},"File-backed notes API",{"title":340,"path":341,"stem":342},"File store and concurrency","\u002Fprojects\u002Ffile-backed-api\u002Ffile-store-and-concurrency","7.projects\u002F3.file-backed-api\u002F1.file-store-and-concurrency",{"title":344,"path":345,"stem":346},"HTTP layer and tests","\u002Fprojects\u002Ffile-backed-api\u002Fhttp-and-tests","7.projects\u002F3.file-backed-api\u002F2.http-and-tests",{"title":348,"path":349,"stem":350,"children":351},"Production REST API","\u002Fprojects\u002Fproduction-rest-api","7.projects\u002F4.production-rest-api\u002Findex",[352,354,358],{"title":353,"path":349,"stem":350},"Production REST API capstone",{"title":355,"path":356,"stem":357},"Persistence and authentication","\u002Fprojects\u002Fproduction-rest-api\u002Fpersistence-and-auth","7.projects\u002F4.production-rest-api\u002F1.persistence-and-auth",{"title":359,"path":360,"stem":361},"Operations and release","\u002Fprojects\u002Fproduction-rest-api\u002Foperations-and-release","7.projects\u002F4.production-rest-api\u002F2.operations-and-release",{"title":363,"path":364,"stem":365,"children":366,"page":6},"Meta","\u002Fmeta","99.meta",[367,372],{"title":368,"path":369,"stem":370,"icon":371},"About","\u002Fmeta\u002Fabout","99.meta\u002F1.about","i-lucide-info",{"title":373,"path":374,"stem":375,"icon":376},"Acknowledgements","\u002Fmeta\u002Facknowledgements","99.meta\u002F2.acknowledgements","i-lucide-heart-handshake",{"id":378,"title":200,"body":379,"description":830,"extension":831,"links":832,"meta":833,"navigation":834,"path":201,"seo":835,"stem":202,"__hash__":837},"docs\u002F5.backend-development\u002F11.production-checklist.md",{"type":380,"value":381,"toc":812},"minimark",[382,388,393,397,416,420,423,426,430,458,462,492,496,519,522,526,555,559,585,589,615,619,645,649,669,673,690,694,697,707,711,750,754,757,774,778,795,806,809],[383,384],"learning-lesson-meta",{"level":385,"prerequisites":386,"time":387},"Advanced","The complete backend path and one working service","60–90 minutes",[389,390,392],"h2",{"id":391},"what-you-will-learn","What you will learn",[394,395,396],"p",{},"By the end of this lesson, you will be able to:",[398,399,400,404,407,410,413],"ul",{},[401,402,403],"li",{},"conduct a structured production-readiness review;",[401,405,406],{},"identify missing limits, failure handling, and recovery plans;",[401,408,409],{},"distinguish build checks from runtime safeguards;",[401,411,412],{},"prepare safe schema and application rollouts;",[401,414,415],{},"write a release and rollback plan that another engineer can follow.",[389,417,419],{"id":418},"mental-model-production-readiness-is-evidence","Mental model: production readiness is evidence",[394,421,422],{},"“It works locally” proves one path in one environment. Production readiness requires evidence that the service behaves acceptably during expected load, invalid input, dependency failure, cancellation, deployment, and recovery.",[394,424,425],{},"Use this checklist as a conversation and test plan, not as a badge produced by ticking boxes blindly.",[389,427,429],{"id":428},"correctness-and-tests","Correctness and tests",[398,431,432,435,438,441,449,452,455],{},[401,433,434],{},"Critical business rules have unit tests.",[401,436,437],{},"Repositories are tested against the actual database engine used in production.",[401,439,440],{},"HTTP contract tests cover success, malformed input, validation, authentication, authorization, missing resources, conflicts, and internal failures.",[401,442,443,444,448],{},"Concurrency-sensitive code is exercised with ",[445,446,447],"code",{},"go test -race"," on a supported platform.",[401,450,451],{},"Fuzz targets cover parsers or other input-heavy boundaries where useful.",[401,453,454],{},"Tests are deterministic and do not depend on public network services.",[401,456,457],{},"A failed production case becomes a regression test when practical.",[389,459,461],{"id":460},"build-and-dependency-hygiene","Build and dependency hygiene",[398,463,464,474,477,480,486,489],{},[401,465,466,469,470,473],{},[445,467,468],{},"go.mod"," and ",[445,471,472],{},"go.sum"," are reviewed and committed.",[401,475,476],{},"The supported Go toolchain version is documented and used in CI.",[401,478,479],{},"Formatting, tests, static analysis, and builds run in CI.",[401,481,482,485],{},[445,483,484],{},"govulncheck"," scans reachable dependencies and the result is reviewed.",[401,487,488],{},"Release artifacts are reproducible enough to trace source revision, build inputs, and configuration expectations.",[401,490,491],{},"Third-party licences and operational dependencies are understood.",[389,493,495],{"id":494},"http-and-resource-limits","HTTP and resource limits",[398,497,498,501,504,507,510,513,516],{},[401,499,500],{},"Request headers and bodies have appropriate limits.",[401,502,503],{},"Server read-header, idle, and other timeouts are selected for the deployment and streaming requirements.",[401,505,506],{},"Outbound HTTP clients have deadlines and reuse configured transports\u002Fclients.",[401,508,509],{},"Retries are bounded, cancellation-aware, jittered where needed, and limited to safe operations.",[401,511,512],{},"Queues and worker pools are bounded.",[401,514,515],{},"Rate limits protect expensive or abuse-prone operations without becoming the only security control.",[401,517,518],{},"File descriptors, memory, CPU, goroutines, and connection pools have monitored capacity.",[394,520,521],{},"There is no universal timeout value. Derive limits from service objectives, dependency behaviour, network path, and request type.",[389,523,525],{"id":524},"security","Security",[398,527,528,531,534,537,540,543,546,549,552],{},[401,529,530],{},"All external traffic uses correctly configured TLS across untrusted links.",[401,532,533],{},"Authentication validates the complete policy; authorization covers resource and tenant boundaries.",[401,535,536],{},"SQL values are parameterized and dynamic identifiers are allow-listed.",[401,538,539],{},"Secrets are stored, delivered, rotated, and audited through an approved mechanism.",[401,541,542],{},"Logs and traces exclude passwords, tokens, cookies, private keys, and unnecessary personal data.",[401,544,545],{},"Cookie, CSRF, CORS, proxy-header, upload, and redirect policies match the real clients and deployment.",[401,547,548],{},"Error responses do not expose internal details.",[401,550,551],{},"Security headers are chosen and tested for the application's browser behaviour.",[401,553,554],{},"Dependencies and toolchains receive supported security updates through a reviewed process.",[389,556,558],{"id":557},"database-and-data-lifecycle","Database and data lifecycle",[398,560,561,564,567,570,573,576,579,582],{},[401,562,563],{},"Schema migrations are versioned, reviewed, and tested on production-like data volume.",[401,565,566],{},"Application and schema changes use backward-compatible rollout stages when zero-downtime deployment is required.",[401,568,569],{},"Transactions protect multi-step invariants.",[401,571,572],{},"Unique, foreign-key, and check constraints enforce critical integrity rules.",[401,574,575],{},"Pool limits account for all service replicas.",[401,577,578],{},"Backups are encrypted where required, monitored, and restored in drills.",[401,580,581],{},"Retention and deletion requirements are implemented and verified.",[401,583,584],{},"High-risk data changes have a rollback or forward-fix plan.",[389,586,588],{"id":587},"observability-and-operations","Observability and operations",[398,590,591,594,597,600,603,606,609,612],{},[401,592,593],{},"Logs use stable structured events and useful correlation identifiers.",[401,595,596],{},"Metrics cover request outcomes, latency, dependencies, queues, and saturation with bounded labels.",[401,598,599],{},"Traces preserve context across important boundaries when tracing is used.",[401,601,602],{},"Dashboards show user-impacting behaviour, not only machine utilisation.",[401,604,605],{},"Alerts connect to an actionable runbook and avoid predictable noise.",[401,607,608],{},"Liveness and readiness have tested, distinct meanings.",[401,610,611],{},"Diagnostic and profiling endpoints are protected.",[401,613,614],{},"Operators can identify the running version and relevant safe configuration without exposing secrets.",[389,616,618],{"id":617},"deployment-and-shutdown","Deployment and shutdown",[398,620,621,624,627,630,633,636,639,642],{},[401,622,623],{},"The process runs as a non-privileged identity with the smallest required permissions.",[401,625,626],{},"The artifact contains only required files and trusted certificates.",[401,628,629],{},"Readiness prevents traffic before startup completes.",[401,631,632],{},"Deployment waits for readiness and honours a tested termination grace period.",[401,634,635],{},"Graceful shutdown drains requests and coordinates background work within a fixed deadline.",[401,637,638],{},"Rollout strategy limits blast radius through staged, canary, or similar deployment when appropriate.",[401,640,641],{},"Rollback steps are tested and account for database compatibility.",[401,643,644],{},"A second deployment while the first is failing cannot silently make recovery harder.",[389,646,648],{"id":647},"performance-and-capacity","Performance and capacity",[398,650,651,654,657,660,663,666],{},[401,652,653],{},"Expected traffic, payload size, concurrency, and growth assumptions are written down.",[401,655,656],{},"Load tests represent important production paths and failure modes.",[401,658,659],{},"Profiles and benchmarks identify actual bottlenecks before optimisation.",[401,661,662],{},"Capacity includes headroom for bursts and dependency slowdown.",[401,664,665],{},"Autoscaling signals measure useful pressure and account for startup and shutdown behaviour.",[401,667,668],{},"Expensive endpoints have bounded work and pagination.",[389,670,672],{"id":671},"incident-readiness","Incident readiness",[398,674,675,678,681,684,687],{},[401,676,677],{},"Ownership and escalation paths are known.",[401,679,680],{},"Runbooks explain diagnosis, mitigation, rollback, and recovery.",[401,682,683],{},"Feature flags or operational controls fail safely and are auditable.",[401,685,686],{},"Data repair procedures are reviewed and avoid untracked manual changes.",[401,688,689],{},"Post-incident learning results in code, test, documentation, or operational improvements.",[389,691,693],{"id":692},"release-review-template","Release review template",[394,695,696],{},"Before a release, record:",[698,699,705],"pre",{"className":700,"code":702,"language":703,"meta":704},[701],"language-text","Change:\nExpected user impact:\nSource revision and artifact:\nConfiguration changes:\nSchema changes:\nPre-deployment checks:\nSuccess signals:\nFailure signals:\nRollback trigger:\nRollback steps:\nData compatibility notes:\nOwner:\n","text","",[445,706,702],{"__ignoreMap":704},[389,708,710],{"id":709},"common-mistakes","Common mistakes",[398,712,713,720,726,732,738,744],{},[401,714,715,719],{},[716,717,718],"strong",{},"Treating the checklist as universal configuration:"," timeouts, pools, and limits require workload evidence.",[401,721,722,725],{},[716,723,724],{},"Testing backup creation but not restoration:"," an unusable backup provides false confidence.",[401,727,728,731],{},[716,729,730],{},"Making schema changes that old code cannot tolerate:"," rollback becomes impossible after migration.",[401,733,734,737],{},[716,735,736],{},"Alerting on every exception or CPU spike:"," operators learn to ignore alerts.",[401,739,740,743],{},[716,741,742],{},"Depending on graceful shutdown for correctness:"," machines and processes can disappear without warning.",[401,745,746,749],{},[716,747,748],{},"Keeping the runbook only in one person's memory:"," recovery slows when that person is unavailable.",[389,751,753],{"id":752},"practice","Practice",[394,755,756],{},"Apply this checklist to the lesson API. Produce a one-page readiness report with evidence, unresolved risks, owners, and a staged release\u002Frollback plan. Do not mark an item complete without a test, configuration reference, dashboard, runbook, or other inspectable evidence.",[758,759,760],"accordion",{},[761,762,765,771],"accordion-item",{"icon":763,"label":764},"i-lucide-lightbulb","Show an example readiness summary",[698,766,769],{"className":767,"code":768,"language":703,"meta":704},[701],"Status: not ready for public traffic\n\nVerified\n- HTTP contract tests cover create\u002Flist\u002Fget and error mappings.\n- SQL integration tests run against the target database engine.\n- Request body limit and server header timeout are configured.\n- Structured request logs exclude body and authorization headers.\n\nOpen risks\n- No restore drill for database backups. Owner: platform. Due: before launch.\n- Authorization tests cover owners but not cross-tenant admin cases. Owner: API.\n- Shutdown tested locally but not under the deployment platform's grace period. Owner: platform.\n- No alert for sustained 5xx rate. Owner: observability.\n\nRelease plan\n- Deploy schema addition first; old application ignores it.\n- Deploy one canary instance.\n- Observe success rate, p95 latency, pool wait, and error logs for 30 minutes.\n- Expand gradually if signals remain within agreed thresholds.\n\nRollback\n- Route traffic away from new instances and deploy the previous artifact.\n- Do not reverse the additive schema migration; it remains backward compatible.\n",[445,770,768],{"__ignoreMap":704},[394,772,773],{},"The strongest answer is often “not ready yet” with specific evidence and owners. Readiness review exists to discover risk before users do.",[389,775,777],{"id":776},"summary","Summary",[398,779,780,783,786,789,792],{},[401,781,782],{},"Production readiness combines correctness, security, operability, deployment, and recovery.",[401,784,785],{},"Every important checklist result should point to evidence.",[401,787,788],{},"Limits and timeouts come from workload and dependency behaviour, not copied constants.",[401,790,791],{},"Backward-compatible migrations and tested rollback protect deployments.",[401,793,794],{},"Crashes still happen, so durable recovery and rehearsed incident response remain essential.",[394,796,797,798,805],{},"Official reference: ",[799,800,804],"a",{"href":801,"rel":802},"https:\u002F\u002Fgo.dev\u002Fdoc\u002Fsecurity\u002Fbest-practices",[803],"nofollow","Security best practices for Go developers",".",[807,808],"learning-lesson-complete",{},[810,811],"learning-lesson-navigation",{"next":251,"next-label":250,"previous":196,"previous-label":195},{"title":704,"searchDepth":813,"depth":813,"links":814},2,[815,816,817,818,819,820,821,822,823,824,825,826,827,828,829],{"id":391,"depth":813,"text":392},{"id":418,"depth":813,"text":419},{"id":428,"depth":813,"text":429},{"id":460,"depth":813,"text":461},{"id":494,"depth":813,"text":495},{"id":524,"depth":813,"text":525},{"id":557,"depth":813,"text":558},{"id":587,"depth":813,"text":588},{"id":617,"depth":813,"text":618},{"id":647,"depth":813,"text":648},{"id":671,"depth":813,"text":672},{"id":692,"depth":813,"text":693},{"id":709,"depth":813,"text":710},{"id":752,"depth":813,"text":753},{"id":776,"depth":813,"text":777},"Review correctness, security, operability, deployment, and recovery before serving real traffic.","md",null,{},{"icon":203},{"description":836,"title":200},"A production readiness checklist for Go services covering tests, security, timeouts, databases, observability, deployment, and recovery.","p-6hmXbO__bfnzVtyaLl6RyHzecqkQDsYDIDwlXN3MI",[839,841],{"title":195,"path":196,"stem":197,"description":840,"icon":198,"children":-1},"Stop accepting work, drain active requests, cancel background tasks, and release resources in order.",{"title":205,"path":206,"stem":207,"description":842,"icon":208,"children":-1},"Design predictable resources, methods, status codes, JSON contracts, and error responses.",1794118101405]