{"id":1500,"date":"2026-11-19T18:00:00","date_gmt":"2026-11-19T18:00:00","guid":{"rendered":"https:\/\/wade.one\/blog\/?p=1500"},"modified":"2026-11-12T23:15:31","modified_gmt":"2026-11-12T23:15:31","slug":"a-health-check-should-explain-whether-restarting-will-help","status":"publish","type":"post","link":"https:\/\/wade.one\/blog\/2026\/11\/19\/a-health-check-should-explain-whether-restarting-will-help\/","title":{"rendered":"A Health Check Should Explain Whether Restarting Will Help"},"content":{"rendered":"<p>If the database goes away, restarting every application instance is unlikely to bring it back. Yet that is exactly the recovery plan a health endpoint can accidentally create. Put every dependency behind one green-or-red response, connect it to the restart mechanism and a shared outage becomes a collection of restarting processes.<\/p>\n<p>I like the distinction in the <a href=\"https:\/\/kubernetes.io\/docs\/concepts\/workloads\/pods\/probes\/\">Kubernetes probe documentation<\/a>. Liveness helps decide whether a container needs restarting. Readiness determines whether it should receive traffic from matching Services. A startup probe gives initialization its own allowance before the other probes run. Those checks can share implementation where that makes sense, but the decisions they drive are different.<\/p>\n<p>For liveness, I would ask what failure restarting this process can actually repair. A stuck application may qualify. An unavailable external API usually needs a different response. For readiness, check what the instance needs to serve the traffic it is about to receive. If it can still handle useful requests while an optional integration is down, marking the entire instance unavailable may throw away working functionality. If the database is essential to every request, pretending the instance is ready is not helpful either.<\/p>\n<p>Keep the checks cheap and bounded, and test the actions they cause. Take a required dependency away in an isolated environment and watch whether the application stops receiving traffic, restarts or continues in a useful degraded state. Check recovery as well as failure. The important result is that traffic and restarts behave sensibly; the health endpoint returning the expected colour is only part of that.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Readiness and liveness answer different questions. Connecting both to every dependency can make an outage harder to recover from.<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[13],"tags":[326,327,104],"class_list":["post-1500","post","type-post","status-publish","format-standard","hentry","category-programming","tag-health-checks","tag-kubernetes","tag-operations"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>A Health Check Should Explain Whether Restarting Will Help - wade.one<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wade.one\/blog\/2026\/11\/19\/a-health-check-should-explain-whether-restarting-will-help\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A Health Check Should Explain Whether Restarting Will Help - wade.one\" \/>\n<meta property=\"og:description\" content=\"Readiness and liveness answer different questions. Connecting both to every dependency can make an outage harder to recover from.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wade.one\/blog\/2026\/11\/19\/a-health-check-should-explain-whether-restarting-will-help\/\" \/>\n<meta property=\"og:site_name\" content=\"wade.one\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-19T18:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wade.one\/blog\/wp-content\/uploads\/2015\/02\/Wade-Logo-cropped.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1518\" \/>\n\t<meta property=\"og:image:height\" content=\"1506\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@wadewomersley\" \/>\n<meta name=\"twitter:site\" content=\"@wadewomersley\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/wade.one\\\/blog\\\/2026\\\/11\\\/19\\\/a-health-check-should-explain-whether-restarting-will-help\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wade.one\\\/blog\\\/2026\\\/11\\\/19\\\/a-health-check-should-explain-whether-restarting-will-help\\\/\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"A Health Check Should Explain Whether Restarting Will Help\",\"datePublished\":\"2026-11-19T18:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/wade.one\\\/blog\\\/2026\\\/11\\\/19\\\/a-health-check-should-explain-whether-restarting-will-help\\\/\"},\"wordCount\":264,\"publisher\":{\"@id\":\"https:\\\/\\\/wade.one\\\/blog\\\/#\\\/schema\\\/person\\\/8b4739f8f8bb2cff5d792d4b8779fcc3\"},\"keywords\":[\"health-checks\",\"kubernetes\",\"operations\"],\"articleSection\":[\"Programming\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wade.one\\\/blog\\\/2026\\\/11\\\/19\\\/a-health-check-should-explain-whether-restarting-will-help\\\/\",\"url\":\"https:\\\/\\\/wade.one\\\/blog\\\/2026\\\/11\\\/19\\\/a-health-check-should-explain-whether-restarting-will-help\\\/\",\"name\":\"A Health Check Should Explain Whether Restarting Will Help - wade.one\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wade.one\\\/blog\\\/#website\"},\"datePublished\":\"2026-11-19T18:00:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wade.one\\\/blog\\\/2026\\\/11\\\/19\\\/a-health-check-should-explain-whether-restarting-will-help\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wade.one\\\/blog\\\/2026\\\/11\\\/19\\\/a-health-check-should-explain-whether-restarting-will-help\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wade.one\\\/blog\\\/2026\\\/11\\\/19\\\/a-health-check-should-explain-whether-restarting-will-help\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wade.one\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A Health Check Should Explain Whether Restarting Will Help\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wade.one\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/wade.one\\\/blog\\\/\",\"name\":\"wade.one\",\"description\":\"wade womersley - york based software engineer\",\"publisher\":{\"@id\":\"https:\\\/\\\/wade.one\\\/blog\\\/#\\\/schema\\\/person\\\/8b4739f8f8bb2cff5d792d4b8779fcc3\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wade.one\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/wade.one\\\/blog\\\/#\\\/schema\\\/person\\\/8b4739f8f8bb2cff5d792d4b8779fcc3\",\"name\":\"Wade Womersley\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/wade.one\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/02\\\/200px.png\",\"url\":\"https:\\\/\\\/wade.one\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/02\\\/200px.png\",\"contentUrl\":\"https:\\\/\\\/wade.one\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/02\\\/200px.png\",\"width\":202,\"height\":200,\"caption\":\"Wade Womersley\"},\"logo\":{\"@id\":\"https:\\\/\\\/wade.one\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/02\\\/200px.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A Health Check Should Explain Whether Restarting Will Help - wade.one","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wade.one\/blog\/2026\/11\/19\/a-health-check-should-explain-whether-restarting-will-help\/","og_locale":"en_GB","og_type":"article","og_title":"A Health Check Should Explain Whether Restarting Will Help - wade.one","og_description":"Readiness and liveness answer different questions. Connecting both to every dependency can make an outage harder to recover from.","og_url":"https:\/\/wade.one\/blog\/2026\/11\/19\/a-health-check-should-explain-whether-restarting-will-help\/","og_site_name":"wade.one","article_published_time":"2026-11-19T18:00:00+00:00","og_image":[{"width":1518,"height":1506,"url":"https:\/\/wade.one\/blog\/wp-content\/uploads\/2015\/02\/Wade-Logo-cropped.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_creator":"@wadewomersley","twitter_site":"@wadewomersley","twitter_misc":{"Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wade.one\/blog\/2026\/11\/19\/a-health-check-should-explain-whether-restarting-will-help\/#article","isPartOf":{"@id":"https:\/\/wade.one\/blog\/2026\/11\/19\/a-health-check-should-explain-whether-restarting-will-help\/"},"author":{"name":"","@id":""},"headline":"A Health Check Should Explain Whether Restarting Will Help","datePublished":"2026-11-19T18:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/wade.one\/blog\/2026\/11\/19\/a-health-check-should-explain-whether-restarting-will-help\/"},"wordCount":264,"publisher":{"@id":"https:\/\/wade.one\/blog\/#\/schema\/person\/8b4739f8f8bb2cff5d792d4b8779fcc3"},"keywords":["health-checks","kubernetes","operations"],"articleSection":["Programming"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/wade.one\/blog\/2026\/11\/19\/a-health-check-should-explain-whether-restarting-will-help\/","url":"https:\/\/wade.one\/blog\/2026\/11\/19\/a-health-check-should-explain-whether-restarting-will-help\/","name":"A Health Check Should Explain Whether Restarting Will Help - wade.one","isPartOf":{"@id":"https:\/\/wade.one\/blog\/#website"},"datePublished":"2026-11-19T18:00:00+00:00","breadcrumb":{"@id":"https:\/\/wade.one\/blog\/2026\/11\/19\/a-health-check-should-explain-whether-restarting-will-help\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wade.one\/blog\/2026\/11\/19\/a-health-check-should-explain-whether-restarting-will-help\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wade.one\/blog\/2026\/11\/19\/a-health-check-should-explain-whether-restarting-will-help\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wade.one\/blog\/"},{"@type":"ListItem","position":2,"name":"A Health Check Should Explain Whether Restarting Will Help"}]},{"@type":"WebSite","@id":"https:\/\/wade.one\/blog\/#website","url":"https:\/\/wade.one\/blog\/","name":"wade.one","description":"wade womersley - york based software engineer","publisher":{"@id":"https:\/\/wade.one\/blog\/#\/schema\/person\/8b4739f8f8bb2cff5d792d4b8779fcc3"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wade.one\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/wade.one\/blog\/#\/schema\/person\/8b4739f8f8bb2cff5d792d4b8779fcc3","name":"Wade Womersley","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/wade.one\/blog\/wp-content\/uploads\/2015\/02\/200px.png","url":"https:\/\/wade.one\/blog\/wp-content\/uploads\/2015\/02\/200px.png","contentUrl":"https:\/\/wade.one\/blog\/wp-content\/uploads\/2015\/02\/200px.png","width":202,"height":200,"caption":"Wade Womersley"},"logo":{"@id":"https:\/\/wade.one\/blog\/wp-content\/uploads\/2015\/02\/200px.png"}}]}},"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1472,"url":"https:\/\/wade.one\/blog\/2026\/10\/29\/a-database-constraint-can-close-the-gap-between-checking-and-writing\/","url_meta":{"origin":1500,"position":0},"title":"A Database Constraint Can Close the Gap Between Checking and Writing","author":"","date":"October 29, 2026","format":false,"excerpt":"Checking whether a record exists before inserting another one does not guarantee uniqueness.","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/wade.one\/blog\/category\/programming\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1233,"url":"https:\/\/wade.one\/blog\/2026\/04\/24\/ai-coding-agents-are-becoming-normal-developer-infrastructure\/","url_meta":{"origin":1500,"position":1},"title":"AI Coding Agents Are Becoming Normal Developer Infrastructure","author":"","date":"April 24, 2026","format":false,"excerpt":"AI coding agents are moving from novelty demos into normal developer infrastructure. The useful question now is how teams manage them properly.","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/wade.one\/blog\/category\/ai\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1403,"url":"https:\/\/wade.one\/blog\/2026\/08\/24\/codex-plugins-matter-more-than-another-chat-window\/","url_meta":{"origin":1500,"position":2},"title":"Codex Plugins Matter More Than Another Chat Window","author":"","date":"August 24, 2026","format":false,"excerpt":"Codex plugins package tools, instructions, and repeatable workflows, which is more useful than another generic AI interface.","rel":"","context":"In &quot;AI&quot;","block_context":{"text":"AI","link":"https:\/\/wade.one\/blog\/category\/ai\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1503,"url":"https:\/\/wade.one\/blog\/2026\/11\/13\/optimistic-locking-stops-an-old-tab-overwriting-new-work\/","url_meta":{"origin":1500,"position":3},"title":"Optimistic Locking Stops an Old Tab Overwriting New Work","author":"","date":"November 13, 2026","format":false,"excerpt":"Two people can save valid changes and still overwrite each other. A version check gives the application a chance to catch it.","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/wade.one\/blog\/category\/programming\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1109,"url":"https:\/\/wade.one\/blog\/2023\/03\/26\/php-8-2-vs-7-4\/","url_meta":{"origin":1500,"position":4},"title":"PHP 8.2 vs 7.4","author":"Wade","date":"March 26, 2023","format":false,"excerpt":"PHP is a widely used programming language that has been evolving rapidly in recent years. PHP 8.2 is the latest release, which came out on November 25th, 2021. This version brings several improvements, new features, and bug fixes, making it more efficient and secure than PHP 7.4. In this blog\u2026","rel":"","context":"In &quot;PHP&quot;","block_context":{"text":"PHP","link":"https:\/\/wade.one\/blog\/category\/php\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1378,"url":"https:\/\/wade.one\/blog\/2026\/07\/17\/cloudformation-express-mode-is-fast-because-it-stops-waiting\/","url_meta":{"origin":1500,"position":5},"title":"CloudFormation Express Mode Is Fast Because It Stops Waiting","author":"Wade","date":"July 17, 2026","format":false,"excerpt":"CloudFormation Express mode can cut deployment waits sharply, but configuration complete is not the same as ready for traffic.","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/wade.one\/blog\/category\/programming\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/wade.one\/blog\/wp-json\/wp\/v2\/posts\/1500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wade.one\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wade.one\/blog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/wade.one\/blog\/wp-json\/wp\/v2\/comments?post=1500"}],"version-history":[{"count":2,"href":"https:\/\/wade.one\/blog\/wp-json\/wp\/v2\/posts\/1500\/revisions"}],"predecessor-version":[{"id":1526,"href":"https:\/\/wade.one\/blog\/wp-json\/wp\/v2\/posts\/1500\/revisions\/1526"}],"wp:attachment":[{"href":"https:\/\/wade.one\/blog\/wp-json\/wp\/v2\/media?parent=1500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wade.one\/blog\/wp-json\/wp\/v2\/categories?post=1500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wade.one\/blog\/wp-json\/wp\/v2\/tags?post=1500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}