<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Uptime Engineer</title>
    <description>An engineer’s journey through DevOps and infrastructure. Read practical lessons, career insights, real stories, tutorials, tools, and curated resources.</description>
    
    <link>https://www.uptime.engineer/</link>
    <atom:link href="https://rss.beehiiv.com/feeds/5r8FslLeaW.xml" rel="self"/>
    
    <lastBuildDate>Mon, 30 Nov 2026 06:15:48 +0000</lastBuildDate>
    <pubDate>Sat, 28 Nov 2026 07:38:19 +0000</pubDate>
    <atom:published>2026-11-28T07:38:19Z</atom:published>
    <atom:updated>2026-11-30T06:15:48Z</atom:updated>
    
    <copyright>Copyright 2026, Uptime Engineer</copyright>
    
    <image>
      <url>https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/publication/logo/a6a4d9d8-3769-4355-ab3f-2522724beaaf/uptime_engineer_logo.png</url>
      <title>Uptime Engineer</title>
      <link>https://www.uptime.engineer/</link>
    </image>
    
    <docs>https://www.rssboard.org/rss-specification</docs>
    <generator>beehiiv</generator>
    <language>en-us</language>
    <webMaster>support@beehiiv.com (Beehiiv Support)</webMaster>

      <item>
  <title>#46 Uptime Sync: The Replica Count That Took Down Spotify Login and the Bug That Kept Microsoft 365 Down for a Day</title>
  <description>Plus one GitLab webhook that turned into millions of internal calls at Sentry, how Cloudflare tests DNS from every data center, and a benchmark with PostgreSQL 19 inserting into foreign-key tables 41% faster. </description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/18e83680-43f8-4188-93ee-77f2d1850bc5/O_zcc6Xl12g-HD.jpg" length="172999" type="image/jpeg"/>
  <link>https://www.uptime.engineer/p/uptime-sync-46-spotify-login-microsoft-365-outage</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/uptime-sync-46-spotify-login-microsoft-365-outage</guid>
  <pubDate>Sat, 28 Nov 2026 07:38:19 +0000</pubDate>
  <atom:published>2026-11-28T07:38:19Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
    <category><![CDATA[Digest]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><div class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - High Value - the best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#2DA5A1;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:4.0px 4.0px 4.0px 4.0px;"><h3 class="heading" style="text-align:left;" id="frontier-models-perform-better-in-a">Frontier models perform better in Attio’s agent harness.</h3><div class="image"><a class="image__link" href="https://attio.com/architecture?utm_source=beehiiv&utm_medium=newsletter-sponsorship&utm_campaign=beehiiv-Y26&utm_content=KHPTNYBUED&_bhiiv=opp_ebd9460b-b9ff-4208-8b7b-fe045c4c7f6e_b5f5bde9&bhcl_id=464bb026-63a1-47b4-b696-ceb82f372ad4_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/ff81e410-5db9-4420-8647-1581c967f837/attio-launch-v2-architecture-light-1200x600.png?t=1793387848"/></a></div><p class="paragraph" style="text-align:left;">We gave GPT-6 Astra the same job twice: analyze 100 sales calls and draft the follow-ups, once in <a class="link" href="https://attio.com/architecture?utm_source=beehiiv&utm_medium=newsletter-sponsorship&utm_campaign=beehiiv-Y26&utm_content=KHPTNYBUED&_bhiiv=opp_ebd9460b-b9ff-4208-8b7b-fe045c4c7f6e_b5f5bde9&bhcl_id=464bb026-63a1-47b4-b696-ceb82f372ad4_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Ask Attio</a> and once in ChatGPT.</p><p class="paragraph" style="text-align:left;">Ask Attio finished in 4 minutes 49 seconds. ChatGPT took 26 minutes 11 seconds, about 5.4 times as long.</p><p class="paragraph" style="text-align:left;">The most ambitious GTM work requires more than frontier intelligence. It requires architecture that can put that intelligence to work at scale.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://attio.com/architecture?utm_source=beehiiv&utm_medium=newsletter-sponsorship&utm_campaign=beehiiv-Y26&utm_content=KHPTNYBUED&_bhiiv=opp_ebd9460b-b9ff-4208-8b7b-fe045c4c7f6e_b5f5bde9&bhcl_id=464bb026-63a1-47b4-b696-ceb82f372ad4_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Learn about Attio’s hybrid architecture.</a></p></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">Welcome to this week&#39;s Uptime Sync. We start with Spotify&#39;s report on its 29 September outage. Two deployment changes, each tested on its own, clashed in production, and Argo CD kept setting the login service back to its minimum replica count on every sync. When login came back, it handled 200 times its normal traffic, and full recovery took almost six hours. Then Microsoft explains its 12 November outage, where a Windows defect added months earlier made the gateway servers in front of Exchange Online stop responding under peak load, and the fix meant restarting every affected server twice. We also cover how three bugs in Sentry&#39;s GitLab integration turned one webhook into potentially millions of internal calls and held its autoscaler at 256 pods, how Cloudflare tests DNS from every data center before a release goes ahead, what changes when you upgrade PostgreSQL 18 to 19, and what&#39;s coming in Kubernetes v1.38.</p><p class="paragraph" style="text-align:left;">On the tutorial front: compare a Kubernetes Service with an InferencePool for routing LLM traffic, and enforce Kubernetes network policies on EKS with the VPC CNI. We also cover a zero-downtime major PostgreSQL upgrade on Spock, limiting agent permissions and spend in AWS Transform custom, and blocking risky pull_request_target triggers across a GitHub organization.</p><p class="paragraph" style="text-align:left;">This week&#39;s projects include Agent-vault for letting an AI agent call APIs without the credential in its environment, and Fakecloud for running Terraform and SDK tests against a local AWS. Goss turns a server&#39;s expected state into checks, Pi-cluster rebuilds a K3s cluster on spare hardware from Ansible and FluxCD code, and Pgbot gives you a quick health read on a Postgres instance.</p><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Newsworthy Reads</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://engineering.atspotify.com/2026/11/september-29-outage-incident-report-what-we-learnt?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow">September 29 Outage Incident Report: What we learnt</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://tianyin.github.io/misc/pir_microsoft_365_11-12-2026.pdf?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow">Microsoft 365 Outage – Post Incident Report [pdf]</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://blog.sentry.io/quadratic-webhook-autoscaler-ceiling?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow">One quadratic webhook pinned our autoscaler at its ceiling</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://blog.cloudflare.com/probing-dns-at-cloudflare?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow">Probing DNS at Cloudflare</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://rishigoomar.com/postgresql-19-what-changes-when-you-upgrade-from-18?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow">What Changes When You Upgrade from PostgreSQL 18 to 19</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://kubernetes.io/blog/2026/11/23/kubernetes-v1-38-sneak-peek?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow">Kubernetes v1.38 Sneak Peek</a></p></li></ul><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/QQ4UyZNXof8" width="100%"></iframe><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/O_zcc6Xl12g" width="100%"></iframe><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Tutorials of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://itnext.io/serving-llms-on-kubernetes-why-your-service-is-the-wrong-backend-bd7c4a7dd9d4?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow">Compare Kubernetes Service and InferencePool routing for LLM serving</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://dev.to/aws-builders/amazon-eks-network-policies-in-practice-real-world-usage-and-cicd-27na?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow">Enforce Kubernetes network policies on EKS with VPC CNI</a></p></li></ul><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/GB7JTXeGcs0" width="100%"></iframe><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://postgr.es/p/9zN?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow">Perform a zero-downtime major PostgreSQL upgrade on Spock</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://aws.amazon.com/blogs/devops/limit-agent-permissions-and-spend-in-aws-transform-custom?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow">Limit agent permissions and spend in AWS Transform custom</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://pyfound.blogspot.com/2026/11/de-fanging-dangerous-triggers-in-github.html?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow">Block risky pull_request_target triggers org-wide in GitHub</a></p></li></ul><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Projects of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/Infisical/agent-vault?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow">Agent-vault </a>- Run the proxy on a separate host, point an agent&#39;s HTTPS_PROXY at it, and confirm the agent can call an API without the credential being present in its environment.</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/pgrundev/pgbot?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow">Pgbot </a>- Run pgbot inspect against a Postgres instance you operate, using a dedicated pg_monitor role, to get a health read before or during an incident.</p></li></ul><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/49c85203-690a-450f-b137-ae4203263fd5/dashboard.png?t=1795851348"/></div><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/faiscadev/fakecloud?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow">Fakecloud </a>- Run fakecloud locally, then point an existing Terraform or SDK integration test at localhost:4566 to check that resources such as SQS queues behave correctly without touching a real AWS account.</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/goss-org/goss?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow">Goss </a>- On a Linux host, run sudo goss autoadd sshd to generate a goss.yaml baseline of listening ports, then edit it into explicit checks for your server&#39;s expected state.</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/ricsanfre/pi-cluster?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow">Pi-cluster </a>- Rebuild a small K3s cluster from the repo&#39;s Ansible and FluxCD code on spare Raspberry Pi or mini PC hardware to practise GitOps bootstrap and cluster re-provisioning.</p></li></ul><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/></div><p class="paragraph" style="text-align:center;">👋 Find me on <a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Twitter</a> | <a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Linkedin</a> | <a class="link" href="https://www.instagram.com/askyoshik/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow">Instagram </a>| <a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=46-uptime-sync-the-replica-count-that-took-down-spotify-login-and-the-bug-that-kept-microsoft-365-down-for-a-day" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Connect 1:1</a></p><p class="paragraph" style="text-align:left;">Thank you for supporting this newsletter. Consider sharing this post with your friends.<br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=d84eda0e-f3ba-4a31-93f4-36fa23d43aae&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Idempotency Explained: How Payment Systems Avoid Charging You Twice</title>
  <description>A timeout doesn&#39;t tell you a payment failed. Here&#39;s how payment systems handle that, and 5 steps to make any API safe to retry.</description>
  <link>https://www.uptime.engineer/p/idempotency-explained</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/idempotency-explained</guid>
  <pubDate>Tue, 24 Nov 2026 07:31:27 +0000</pubDate>
  <atom:published>2026-11-24T07:31:27Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
    <category><![CDATA[System Design]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><div class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - The best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;"></p><div class="image"><a class="image__link" href="https://topmate.io/yoshik/2340122?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=idempotency-explained-how-payment-systems-avoid-charging-you-twice" rel="noopener" target="_blank"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/61f4bbc7-0d39-49a0-8a97-15201e9b2428/uptime.engineer.png?t=1793074854"/></a></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">You want to fly somewhere, hit the &quot;Pay ($412)&quot; button.</p><p class="paragraph" style="text-align:left;">It spins for about 30 seconds and tells you to try again, due to some error.</p><p class="paragraph" style="text-align:left;">You check your account balance on your bank app, to find a pending deduction of $412.</p><p class="paragraph" style="text-align:left;">Would you be inclined to hit the button once more?</p><p class="paragraph" style="text-align:left;">Hitting it may well result in a charge of $824. On the other hand, perhaps the original attempt failed, the airline never received payment for the ticket you wanted, and it is happily sold to another person. Either option seems unattractive, primarily because of information you don&#39;t have: success or failure of the original attempt.</p><p class="paragraph" style="text-align:left;">Presumably the website also doesn&#39;t know.</p><p class="paragraph" style="text-align:left;">All that can be said about a timed-out call is that no response was received within the allotted time. The call may not have got as far as any server; it may have got there but errored; or it may have succeeded, with only the subsequent response failing to make it back.</p><p class="paragraph" style="text-align:left;">These situations would all be indistinguishable.</p><p class="paragraph" style="text-align:left;">So at minimum, a timeout should be interpreted as &quot;uncertain outcome&quot;. There is a good chance that the desired action took place.</p><p class="paragraph" style="text-align:left;">Clearly this is extremely important for any system dealing with payments. It&#39;s easy to see the devastation that could result from getting it wrong. In April 2025 UPI was down for about 2 hours, its longest period of unavailability since 2021-22. During this time many banks apparently continued to poll to check for completion of various payments, with no regard to frequency. These requests to check for payment completion apparently comprised a significant proportion of all requests being sent to UPI, resulting in failure of about 50% of payments being attempted.</p><p class="paragraph" style="text-align:left;">So their safeguard against multiple charges was directly responsible for major disruption to the service.</p><p class="paragraph" style="text-align:left;">This will resonate with many people responsible for running infrastructure. Numerous examples are easy to find:</p><ul><li><p class="paragraph" style="text-align:left;">a request forwarded to a different back-end by your load balancer;</p></li><li><p class="paragraph" style="text-align:left;">a duplicated message processed twice by consumers;</p></li><li><p class="paragraph" style="text-align:left;">deployment continued after failure and restart part-way through;</p></li><li><p class="paragraph" style="text-align:left;">a scheduled task completing, then re-run following server restart.</p></li></ul><p class="paragraph" style="text-align:left;">Each could result in some action taking place twice. What should happen when that occurs?</p><p class="paragraph" style="text-align:left;">This desirable property has been given the name &quot;idempotent&quot;.</p><p class="paragraph" style="text-align:left;">I hope after reading this you will have a good understanding of idempotent operations, why it is so desirable, its application to preventing multiple charges, and 5 steps towards implementing this in an API.</p><ul><li><p class="paragraph" style="text-align:left;">Causes of duplicate charges</p></li><li><p class="paragraph" style="text-align:left;">Prevention of duplication in UPI, card payments via 3rd party APIs, and by Nginx</p></li><li><p class="paragraph" style="text-align:left;">5 steps towards an idempotent payment API</p></li></ul><h1 class="heading" style="text-align:left;" id="timedout-request">Timed-out request</h1><p class="paragraph" style="text-align:left;">We will all have re-tried some action after it appeared to fail. There will be countless examples in code and documentation to encourage this. Many client libraries will re-attempt failed requests, K8s re-runs containers and most message brokers will attempt to deliver each message at least once.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/43fb7d71-b477-4198-861b-5094cb56ea61/timeout.png?t=1795504968"/></div><p class="paragraph" style="text-align:left;">Generally this will all be entirely benign, for example re-requesting a slow or failed web page.</p><p class="paragraph" style="text-align:left;">All based on the false premise that failure means no action was carried out. As noted above, it is quite possible for all manner of processing to occur and only the final response to fail to return.</p><p class="paragraph" style="text-align:left;">So consider the following. Hungry, you use an app to have something delivered to you. After hitting the button to confirm the purchase, there&#39;s a slight delay due to poor connection. So you press it again to be sure. You are then delighted to answer the door 10 minutes later to find 2 men with your meal!</p><p class="paragraph" style="text-align:left;">Presumably nothing would appear amiss on the seller&#39;s system. Two separate requests to buy a meal were received, so two purchases were made and dispatched.</p><p class="paragraph" style="text-align:left;">Of course it was entirely reasonable to fulfil each of the 2 requests it received. There was nothing available to it to determine they related to one purchase only.</p><h1 class="heading" style="text-align:left;" id="idempotent">Idempotent</h1><p class="paragraph" style="text-align:left;">Repeated application of an idempotent function makes no further difference after the first time.</p><p class="paragraph" style="text-align:left;">Pressing the button to summon a lift to your floor is idempotent; pressing repeatedly will only result in one lift arriving.</p><p class="paragraph" style="text-align:left;">Charging a card $412 is plainly not; repeat it 5 times for a total charge of $2,060!</p><p class="paragraph" style="text-align:left;">So certain HTTP verbs are idempotent. There should be no effect from issuing the same GET, PUT or DELETE multiple times. However, it is typical to use POST for adding new entities, including paying for something.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/24b52e7a-a391-41e0-8f83-db6931788f4e/idempotency-vs-non-idempotency.png?t=1795504983"/></div><h1 class="heading" style="text-align:left;" id="examples-with-infrastructure">Examples with infrastructure</h1><p class="paragraph" style="text-align:left;">As mentioned, Nginx will optionally forward requests to alternate back-ends if there are errors and others available, subject to the criteria set with proxy_next_upstream. However it will exclude POSTs that have been dispatched to another server, unless specifically included (non_idempotent). Clearly this is to avoid possible duplication of whatever action that POST instigates, such as a charge.</p><p class="paragraph" style="text-align:left;">So if you had many 502 responses and thought it desirable to include more failed requests for forwarding to other servers, you might well cause many customers to be debited twice for one thing. Easy oversight, potentially expensive consequences.</p><p class="paragraph" style="text-align:left;">Obviously therefore it would be good to avoid any re-attempts. Unfortunately there are too many circumstances where a valid response may be lost, and so some re-attempts are necessary. Poor mobile connection, servers going down and back up for deployments, transient slowness at a financial institution... all may leave a customer without confirmation of successful payment, to name but a few examples.</p><p class="paragraph" style="text-align:left;">Clearly better therefore if there were means for the receiver to identify duplicates. If this were possible, it could simply respond as it had done originally.</p><p class="paragraph" style="text-align:left;">Some mechanism to this end must be in place with all providers of payment services.</p><h1 class="heading" style="text-align:left;" id="with-upi">With UPI</h1><p class="paragraph" style="text-align:left;">A unique reference number is generated to represent each payment. So if there was no timely confirmation of the outcome to the originating bank, it can simply enquire about the state of that reference. Obviously only one sum of money can be associated with it, so only one payment can occur.</p><p class="paragraph" style="text-align:left;">This serves to explain why initiating a fresh payment via the various apps would result in a separate charge. There would be no connection with any previous attempt, as it would have a new reference number.</p><p class="paragraph" style="text-align:left;">So this is clearly a vital stage in the process. As described above, apparently some banks took full advantage of the opportunity to send these requests, at high frequency, even relating to payments made days earlier.</p><p class="paragraph" style="text-align:left;">Post-incident guidance from NPCI included minimum delay before enquiring about the outcome (90 seconds, since reduced to 60) and maximum of 3 attempts over no more than 2 hours. So, reiterate with same ID, with delays between, up to a maximum number of times. A pretty reasonable set of criteria to apply to re-attempts generally!</p><h1 class="heading" style="text-align:left;" id="3-rd-party-payment-providers">3rd party payment providers</h1><p class="paragraph" style="text-align:left;">Typically you will be able to pass an additional header, for example, Idempotency-Key with Stripe. As before you would generate an arbitrary value, most conveniently a UUID, and include this with the initial request. Any number of re-attempts with the same value would elicit the original response. No further debits would occur. Presumably other details would also be compared on any subsequent requests, returning an error response if there were discrepancies.</p><p class="paragraph" style="text-align:left;">It is apparently deemed useful enough for a generic version to be under consideration by IETF as an HTTP standard.</p><h1 class="heading" style="text-align:left;" id="general-principle">General principle</h1><p class="paragraph" style="text-align:left;">So I would urge everyone to apply the following considerations wherever re-attempts may occur, whether deliberately instigated or by some other mechanism. I&#39;ll suggest referring to it as being &quot;Retry-Safe&quot;.</p><ul><li><p class="paragraph" style="text-align:left;">Can the recipient identify it relates to a previous request?</p></li><li><p class="paragraph" style="text-align:left;">Am I allowing reasonable time for processing to complete?</p></li></ul><p class="paragraph" style="text-align:left;">Thus avoiding duplicates, and avoiding overwhelming some service with requests, respectively.</p><p class="paragraph" style="text-align:left;">Presumably most people would be able to get AI to generate suitable code to process payments. It would probably be flawless under ideal conditions. But you want to be aware it would be all too easy to debit someone multiple times in less-than-ideal conditions.</p><h1 class="heading" style="text-align:left;" id="ensuring-an-api-is-retrysafe">Ensuring an API is retry-safe</h1><p class="paragraph" style="text-align:left;">Quoting someone far wiser than me &quot;Only through breaking things, trying to fix them, will you learn&quot;. So let&#39;s break something and apply progressive fixes.</p><h2 class="heading" style="text-align:left;" id="multiple-debits">Multiple debits</h2><p class="paragraph" style="text-align:left;">Continuing the example above, presumably the relevant extract from server logs would show a request being passed on to a bank, taking some seconds, successfully debiting the card and attempting to pass back a response. As the customer&#39;s browser had timed out and closed its connection in the meantime, it may well log some variant of &quot;broken pipe&quot;. Easy to overlook if scanning through logs.</p><p class="paragraph" style="text-align:left;">Customer, understandably, tries again. Again all is reasonable on the server side, receiving what appears to be a new request, repeating the above steps, and debiting once more.</p><p class="paragraph" style="text-align:left;">So no obvious failures anywhere. All components behaving reasonably given the information available. Only that due to time taken to complete, exceeding the customer&#39;s patience, they were unaware of the success.</p><p class="paragraph" style="text-align:left;">Equivalent to calling out for a menu in a busy restaurant, and, not receiving one, reasonably doing so again, only to be presented with 2.</p><h2 class="heading" style="text-align:left;" id="idempotency-key">Idempotency key</h2><p class="paragraph" style="text-align:left;">So clearly useful if the customer could indicate this may relate to a previous request. Therefore generate an arbitrary value (UUID) to accompany the request when initially hitting Pay. For example</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/c4091167-4cbe-477f-b5ea-7a5fc8a35e62/constraints.png?t=1795505030"/></div><p class="paragraph" style="text-align:left;">Store all received values, along with corresponding responses issued. Subsequent requests would first be checked against stored values. If new, process as described previously and record the issued response; otherwise return previously recorded response, taking no further action.</p><p class="paragraph" style="text-align:left;">So, assuming the original attempt was successful and took longer than the timeout period, this would result in a further request receiving the original response, including payment ID. Customer would of course only have been charged once.</p><p class="paragraph" style="text-align:left;">Importantly, you don&#39;t want to generate a new value for each attempt, only for each separate action, that is, when the user hits Pay. Otherwise you defeat the object, and each attempt would be considered new. Analogous to generating a new UPI payment, as above.</p><h2 class="heading" style="text-align:left;" id="concurrent-requests">Concurrent requests</h2><p class="paragraph" style="text-align:left;">Unfortunately there are scenarios where this would fail. If 2 requests were issued in quick succession, for example customer double-clicks, load balancer and customer both decide to re-attempt, both may pass the check for an existing key. Each would therefore continue processing to debit the card, resulting in 2 debits associated with 1 key.</p><p class="paragraph" style="text-align:left;">The usual problem when checking something and acting based on the result: any concurrency may result in undesirable outcomes.</p><p class="paragraph" style="text-align:left;">Furthermore this assumes just one server to process the requests. If there were more, each would presumably have its own set of stored keys, so be blind to requests handled by others.</p><h2 class="heading" style="text-align:left;" id="database">Database</h2><p class="paragraph" style="text-align:left;">Hence desirable to store the values somewhere central, common to all servers, such as a table (Postgres, MySQL) or Redis instance. And to take advantage of setting the column to unique, and attempt to add each new key as the first operation. Obviously this would be successful only once, overcoming the concurrent requests issue.</p><p class="paragraph" style="text-align:left;">Depending on whether this was successful or not:</p><ul><li><p class="paragraph" style="text-align:left;">if successful, continue and debit the card, updating the row to include the response issued;</p></li><li><p class="paragraph" style="text-align:left;">if unsuccessful, due to another request being currently processed (so no response recorded yet), issue 409, advising that it should re-attempt after a short interval;</p></li><li><p class="paragraph" style="text-align:left;">if unsuccessful and a response was recorded, return this, without any further processing.</p></li></ul><p class="paragraph" style="text-align:left;">As previously mentioned, you would want to compare other details of any re-attempt, presumably storing some representation, for example a hash, of the original to compare against. Returning some 4xx (for example 422) if there were differences. You don&#39;t want to silently continue and return an unrelated original response if, say, the amounts differ. Presumably almost certainly erroneous behaviour from the client, so better to highlight it. (Termed a &quot;fingerprint&quot; by both Stripe and the IETF).</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/c7430be0-8a81-439d-abef-8e12456f128c/shared-database.png?t=1795505072"/></div><h2 class="heading" style="text-align:left;" id="sensible-reattempts">Sensible re-attempts</h2><p class="paragraph" style="text-align:left;">Final consideration is to ensure the customer doesn&#39;t over-do their re-attempts! As described, a contributing factor in bringing down UPI.</p><ul><li><p class="paragraph" style="text-align:left;">generate key initially and re-use for all attempts;</p></li><li><p class="paragraph" style="text-align:left;">delay between, increasing the interval each time (1s, 2s, 4s, 8s...);</p></li><li><p class="paragraph" style="text-align:left;">introduce some element of randomness to avoid many customers all attempting simultaneously after failures;</p></li><li><p class="paragraph" style="text-align:left;">limit the number and move on to checking for completion. Clearly undesirable to continue indefinitely if something was genuinely wrong, further loading an already struggling system.</p></li></ul><p class="paragraph" style="text-align:left;">A couple of other considerations. Expect the key to be valid only for a limited time; after 24 hours at least for Stripe. So obviously all re-attempts should be well within this. And you want to be able to readily identify related requests. So log all keys issued and would presumably want some alerting if one appeared excessively frequently.</p><p class="paragraph" style="text-align:left;">In summary:</p><ul><li><p class="paragraph" style="text-align:left;">request timing out leaves uncertainty as to success;</p></li><li><p class="paragraph" style="text-align:left;">want any action to be idempotent, in particular POSTs;</p></li><li><p class="paragraph" style="text-align:left;">therefore useful if repeat requests could be recognised, returning original response; achieve this with a customer-supplied key, constant for each action;</p></li><li><p class="paragraph" style="text-align:left;">ensure only processed once by recording in a central location, and failing any others with same key but differing content;</p></li><li><p class="paragraph" style="text-align:left;">customer should limit frequency and duration of re-attempts.</p></li></ul><p class="paragraph" style="text-align:left;">So identify some component under your control that may lead to re-attempts (many options suggested above), and consider if it is retry-safe.</p><p class="paragraph" style="text-align:left;">I would be interested to hear others&#39; experiences of processes being duplicated, payments, webhooks, deployments and so on. Happy to feature a few with suitable attribution.</p><div class="image"><img alt="Uptime Engineer logo" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/><div class="image__source"><span class="image__source_text"><p>Uptime Engineer</p></span></div></div><p class="paragraph" style="text-align:center;">👋<b> Find me on </b><a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=idempotency-explained-how-payment-systems-avoid-charging-you-twice" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Twitter</b></a><b> | </b><a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=idempotency-explained-how-payment-systems-avoid-charging-you-twice" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Linkedin</b></a><b> | </b><a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=idempotency-explained-how-payment-systems-avoid-charging-you-twice" target="_blank" rel="noopener noreferrer nofollow"><span style="color:#14928e;"><b>Connect 1:1</b></span></a></p><p class="paragraph" style="text-align:left;"><i><b>Thank you for supporting this newsletter.</b></i><br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=4cb64375-fbe8-4b42-8c3c-870b500cbfdc&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>#45 Uptime Sync: One Missing Server Behind Revolut&#39;s 11-Hour Outage, How OpenAI Scaled Git, and Uber&#39;s Rate Limiter</title>
  <description>Revolut lost database failover because one coordination server had quietly gone missing, OpenAI cut Git push latency nearly 5x, and DigitalOcean&#39;s new &quot;Advanced&quot; Postgres benchmarked with about 70% fewer writes a second.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/b25d7b82-5e93-493e-9f2a-7d22f4b50946/sFck88rcl4s-HD.jpg" length="252603" type="image/jpeg"/>
  <link>https://www.uptime.engineer/p/uptime-sync-45-revolut-outage-openssh-musl-kube-proxy-ipvs</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/uptime-sync-45-revolut-outage-openssh-musl-kube-proxy-ipvs</guid>
  <pubDate>Sat, 21 Nov 2026 11:42:58 +0000</pubDate>
  <atom:published>2026-11-21T11:42:58Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
    <category><![CDATA[Digest]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><div class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - High Value - the best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#389A52;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:4.0px 4.0px 4.0px 4.0px;"><h3 class="heading" style="text-align:left;" id="ai-is-the-new-search-engine-start-s">AI is the new search engine. Start showing up.</h3><div class="image"><a class="image__link" href="https://chatfeatured.com/?source=beehiiv&utm_source=beehiiv&utm_medium=newsletter&utm_campaign=chf-buyer-round-3&utm_content=new-search-engine&utm_term=KHPTNYBUED&_bhiiv=opp_9670f439-b203-43b6-8ac8-0f01468d5c53_b89c8c00&bhcl_id=78fb5c38-e962-4e05-918c-2e1aece9c10d_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/6220fb09-b52f-42ea-8969-a730645ae615/chatfeatured-4-new-search-engine-1332x666__1_.png?t=1794614637"/></a></div><p class="paragraph" style="text-align:left;">Your buyers still search. They just do it in ChatGPT, Claude, Gemini and Perplexity now, and they act on the answer they get.</p><p class="paragraph" style="text-align:left;">Those answers have rankings too. A few companies get named. The rest don&#39;t show up.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://chatfeatured.com/?source=beehiiv&utm_source=beehiiv&utm_medium=newsletter&utm_campaign=chf-buyer-round-3&utm_content=new-search-engine&utm_term=KHPTNYBUED&_bhiiv=opp_9670f439-b203-43b6-8ac8-0f01468d5c53_b89c8c00&bhcl_id=78fb5c38-e962-4e05-918c-2e1aece9c10d_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">ChatFeatured</a> is the AEO platform that does the work to get you named:</p><ul><li><p class="paragraph" style="text-align:left;">See where you rank against competitors on every major AI engine.</p></li><li><p class="paragraph" style="text-align:left;">Find the questions where AI names them and not you.</p></li><li><p class="paragraph" style="text-align:left;">Get the content that changes the answer written and published for you.</p></li></ul><p class="paragraph" style="text-align:left;">WikiSleep grew brand mentions 113% while competing head-on with Calm and Headspace. </p><p class="paragraph" style="text-align:left;">If you already invest in search, this is the next place your buyers look.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://chatfeatured.com/?source=beehiiv&utm_source=beehiiv&utm_medium=newsletter&utm_campaign=chf-buyer-round-3&utm_content=new-search-engine&utm_term=KHPTNYBUED&_bhiiv=opp_9670f439-b203-43b6-8ac8-0f01468d5c53_b89c8c00&bhcl_id=78fb5c38-e962-4e05-918c-2e1aece9c10d_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow"><i>Start for Now</i></a></p></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">Welcome to this week&#39;s Uptime Sync. We start with Revolut&#39;s write-up of its 20 October outage. A Google Cloud zone in London lost power, and the servers that decide which database replica becomes primary couldn&#39;t reach a majority, because one of them had already gone missing without an alert. It took about 11 hours for every service to come back. Then OpenAI explains how it rebuilt Git for its monorepo, cutting median push latency nearly 5x, and how Codex agents in its Performance Factory ran more than 1,700 slowdown investigations in about three months. We also cover how Uber rate limits hundreds of millions of requests a second, why Cloudflare picked QuePaxa, a consensus algorithm with no leader, how LinkedIn runs Kubernetes on more than 500,000 bare-metal servers, how Figma manages tens of thousands of sandboxes, how Zerodha built fast blob storage on SQLite, and a benchmark showing DigitalOcean&#39;s new &quot;Advanced&quot; Postgres is slower than the plan it replaces.</p><p class="paragraph" style="text-align:left;">On the tutorial front: compare ufw, cloud firewalls and Tailscale for keeping a Droplet off the public internet, and limit SSH agent forwarding with ProxyJump and filtered agents. We also cover upgrading PostgreSQL from 16 to 17 with the Percona Operator, promoting Kubeflow models through a gated pull request with Argo CD, scriptable GeoDNS answers on Bunny DNS, and a two-node anycast PowerDNS cluster announced over BGP.</p><p class="paragraph" style="text-align:left;">This week&#39;s projects include Pgboxdb for giving each Git branch or agent its own test database, and Wrkflw for running GitHub Actions workflows locally before you push. Devpush deploys Compose apps on your own server on every push, DNSControl previews DNS changes before they reach your provider, and Cost-xray shows which tool calls and prompts drive your AI agent&#39;s API bill.</p><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Newsworthy Reads</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://revolut.com/blog/post/20octoutagetechnicaloverview?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">Revolut&#39;s October Outage: Technical Overview</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://linkedin.com/blog/engineering/infrastructure/how-linkedin-runs-compute-self-managed-kubernetes-on-500000-bare-metal-servers?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">How LinkedIn Runs Compute: Self-Managed Kubernetes on 500,000+ Bare-Metal Servers</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://figma.com/blog/how-figma-manages-sandboxes-at-scale?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">How Figma manages sandboxes at scale</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://smokentar.com/blog/digitalocean-postgres-benchmark?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">DigitalOcean, this is not how you launch an &#39;Advanced&#39; Postgres database</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://openai.com/index/how-openai-performance-factory-keeps-chatgpt-fast?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">How OpenAI&#39;s Performance Factory keeps ChatGPT fast</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://blog.cloudflare.com/choosing-quepaxa?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">Choosing QuePaxa, an unusual consensus algorithm</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://openai.com/index/scaling-git-at-openai?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">Scaling Git at OpenAI</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://uber.com/in/en/blog/ubers-rate-limiting-system?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">Uber&#39;s Rate Limiting System</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://zerodha.tech/blog/high-performance-distributed-blob-storage?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">Distributed, high-performance blob storage on SQLite</a></p></li></ul><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/ytmawkPTP24" width="100%"></iframe><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/6Tsp_6vqbWo" width="100%"></iframe><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Tutorials of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://flaviocopes.com/tailscale-vs-cloudflare-tunnel-vs-firewall?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">Compare ufw, cloud firewalls and Tailscale for Droplet exposure</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://itnext.io/kubeflow-for-platform-engineers-promoting-a-model-is-a-pull-request-712e63888f42?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">Promote Kubeflow models through a gated pull request with Argo CD</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://kimhq.net/blog/secure-ssh-agent-forwarding?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">Limit SSH agent forwarding with ProxyJump and filtered agents</a></p></li></ul><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/sFck88rcl4s" width="100%"></iframe><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://percona.com/blog/beyond-the-version-bump-running-postgresql-major-upgrades-in-percona-operator-for-postgresql?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">Upgrade PostgreSQL from v16 to v17 with the Percona Operator</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://vincent.bernat.ch/en/blog/2026-bunny-geodns?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">Build scriptable GeoDNS answers on Bunny DNS</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://varunpriolkar.com/2026/11/building-a-global-anycast-dns-cluster-with-powerdns?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">Build a two-node anycast PowerDNS cluster announced over BGP</a></p></li></ul><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Projects of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/pgrundev/pgboxdb?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">Pgboxdb </a>- Run &#39;npx pgboxdb@latest&#39;, copy your dev schema schema-only into a template, then create a separate branch database per agent or Git branch so parallel test runs stop sharing one database.</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/bahdotsh/wrkflw?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">Wrkflw </a>- Run wrkflw validate and then wrkflw run .github/workflows/ci.yml to catch workflow errors and test a CI change locally before pushing to the hosted runner.</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/hunvreus/devpush?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">Devpush </a>- Run a Compose-based service on a spare Linux server and wire a GitHub repository so each push deploys with HTTPS, logs and backups, without adopting a hosted PaaS.</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/DNSControl/dnscontrol?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">DNSControl </a>- Run the Docker preview command against a dnsconfig.js for a test zone to see which provider changes DNSControl would make before pushing anything.</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/tigerless-labs/cost-xray?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">Cost-xray </a>- Run the installer, use your agent for a session, then open cx to see which tool calls and cached prompt blocks drive API spend and remove MCP servers that are injected but never called.</p></li></ul><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/></div><p class="paragraph" style="text-align:center;">👋 Find me on <a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Twitter</a> | <a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Linkedin</a> | <a class="link" href="https://www.instagram.com/askyoshik/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow">Instagram </a>| <a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=45-uptime-sync-one-missing-server-behind-revolut-s-11-hour-outage-how-openai-scaled-git-and-uber-s-rate-limiter" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Connect 1:1</a></p><p class="paragraph" style="text-align:left;">Thank you for supporting this newsletter. Consider sharing this post with your friends.<br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=75f7edbb-583f-4b0e-9c5c-ee6df70693fa&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>The Most Important Tech Skill Of The AI Era (It&#39;s Not Coding)</title>
  <description>AI will generate code in seconds. The engineers that will continue to be useful are the ones that can explain to you why it failed.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/bab90aee-96e8-461b-a0eb-54ccce76ec3d/Glowing_Teal_AI_Profile_Icon.png" length="664049" type="image/png"/>
  <link>https://www.uptime.engineer/p/most-important-tech-skill-ai-era-not-coding</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/most-important-tech-skill-ai-era-not-coding</guid>
  <pubDate>Tue, 17 Nov 2026 05:17:09 +0000</pubDate>
  <atom:published>2026-11-17T05:17:09Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
    <category><![CDATA[Career]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:center;"><b>In partnership with</b></p><div class="image"><img alt="" class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/5db1b53e-3ba2-41b7-bb10-c763b1676e38/logo-light.png?t=1794373896"/></div><p class="paragraph" style="text-align:left;"></p><div id="section" class="section" style="background-color:transparent;border-color:#27B593;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:8.0px 8.0px 8.0px 8.0px;"><h2 class="heading" style="text-align:left;"><b>Pay less than half for every GitHub Actions run</b></h2><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/6d3d1f2b-a790-42bb-95cb-234903efddaa/Screenshot_2026-11-17_100107.png?t=1794890004"/></div><p class="paragraph" style="text-align:left;">Coding agents help you ship faster. They also make your GitHub Actions bill grow.</p><p class="paragraph" style="text-align:left;">On private repos, once your free minutes run out, you pay for every push, PR and rerun. More code from agents means more runs and a bigger bill.</p><p class="paragraph" style="text-align:left;"><b>WarpBuild cuts that bill in two ways:</b></p><ul><li><p class="paragraph" style="text-align:left;">💰 33% cheaper per minute: $0.004 vs GitHub&#39;s $0.006</p></li><li><p class="paragraph" style="text-align:left;">⚡ Shorter runs: my Rust build went from 91s to 52s on the same size machine</p></li></ul><p class="paragraph" style="text-align:left;">Together, that&#39;s less than half the cost per run.</p><p class="paragraph" style="text-align:left;">Switching takes one line in your workflow file. No rewrites, no migration.</p><p class="paragraph" style="text-align:left;">See what it saves on your own pipeline, with $50 free.</p><p class="paragraph" style="text-align:left;">👉 <a class="link" href="https://www.warpbuild.com/start?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=the-most-important-tech-skill-of-the-ai-era-it-s-not-coding" target="_blank" rel="noopener noreferrer nofollow">Get $50 in free credits</a>, code START50</p></div><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - The best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;">I recently polled my new subscribers to my newsletter Uptime Engineer: Tell me something you are stuck on.</p><p class="paragraph" style="text-align:left;">I got a few hundred responses, with many mentioning AI in some form. &quot;I am stuck worrying about AI stealing my job.&quot; / &quot;What roles are safe from AI?&quot; were some of them.</p><p class="paragraph" style="text-align:left;">Completely understandable.</p><p class="paragraph" style="text-align:left;">You can spin up any LLM and get it to produce a working docker file, terraform configuration, CI workflow etc within seconds. In the past it would have taken a junior SRE/devops engineer hours.</p><p class="paragraph" style="text-align:left;">If you&#39;ve recently started out, you may be wondering how you can make yourself useful in this new landscape.</p><p class="paragraph" style="text-align:left;">Let me paint a picture from my experience working on production systems day in, day out.</p><p class="paragraph" style="text-align:left;">It has made generating code easier and cheaper. It hasn&#39;t made deploying and running that code in production easier and cheaper.</p><p class="paragraph" style="text-align:left;">Every piece of code that is generated by AI will still need to be deployed and run on a server, resolved via DNS, served over a load balancer, over TLS etc, backed by a datastore and monitored. More code is being written =&gt; more code will be running in production =&gt; more failures.</p><p class="paragraph" style="text-align:left;">Which brings us to the crux of the question: What to do when it fails?</p><p class="paragraph" style="text-align:left;">There is no AI that can help you answer this question. You have to understand why your system failed.</p><p class="paragraph" style="text-align:left;">There are no courses out there, or YouTube videos with millions of views teaching you this. But it is what makes senior engineers useful and some juniors indispensable to their team so quickly.</p><p class="paragraph" style="text-align:left;">Don&#39;t stop writing code. Continue to do so. It&#39;s just that writing code isn&#39;t the scarce skill any more.</p><p class="paragraph" style="text-align:left;">In this issue:</p><ul><li><p class="paragraph" style="text-align:left;">How most people are learning devops and why that doesn&#39;t make you useful when things fail</p></li><li><p class="paragraph" style="text-align:left;">A shift in my thinking and a habit I&#39;ve developed that I&#39;ve dubbed &quot;Underneath thinking&quot;</p></li><li><p class="paragraph" style="text-align:left;">5 simple steps you can follow to become this person</p></li></ul><h2 class="heading" style="text-align:left;" id="everyone-is-learning-to-build-almos"><b>Everyone Is Learning To Build. Almost Nobody Is Learning Why It Breaks.</b></h2><p class="paragraph" style="text-align:left;">Most people follow a similar path to learn devops. They follow a tutorial/online course, copy-paste the commands as they go and build some application. Once they&#39;ve completed that, they maybe repeat this process and learn to build the next thing. Earn the next cert.</p><p class="paragraph" style="text-align:left;">I&#39;ve labelled this &quot;learning on paper&quot;.</p><p class="paragraph" style="text-align:left;">You never learn why things fail when learning on paper. The tutorial/course was designed to succeed and any errors the author faced were corrected prior to the video being published. You learn how things should look in a successful state. You don&#39;t learn how to identify and recover from failures.</p><p class="paragraph" style="text-align:left;">This is a huge proportion of what you&#39;ll do at a job.</p><p class="paragraph" style="text-align:left;">Let me take you through a typical scenario.</p><p class="paragraph" style="text-align:left;">It&#39;s Friday. A few months after you&#39;ve joined your first job as a SRE/DevOps engineer, users begin reporting that they cannot access your application. You navigate to your monitoring stack and see a flood of 502 errors.</p><p class="paragraph" style="text-align:left;">Your first instinct is to copy-paste the error into an LLM and ask it for help.</p><p class="paragraph" style="text-align:left;">The LLM will return something along the lines of: &quot;Increase the upstream timeout / restart your service / investigate application code&quot;. You&#39;ll follow these instructions to no avail.</p><p class="paragraph" style="text-align:left;">The response isn&#39;t incorrect, but isn&#39;t helpful for your specific problem. A 502 only tells you that the response returned to your client by the intermediate service (e.g. proxy) was an error. It doesn&#39;t tell you if it&#39;s your application or something in between that&#39;s failing. You can&#39;t provide this additional context to the LLM because you don&#39;t know it either!</p><p class="paragraph" style="text-align:left;">All you&#39;ve told the LLM is that you&#39;re seeing a 502. You haven&#39;t told it where in the system it&#39;s failing.</p><p class="paragraph" style="text-align:left;">An experienced engineer will spend some time <a class="link" href="https://www.uptime.engineer/p/how-great-engineers-debug-production-problems?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=the-most-important-tech-skill-of-the-ai-era-it-s-not-coding" target="_blank" rel="noopener noreferrer nofollow">understanding where in the system it&#39;s failing</a>.</p><p class="paragraph" style="text-align:left;">Was the request even sent to our infrastructure? Was the 502 generated by our proxy or application? What are the logs at the relevant time period showing?</p><p class="paragraph" style="text-align:left;">After that, they can narrow down where to start investigating, and use an LLM to help analyse the relevant logs/configs.</p><p class="paragraph" style="text-align:left;">This is also the order of actions suggested in <a class="link" href="https://sre.google/sre-book/effective-troubleshooting/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=the-most-important-tech-skill-of-the-ai-era-it-s-not-coding" target="_blank" rel="noopener noreferrer nofollow">Google&#39;s SRE handbook</a>: Analyse problem report -&gt; examine logs -&gt; generate test request -&gt; hypothesise.</p><h3 class="heading" style="text-align:left;" id="how-did-i-learn-to-do-this"><b>How did I learn to do this?</b></h3><p class="paragraph" style="text-align:left;">By failing, many times.</p><p class="paragraph" style="text-align:left;">I was working on my product DigBizCards in 2020, which allowed customers to set up a custom domain with automatic TLS cert setup. I was unable to find any courses that taught me how to do this. I asked on various forums to no success.</p><p class="paragraph" style="text-align:left;">Eventually I got help from 2 engineers (Siva and Oliver) who had implemented this before to explain the underlying mechanics of domain resolution and TLS certs <a class="link" href="https://caddyserver.com/docs/automatic-https?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=the-most-important-tech-skill-of-the-ai-era-it-s-not-coding#on-demand-tls" target="_blank" rel="noopener noreferrer nofollow">using Caddy</a>, which allowed me to solve my issue.</p><p class="paragraph" style="text-align:left;">What stood out to me was how these engineers explained the concepts and what was going on at each stage of the process, instead of simply telling me to execute a command. I&#39;ve never forgotten that.</p><p class="paragraph" style="text-align:left;">Fast forward to 2022 where I started my own web hosting service and ran it for ~8 months. This was effectively my best &quot;course&quot; on Linux/networking I&#39;ve taken. I had many customers who I had no idea what they&#39;d try and run on my servers (shout out to the crypto miners!) and inevitably ran into many issues that I had to figure out for myself.</p><p class="paragraph" style="text-align:left;">After that, in 2023 I started working as an SRE intern at PhonePe, with a CGPA of 7.2 and a number of failed projects on my resume. I was eventually responsible for operating PhonePe&#39;s largest Nginx cluster (&gt;1B requests/day) - it became second nature to first understand where a failure is happening before trying to fix it.</p><p class="paragraph" style="text-align:left;">I now work at Prophecy as an SRE II (one of the first 2 SREs we&#39;ve hired) and we operate 30+ K8s clusters on GCP/AWS/Azure and have increased our fleet-wide uptime to 99% from ~85-90%.</p><p class="paragraph" style="text-align:left;">Learning to understand what was happening &quot;underneath&quot; allowed me to get here.</p><h3 class="heading" style="text-align:left;" id="a-lesson-i-learned"><b>A lesson I learned</b></h3><p class="paragraph" style="text-align:left;">Senior engineers aren&#39;t inherently smarter than others. They just know more about the types of failures that can occur.</p><p class="paragraph" style="text-align:left;">This appears as some kind of innate &quot;genius&quot; when they come in to resolve an issue, but really they&#39;ve just seen it many times before and know where to look.</p><p class="paragraph" style="text-align:left;">You can cultivate this by intentionally exposing yourself to more failure scenarios (see below).</p><h2 class="heading" style="text-align:left;" id="underneath-thinking"><b>Underneath Thinking</b></h2><p class="paragraph" style="text-align:left;">As the name suggests, the goal of this habit is to understand what is happening underneath. When something fails, where is it failing and how do you know?</p><p class="paragraph" style="text-align:left;">You can apply this by asking yourself:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">What is the expected behaviour?</p></li><li><p class="paragraph" style="text-align:left;">Where is the failure occurring?</p></li><li><p class="paragraph" style="text-align:left;">What information do I have to identify that?</p></li></ol><p class="paragraph" style="text-align:left;">Only then should you begin thinking about what could cause the failure and how to resolve it.</p><p class="paragraph" style="text-align:left;">This will appear to slow you down in the short term but will speed you up significantly once you&#39;ve developed this thinking.</p><p class="paragraph" style="text-align:left;">It&#39;ll also allow you to better utilise LLMs by giving them the context of where the failure is occurring and the information you have, rather than just dumping an error on them and expecting them to solve it.</p><p class="paragraph" style="text-align:left;">And this is the skill that will become more and more valuable as more code is generated by LLMs - being able to understand what code that is running in production is doing and where it may fail.</p><p class="paragraph" style="text-align:left;">Let&#39;s go through each step to help you develop this skill.</p><h2 class="heading" style="text-align:left;" id="developing-the-underneath-habit"><b>Developing the Underneath Habit</b></h2><p class="paragraph" style="text-align:left;"><i>&quot;Learning will come when your application breaks and you try to resolve it&quot; - Me, some time ago.</i></p><p class="paragraph" style="text-align:left;">That will be the case, but we don&#39;t want to rely on production systems failing for us to learn and become better engineers. So let&#39;s intentionally create those scenarios.</p><p class="paragraph" style="text-align:left;">These steps are cumulative and you should do all of them to develop this habit. The first step only takes a few minutes, and by the final step you&#39;ll be able to demonstrate to a company in interviews why you&#39;re a good engineer.</p><h3 class="heading" style="text-align:left;" id="1-dont-paste-into-an-llm-google-bef"><b>1. Don&#39;t paste into an LLM / Google before reading the error + logs</b></h3><p class="paragraph" style="text-align:left;">When an issue occurs, take a few minutes to read the error message and identify the relevant logs that will contain more information about the failure.</p><p class="paragraph" style="text-align:left;">This is more important than you&#39;d think. In Sept 2025, IPinfo suffered a 2h36m outage due to a TLS certificate expiry. They found in their <a class="link" href="https://ipinfo.io/blog/post-mortem-september-17th-api-outage?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=the-most-important-tech-skill-of-the-ai-era-it-s-not-coding" target="_blank" rel="noopener noreferrer nofollow">postmortem</a> that their cert renewal job was failing, with errors in the logs - they simply weren&#39;t monitoring these.</p><p class="paragraph" style="text-align:left;">Similar to how a doctor will ask you where you&#39;re experiencing pain and for how long, before running tests. You&#39;re identifying where it hurts.</p><p class="paragraph" style="text-align:left;">For this week, next time something fails, attempt to identify where it failed and why. You don&#39;t need to be 100% correct, just develop the habit.</p><h3 class="heading" style="text-align:left;" id="2-identify-one-underneath-question-"><b>2. Identify one &quot;underneath&quot; question to learn about each day</b></h3><p class="paragraph" style="text-align:left;">Step 1 will train you when something fails. But you&#39;ll spend most of your time when things aren&#39;t failing. So let&#39;s build your intuition about what is happening &quot;underneath&quot; when things are working.</p><p class="paragraph" style="text-align:left;">Each day, pick something you interact with and ask yourself what is happening underneath.</p><p class="paragraph" style="text-align:left;">E.g. when I access a website:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">My computer will query a DNS resolver to resolve the domain to an IP</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.uptime.engineer/p/how-tls-works-deep-dive?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=the-most-important-tech-skill-of-the-ai-era-it-s-not-coding" target="_blank" rel="noopener noreferrer nofollow">A secure connection is established and the server&#39;s cert will be verified</a></p></li><li><p class="paragraph" style="text-align:left;">My request will reach my server&#39;s load balancer/proxy</p></li><li><p class="paragraph" style="text-align:left;">The load balancer/proxy will forward to my application</p></li><li><p class="paragraph" style="text-align:left;">My application will respond to the request</p></li></ol><p class="paragraph" style="text-align:left;">At each stage something could fail, and I&#39;d be able to identify which by looking at the relevant logs. E.g. if DNS failed to resolve, I&#39;d see no requests reaching my server at all. If the TLS handshake failed, I&#39;d see no requests reaching my application.</p><p class="paragraph" style="text-align:left;">You&#39;re building up your intuition about what things look/sound like when working correctly.</p><p class="paragraph" style="text-align:left;">Similar to how a car mechanic can identify an engine that&#39;s running incorrectly by hearing it, because they&#39;ve listened to so many healthy engines.</p><p class="paragraph" style="text-align:left;">Pick an &quot;underneath&quot; question to learn about each day (spend 10 mins researching) and continue doing so.</p><p class="paragraph" style="text-align:left;">Some questions to learn about this week:</p><ul><li><p class="paragraph" style="text-align:left;">What does my computer use to resolve a domain to an IP?</p></li><li><p class="paragraph" style="text-align:left;">What is the difference between a 404 and 502 error, and which part of the stack returns it?</p></li><li><p class="paragraph" style="text-align:left;">When my container restarts, what happens?</p></li></ul><h3 class="heading" style="text-align:left;" id="3-intentionally-break-something-eac"><b>3. Intentionally break something each week</b></h3><p class="paragraph" style="text-align:left;">Now that you have the foundation, we can start intentionally failing things. You can do this with your own VMs/homelab. Each week, break something.</p><p class="paragraph" style="text-align:left;">Kill a process/service, configure a domain to point to an incorrect IP, create a TLS cert with an expiry of 1 day and revisit the next day, overfill disk space on your server etc.</p><p class="paragraph" style="text-align:left;">Take time to observe how it failed and the errors you received and logs. Then, attempt to fix it for at least 30 minutes without referring to any tutorials before searching.</p><p class="paragraph" style="text-align:left;">Allow yourself to struggle for a short period of time to learn from it.</p><p class="paragraph" style="text-align:left;">Think of it as practising for a fire evacuation. You&#39;ll never know where to run if you only learn during a fire.</p><p class="paragraph" style="text-align:left;">I did this organically when I ran my web hosting service. You get the benefit of doing this at your own leisure.</p><p class="paragraph" style="text-align:left;">Repeat for the next 12 months and you&#39;ll have identified ~50 different ways systems can fail and how to identify where they&#39;re failing.</p><h3 class="heading" style="text-align:left;" id="4-use-ll-ms-as-your-2-nd-opinion"><b>4. Use LLMs as your 2nd opinion</b></h3><p class="paragraph" style="text-align:left;">I&#39;m not saying don&#39;t use LLMs. They are a great tool that will speed you up once you&#39;ve identified where the failure is occurring and have the relevant information.</p><p class="paragraph" style="text-align:left;">The key is what you paste in.</p><p class="paragraph" style="text-align:left;"><b>Weak context:</b> &quot;How do I fix a 502 error on my nginx server?&quot;</p><p class="paragraph" style="text-align:left;"><b>Strong context:</b> &quot;My application is returning a 502 error to clients on path /api/orders since 18:00 today. I have checked the nginx logs and can see &lt;error&gt;. I know my app is up and running, but there doesn&#39;t seem to be anything listening on port 8080. I have tried X to no avail. What else could be preventing my app from listening on its port?&quot;</p><p class="paragraph" style="text-align:left;">You&#39;ve given the LLM a much stronger starting point and will likely get a more useful response as a result. You should also be able to reason about whether the LLM&#39;s answer is likely to fix the problem or not.</p><p class="paragraph" style="text-align:left;">Think of LLMs as a sat-nav - incredibly helpful but not infallible. It may direct you to drive off a cliff if you don&#39;t know any better.</p><p class="paragraph" style="text-align:left;">This is how you can allay your fears about LLMs taking over your role - by knowing where your system can fail and identifying where it has failed.</p><h3 class="heading" style="text-align:left;" id="5-teach-someone-else"><b>5. Teach someone else</b></h3><p class="paragraph" style="text-align:left;">Finally, once you&#39;ve resolved the issue, try to write 5 sentences explaining what you learnt and add to a document.</p><ol start="1"><li><p class="paragraph" style="text-align:left;">Expected behaviour</p></li><li><p class="paragraph" style="text-align:left;">Where it failed</p></li><li><p class="paragraph" style="text-align:left;">Information that allowed you to identify that</p></li><li><p class="paragraph" style="text-align:left;">How you fixed it</p></li><li><p class="paragraph" style="text-align:left;">What you&#39;d do to identify the failure faster</p></li></ol><p class="paragraph" style="text-align:left;">This will help you identify the gaps in your knowledge. Just like if you were to teach a class on the topic and realised you couldn&#39;t confidently explain it to others.</p><p class="paragraph" style="text-align:left;">It will also serve as a great reference for when an interviewer asks you about a failure you encountered and how you resolved it. I&#39;ve been an interviewer and I&#39;ve noticed that many candidates struggle with this question and give a generic response about some issue they&#39;ve had. Having specific examples you can elaborate on will really set you apart.</p><h2 class="heading" style="text-align:left;" id="summary"><b>Summary</b></h2><ul><li><p class="paragraph" style="text-align:left;">When something fails, don&#39;t rush to Google/LLMs. Spend some time understanding the error and what logs will give you more info</p></li><li><p class="paragraph" style="text-align:left;">Learn about one &quot;underneath&quot; question each day to understand what&#39;s happening when things are working</p></li><li><p class="paragraph" style="text-align:left;">Break something on your own infrastructure each week and try to understand why it failed</p></li><li><p class="paragraph" style="text-align:left;">Use LLMs as a second opinion, armed with the context of where the failure occurred and information you&#39;ve gathered</p></li><li><p class="paragraph" style="text-align:left;">Teach others about the failure you encountered and how you fixed it.</p></li></ul><p class="paragraph" style="text-align:left;">You&#39;ll quickly develop the habit of identifying where a failure is occurring, and what information to use to identify it.</p><p class="paragraph" style="text-align:left;">With LLMs able to produce code/configs so quickly, being the engineer who understands why your system failed and how to fix it will be an invaluable skill.</p><p class="paragraph" style="text-align:left;">Reply to this email and tell me about a recent failure you&#39;ve experienced and where it was occurring. I may include some responses in a future issue (with credit).</p><div class="image"><img alt="Uptime Engineer logo" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/><div class="image__source"><span class="image__source_text"><p>Uptime Engineer</p></span></div></div><p class="paragraph" style="text-align:center;">👋<b> Find me on </b><a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=the-most-important-tech-skill-of-the-ai-era-it-s-not-coding" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Twitter</b></a><b> | </b><a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=the-most-important-tech-skill-of-the-ai-era-it-s-not-coding" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Linkedin</b></a><b> | </b><a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=the-most-important-tech-skill-of-the-ai-era-it-s-not-coding" target="_blank" rel="noopener noreferrer nofollow"><span style="color:#14928e;"><b>Connect 1:1</b></span></a></p><p class="paragraph" style="text-align:left;"><i><b>Thank you for supporting this newsletter.</b></i><br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=2f632dc4-ba93-4a81-bd1a-b7204cae18e4&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>#44 Uptime Sync: A CI Secret Stealer in 61,000 Repos, GitHub&#39;s New Git Storage, and Kubernetes Pods Starved of CPU</title>
  <description>How one empty resources: {} line gave Kubernetes pods up to 9x less CPU, and how capping one lookup took Sentry&#39;s database from 76% to 19% CPU.</description>
  <link>https://www.uptime.engineer/p/ci-secret-stealer-61000-repos-github-git-storage-kubernetes-cpu-starvation</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/ci-secret-stealer-61000-repos-github-git-storage-kubernetes-cpu-starvation</guid>
  <pubDate>Sat, 14 Nov 2026 04:09:32 +0000</pubDate>
  <atom:published>2026-11-14T04:09:32Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
    <category><![CDATA[Digest]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - High Value - the best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;"></p><div class="image"><a class="image__link" href="https://topmate.io/yoshik/2340122?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" rel="noopener" target="_blank"><img alt="SRE/DevOps Interview Prep Guide" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/61f4bbc7-0d39-49a0-8a97-15201e9b2428/uptime.engineer.png?t=1793074854"/></a><div class="image__source"><span class="image__source_text"><p>SRE/DevOps Interview Prep Guide</p></span></div></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">Welcome to this week&#39;s Uptime Sync. We start with wfx-loot, a campaign that used stolen GitHub credentials to push a CI secret stealer into tens of thousands of repositories, and with how GitHub rebuilt its Git storage to handle 7,200 pushes a second. Then Sentry explains how a few broken release names overloaded its database, and we look at why one empty resources: {} block makes Kubernetes 1.34 to 1.36 pods BestEffort. We also cover the GCP europe-west2-b outage, how Cloudflare halved DNS build delay and cut memory use by 85%, Uber&#39;s Shard Manager, how Yelp moved its Cassandra fleet between Kubernetes clusters without copying data, how Atlassian scaled Jira to about 6 million versions, and a large-transaction binary log optimization AWS contributed to MySQL.<br><br>On the tutorial front: raise and verify file-descriptor limits for a self-hosted LLM gateway, and triage ImagePullBackOff from kubelet events to a fix. We also cover checking PostgreSQL indexes and constraints after a glibc upgrade, a default-deny baseline with GKE ClusterNetworkPolicy, sizing Java container memory for heap plus non-heap, and DNS failover between AWS and Azure with Route 53 and Terraform. In the videos, a retired Microsoft engineer explains what broke in the Outlook outage, Hello Interview shares a framework for any system design interview, and Hussein explains why you are not replaceable.<br><br>This week&#39;s projects include Restic for backing up and restoring a working directory, and Kumo for running AWS SDK integration tests locally without AWS credentials. Ggshield scans your repository for leaked secrets, Coolify hosts apps and their databases on your own server without a managed PaaS, and Llmgateway puts one OpenAI-compatible endpoint in front of several LLM providers.</p><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Newsworthy Reads</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://surfingcomplexity.blog/2026/11/08/quick-thoughts-on-the-gcp-europe-west2-b-outage?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">Quick thoughts on the GCP europe-west2-b outage</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://blog.sentry.io/broken-release-database-load?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">How a broken release name overloaded our database</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://dev.to/devopsdaily/an-empty-resources-makes-kubernetes-134-to-136-pods-besteffort-2p15?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">An Empty resources: {} Makes Kubernetes 1.34 to 1.36 Pods BestEffort</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://aws.amazon.com/blogs/database/aws-contributes-a-large-transaction-binary-log-optimization-to-mysql?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">AWS contributes a large-transaction binary log optimization to MySQL</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://blog.cloudflare.com/dns-targeted-zone-builds?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">How we halved DNS build delay and cut memory use by 85%</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://uber.com/us/en/blog/introducing-shard-manager?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">Introducing Shard Manager</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://engineeringblog.yelp.com/2026/11/zero-copy-cassandra-kubernetes-migration.html?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">Zero-Copy Migration: How Yelp Moved Its Cassandra Fleet Between Kubernetes Clusters</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://atlassian.com/blog/jira/scaling-jira-to-6m-versions?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">Scaling Jira to ~6M Versions</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.blog/engineering/architecture-optimization/inside-githubs-new-git-storage-architecture?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">GitHub&#39;s new Git storage architecture</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://aikido.dev/blog/compromised-github-accounts-push-ci-secret-stealer-to-tens-of-thousands-of-repositories?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">wfx-loot campaign pushes CI secret stealer to tens of thousands of repositories</a></p></li></ul><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/wwVxCRYaYfs" width="100%"></iframe><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/Q5qPLT0vhsk" width="100%"></iframe><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Tutorials of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://sitepoint.com/what-breaks-when-a-self-hosted-llm-gateway-hits-1-000-concurrent-streams?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">Raise and verify file-descriptor limits for a self-hosted LLM gateway</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://medium.com/@benjamin_84760/kubernetes-imagepullbackoff-what-it-means-and-how-to-fix-it-130d5bdcc3f7?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">Triage Kubernetes ImagePullBackOff from kubelet events to a fix</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://percona.com/blog/ten-ways-a-glibc-change-can-break-your-postgresql-cluster?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">Audit PostgreSQL indexes and constraints after a glibc upgrade</a></p></li></ul><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/FkLAEAcQXcc" width="100%"></iframe><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://cloud.google.com/blog/topics/developers-practitioners/experimenting-with-clusternetworkpolicy-in-gke?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">Apply a GKE ClusterNetworkPolicy baseline default-deny</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://zhukovskyi.space/blog/jvm-oomkilled-kubernetes?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">Size Java container memory limits for heap plus non-heap</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://dev.to/samobeng14dev/i-built-a-website-that-fails-over-from-aws-to-azure-a-terraform-walkthrough-and-every-error-i-hit-2ooa?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">Build Route 53 DNS failover between AWS and Azure with Terraform</a></p></li></ul><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Projects of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/restic/restic?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">Restic </a>- Initialize a local restic repository, back up a working directory, then restore a file from the snapshot to verify your backup and recovery path.</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/sivchari/kumo?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">Kumo </a>- Point an AWS SDK v2 integration test suite at a local kumo container on port 4566 so S3, SQS or DynamoDB tests run in CI without AWS credentials or cloud cost.</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/GitGuardian/ggshield?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">Ggshield </a>- Run ggshield secret scan repo . to scan your repository for leaked secrets.</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/coollabsio/coolify?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">Coolify </a>- Install it on a spare Linux server with the documented one-line script to host a static site or containerized app and its database without a managed PaaS.</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/theopenco/llmgateway?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">Llmgateway </a>- Deploy the unified Docker image on your own infrastructure to put one OpenAI-compatible endpoint in front of several LLM providers, then review per-model token usage and cost data.</p></li></ul><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/></div><p class="paragraph" style="text-align:center;">👋 Find me on <a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Twitter</a> | <a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Linkedin</a> | <a class="link" href="https://www.instagram.com/askyoshik/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow">Instagram </a>| <a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=44-uptime-sync-a-ci-secret-stealer-in-61-000-repos-github-s-new-git-storage-and-kubernetes-pods-starved-of-cpu" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Connect 1:1</a></p><p class="paragraph" style="text-align:left;">Thank you for supporting this newsletter. Consider sharing this post with your friends.<br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=f056cf45-46c6-4c68-93de-c383cd2ef8eb&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Linux Load Average, I/O Wait and Steal Time Explained</title>
  <description>Two 2 vCPU machines both show 100% CPU. One finishes the same build much sooner. How to tell what each one is actually waiting on</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/1546024f-44ee-41a0-b080-5aa10a4119c1/65K_CONNECTION_MYTH.png" length="133481" type="image/png"/>
  <link>https://www.uptime.engineer/p/linux-load-average-io-wait-and-steal-time-explained</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/linux-load-average-io-wait-and-steal-time-explained</guid>
  <pubDate>Wed, 11 Nov 2026 05:20:27 +0000</pubDate>
  <atom:published>2026-11-11T05:20:27Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
    <category><![CDATA[Linux]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:center;"><b>In partnership with</b></p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/5db1b53e-3ba2-41b7-bb10-c763b1676e38/logo-light.png?t=1794373896"/></div><p class="paragraph" style="text-align:left;"></p><div id="section" class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - The best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;"></p><div id="section" class="section" style="background-color:transparent;border-color:#27B593;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:8.0px 8.0px 8.0px 8.0px;"><h2 class="heading" style="text-align:left;" id="make-your-git-hub-actions-builds-43"><b>Make your GitHub Actions builds 43% faster by changing one line</b></h2><div class="image"><img alt="" class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/a6c29d1b-5373-4291-9696-fc54367c9651/Screenshot_2026-11-11_at_10.36.52_AM.png?t=1794373621"/></div><p class="paragraph" style="text-align:left;">Your code is ready. Your build isn&#39;t.</p><p class="paragraph" style="text-align:left;">Every push, PR and rerun waits in the same slow queue. Now that coding agents open PRs all day, those waits add up to hours.</p><p class="paragraph" style="text-align:left;">WarpBuild gives you faster, cheaper machines for GitHub Actions. You change one line, and your workflows keep working exactly as before.</p><p class="paragraph" style="text-align:left;">What I saw when I tested it (Rust build, same commit, same 2 vCPU size):</p><ul><li><p class="paragraph" style="text-align:left;">⚡ 91s → 52s per build</p></li><li><p class="paragraph" style="text-align:left;">💰 Less than half the cost per run</p></li><li><p class="paragraph" style="text-align:left;">✏️ 1 line changed, nothing else</p></li></ul><div class="codeblock"><pre><code>runs-on: warp-ubuntu-latest-x64-2x</code></pre></div><p class="paragraph" style="text-align:left;">Try it on your own repo with $50 free. No card needed.</p><div class="button" style="text-align:center;"><a target="_blank" rel="noopener nofollow noreferrer" class="button__link" style="background-color:#27B593;" href="https://www.warpbuild.com/start?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=linux-load-average-i-o-wait-and-steal-time-explained"><span class="button__text" style=""><b>Claim your $50 credits</b></span></a></div></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">Both machines report 100% cpu. One completes the same job faster than the other. How do we figure out what each machine is starved for. <br><br>We take the same job and run it on two machines. They both say they have 2 vCPU available. We use the same code at the same commit and run the same commands. <br><br>Machine one completes in less than a minute. Machine two completes in around half as long again. <br><br>We check top on both machines and notice the cpu is sitting around 100%. Both of these machines were working as hard as they could. One of them was able to complete more work though. <br><br>If you have ever seen a high cpu or load average of 4 on a box and didnt know what to do next. Heres why. They are both reporting true values. Its just not the whole picture. <br><br>By the end of this article you will know how to identify if a linux machine is starved for cpu, starved for disk io or starved for the underlying host. You will also know how many vCPU&#39;s would fix your problem if you added more.</p><h2 class="heading" style="text-align:left;" id="what-does-a-v-cpu-buy-you"><b>What does a vCPU buy you </b></h2><p class="paragraph" style="text-align:left;">A vCPU on most cloud providers and ci machines will be a thread on a shared host machine. With most x86 chips today they are dual threaded (hyperthreading). So a box with 2 vCPU&#39;s is most likely one physical core that is split into two threads. Those two threads will share resources on the core. <br><br>There are some arm chips that will allocate 1 core per vCPU. So when you see 2 vCPU on a machine it may not give you the same amount of power. <br><br>This is where our two build boxes can start to vary. They could be running on a newer chip with more clock speed and larger cache allowing each cpu cycle to do more work. Or they could be sharing their host with other workloads. Maybe they are writing to local disk and the other is using network attached storage. The amount of vCPU&#39;s you have only tells you how many threads can execute at the same time. Not how powerful each one is.</p><h2 class="heading" style="text-align:left;" id="what-cpu-percent-is-telling-you"><b>What CPU percent is telling you</b></h2><p class="paragraph" style="text-align:left;">CPU usage is measured by time. There are multiple counters the kernel tracks for each cpu and classifies time into one of these categories. Programs like top will display how much of the last sample you spent in each category. <br><br>So when you see 100% cpu that just means the cpu wasnt idle. It doesnt say how much work was done in those seconds. 100% on a slower cpu and 100% on a faster cpu are the same. <br><br>These are the categories that will show up on your %Cpu(s) line in top. They will also show up in vmstat. </p><ul><li><p class="paragraph" style="text-align:left;">us: Userspace programs doing work. Our compilers. </p></li><li><p class="paragraph" style="text-align:left;">sy: Kernel spending time helping those userspace programs. System calls, memory, network etc. </p></li><li><p class="paragraph" style="text-align:left;">ni: Nice. Running userspace programs with a higher nice value (lower priority). </p></li><li><p class="paragraph" style="text-align:left;">id: Idle. Cpu is not doing anything. </p></li><li><p class="paragraph" style="text-align:left;">wa: IO wait. Cpu is idle and at least one task is waiting on io. </p></li><li><p class="paragraph" style="text-align:left;">hi and si: Hardware interrupt and software interrupt. If you have lots of network activity you may see more si. </p></li><li><p class="paragraph" style="text-align:left;">st: Steal. Your vCPU wanted to run but your underlying host decided to let another virtual machine use that cpu. </p></li></ul><p class="paragraph" style="text-align:left;">There are a couple of these that will trip people up. </p><p class="paragraph" style="text-align:left;"><b>IO Wait</b> is idle time. If you have 40% io wait your cpu is not working on disk. Your cpu is doing nothing and the kernel is telling you that a task is waiting on io. If you have another task that is keeping your cpu busy at the same time your io wait will not show up. So you can have a low io wait and still have disk problems. Well cover disk later. </p><p class="paragraph" style="text-align:left;"><b>Steal </b>is when another virtual machine used your cpu. This will only show up on virtual machines. On bare metal it will always be 0. If your steal is at 25% then your virtual cpu wanted to run but was only allowed to run 75% of the time. Some machine types will throttle you once you use all of your cpu credits. These may also show up as steal.</p><h2 class="heading" style="text-align:left;" id="how-the-scheduler-views-tasks"><b>How the scheduler views tasks </b></h2><p class="paragraph" style="text-align:left;">Any given task (process or thread) will be in one of these states. Its either executing on a cpu or its ready to execute but is waiting in the runqueue. Or it could be in an un-interruptable sleep. These will show up as D in ps or top. Usually because its waiting on a disk or network drive to return data. It will not respond to signals until its io has completed. Even a kill -9 wont work. If its sleeping on something like a timer it will not be considered. <br><br>A task will move between these states like so</p><div class="image"><img alt="Diagram of Linux task states (running, runnable in the run queue, and uninterruptible sleep) and how a task moves between them" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/3afcc902-f788-400b-ade5-97314c167aeb/Linux_Process_States_and_Load_Average.png?t=1794373146"/><div class="image__source"><span class="image__source_text"><p>How a Linux task moves between running, runnable and uninterruptible sleep (D) states.</p></span></div></div><h2 class="heading" style="text-align:left;" id="load-average-explained"><b>Load Average explained </b></h2><p class="paragraph" style="text-align:left;">When you type <code>uptime</code> you will see three numbers</p><div class="image"><img alt="Terminal output of the uptime command showing load averages of 3.91, 2.40 and 1.12" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/7e8c1ad8-5c28-4cc6-a55d-fa61d90c41a4/zsh__5_.png?t=1794373105"/><div class="image__source"><span class="image__source_text"><p>uptime output: 1, 5 and 15 minute load averages of 3.91, 2.40 and 1.12.</p></span></div></div><p class="paragraph" style="text-align:left;">These are the number of tasks that are running or ready to run over the past 1, 5 and 15 minutes. They are averaged with an exponential decay so more recent seconds will have more weight. You can see a spike show up in the 1 minute average and eventually fall off in the 15 minute average. In this example we have 3.91, 2.40 and 1.12 so our load has been increasing over the past few minutes. <br><br>Load average means nothing by itself. You need to know how many cpus you have</p><div class="image"><img alt="Terminal output showing how many CPUs the machine has" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/7d49967f-68d8-4fbd-b9a9-1e483b734c23/zsh__6_.png?t=1794373126"/><div class="image__source"><span class="image__source_text"><p>CPU Count</p></span></div></div><p class="paragraph" style="text-align:left;">A load average of 3.91 on 2 cpus means on average we had 4 tasks that wanted a cpu or were waiting on io. If we had 16 cpus a load average of 3.91 would be very low. <br><br>One thing that makes linux different from other unix based systems is that load average includes tasks that are in a D state. So you can have a load average of 8 on a machine with 2 cpus and see your cpu is only 70% busy. In this example you are not starved for cpu. You have 6 tasks that are waiting on your disk. A high load average just means something is waiting in a queue. You still need to figure out what queue.</p><h2 class="heading" style="text-align:left;" id="tools-to-use-and-what-to-look-for"><b>Tools to use and what to look for</b></h2><p class="paragraph" style="text-align:left;"><br><code>top, vmstat and uptime</code> are all in the procps package which most systems should have installed. <code>mpstat, iostat and pidstat</code> are in the sysstat package (apt install sysstat). Depending on your version of these programs the columns may change a bit. Make sure to look at the header of your program to understand what you are looking at. <br><br><code>vmstat 1 </code>is a great place to start. Below is our fast machine while it is compiling.</p><div class="image"><img alt="Terminal output of vmstat 1 on the fast machine during a compile, showing high user CPU time and no I/O wait or steal" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/c3476a55-200d-4645-b0d1-b5ce990d9d57/zsh__3_.png?t=1794373068"/><div class="image__source"><span class="image__source_text"><p>vmstat 1</p></span></div></div><p class="paragraph" style="text-align:left;">Ignore the first line of data when you are watching vmstat live. It shows you stats since boot. r is how many tasks are runnable. Meaning they are running or waiting for a cpu. b is how many are in D state. The last 5 columns are the cpu stats we talked about earlier. We have 4-5 tasks running our compiler and they are all userspace time. No wait on disk and no steal. <br><br><code>mpstat -P ALL 1</code> will give you the same stats but broken down by cpu. This is helpful if you see one cpu pegged and another that is not. <br><br><code>iostat -x 1 </code>will give you disk stats. Below is a snippet of the output.</p><div class="image"><img alt="Terminal output of iostat -x 1 showing disk statistics including await, aqu-sz and %util" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/7b20ee4d-0be0-423d-a2a6-0335aac2eef3/zsh__2_.png?t=1794373023"/><div class="image__source"><span class="image__source_text"><p>iostat -x 1: watch await and aqu-sz, not just %util.</p></span></div></div><p class="paragraph" style="text-align:left;">Await is how many milliseconds it took for an io to complete. Including how long it spent waiting in the queue. <code>aqu-sz</code> is the amount of requests that were queued up. <code>%util</code> is the percentage of time that disk was being used. On a mechanical disk 100% would mean its maxed out. SSD&#39;s and nvme drives can handle multiple requests at the same time so 100% just means its busy. Look at the await times and queue size to determine if your disk is overloaded. <br><br><code>pidstat 1</code> will show you which process is taking up the time.</p><div class="image"><img alt="Terminal output of pidstat 1 showing per-process CPU usage" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/5829502b-7886-4ef0-bd2e-d0e16178011e/zsh__1_.png?t=1794373003"/><div class="image__source"><span class="image__source_text"><p>pidstat 1 shows which process is using the CPU.</p></span></div></div><p class="paragraph" style="text-align:left;">On newer versions of sysstat you will see a wait column. This means your process is waiting on a cpu to become available. This is a good indicator that you are starved for cpu. <code>pidstat -d 1</code> will show you which processes are doing io. <br><br><code>/proc/pressure/</code> (kernel 4.20+) will show you how much time your processes are being stalled on a given resource.</p><div class="image"><img alt="Contents of /proc/pressure showing CPU, I/O and memory pressure stall metrics such as avg10=48.20" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/34cdb811-6a72-4b38-8946-2d9a3a0374bc/zsh__4_.png?t=1794373086"/><div class="image__source"><span class="image__source_text"><p>/proc/pressure shows how long tasks are stalled waiting on CPU, I/O or memory.</p></span></div></div><p class="paragraph" style="text-align:left;">If you see some avg10=48.20 on cpu that means your process was waiting on a cpu for 48% of the last 10 seconds. Full means that all processes were waiting on io.</p><h2 class="heading" style="text-align:left;" id="3-things-your-build-can-be-starved-"><b>3 things your build can be starved for</b></h2><p class="paragraph" style="text-align:left;">Going back to our build that was slower on one machine than the other. There are a few things that could be happening. <br><br><b>Starved for CPU </b><br><br>Your <code>vmstat</code> will show r higher than your cpu count. Us will be high and your io wait and steal will be 0. Your <code>pidstat</code> will show processes with a high wait column. <code>/proc/pressure/cpu</code> will also be high. Adding more cpu&#39;s or getting a faster cpu will solve this. As long as your workload can run in parallel. <br><br><b>Starved for Disk </b> <br><br>Your load average will be high. But your cpu usage will be lower. You will see your b column increase in <code>vmstat</code> along with your wa. When you check your disk with <code>iostat -x</code> you will see the await times and queue size increase. This is what would happen if your build was writing many small files to a slow disk. To find what tasks are waiting on your disk run</p><div class="codeblock"><pre><code>ps -eo state,pid,cmd | awk &#39;$1 == &quot;D&quot;&#39;</code></pre></div><p class="paragraph" style="text-align:left;"><code>ps -eo</code> allows you to print certain columns from <code>ps</code>. In this case we want to see the state of the process, the pid and the command. The <code>awk</code> will filter for any process in a D state. Adding cpu&#39;s will not help you here. Your tasks are not waiting on cpu. You would want to add a faster disk. Reduce the amount of io your process is doing or have enough memory to hold your data in the page cache. <br><br><b>Starved for Host</b> <br><br>If your <code>mpstat</code> shows a high steal column you are starved for your underlying host. Maybe your workload is ready to run but your host is allowing other processes to use your cpu. Changing your workload will not fix this. You would need a different host or machine type.</p><h2 class="heading" style="text-align:left;" id="which-one-is-our-example"><b>Which one is our example? </b></h2><p class="paragraph" style="text-align:left;">Well if we saw our steal column was around 25% then our cpu is only running 75% of the time. If our steal column was 0 and us was 100 then we have a slower cpu on one machine than the other. Just run vmstat 1 on both machines and you will see the difference.</p><h2 class="heading" style="text-align:left;" id="how-to-debug-your-problem"><b>How to debug your problem </b></h2><p class="paragraph" style="text-align:left;">Check your load average against the number of cpu&#39;s you have. If its higher you have something waiting in a queue. <br><br>Check <code>vmstat</code> or <code>mpstat</code> to see if you have high userspace/system time, io wait or steal. See if you have more tasks ready to run than cpu&#39;s you have. <br><br>Check what process is causing the problem with pidstat. Or use ps to find tasks that are in a D state. <br><br>Fix the problem. If your userspace is high you may need more cpu&#39;s. If your system time is high maybe you are making too many system calls or switching context too often. Io wait and D state tasks point to disk problems. Steal means your host.</p><h2 class="heading" style="text-align:left;" id="when-will-adding-v-cp-us-help"><b>When will adding vCPU&#39;s help </b></h2><p class="paragraph" style="text-align:left;">Adding vCPU&#39;s will help if your workload can run in parallel. And you are already queueing up. Something like a compile that can run many jobs at once. <br><br>It will not help if your workload is single threaded. You will see one cpu at 100% and the rest idle in <code>mpstat -P ALL</code>. You would need a faster cpu or change your code to be parallel. Adding cpu&#39;s also will not help if you are io bound. Your tasks are in a D state and are not waiting on cpu. <br><br>Another scenario is if you are waiting on locks in your application. Adding more cpu&#39;s will just give you more processes that are waiting on a lock. You will see your system time go up and possibly your cs (context switches) column in <code>vmstat</code>.</p><h2 class="heading" style="text-align:left;" id="debugging-for-yourself"><b>Debugging for yourself </b></h2><p class="paragraph" style="text-align:left;">Find a vm or laptop you can play with. Do not do this on a production server. Open two terminal windows. Run vmstat 1 in the first window. <br><br>In the second window overload your cpu with </p><div class="codeblock"><pre><code>for i in $(seq $(( $(nproc) + 2 ))); do yes &gt; /dev/null &amp; done </code></pre></div><p class="paragraph" style="text-align:left;"><br>This will start (number of cpu&#39;s + 2) processes that print y to stdout. We redirect that to /dev/null so its just using cpu. The & will put each process in the background. You should see your r column increase past your cpu count. And your us column shoot up. After a minute check your uptime and load average against your number of cpu&#39;s. Kill all of your processes with </p><div class="custom_html"> pkill yes </div><p class="paragraph" style="text-align:left;">Now overload your disk with </p><div class="codeblock"><pre><code>dd if=/dev/zero of=./ddtest bs=1M count=2048 oflag=direct status=progress  

rm ./ddtest  </code></pre></div><p class="paragraph" style="text-align:left;">This will write 2gb of zeros to a file. Of 1mb blocks. By using <code>oflag=direct</code> we bypass the page cache and force the io to hit the disk. Note this may not work if you are on a ramdisk like tmpfs. Try to do this in a normal directory. You should see your <code>wa</code> and <code>b</code> column increase. Also check <code>iostat -x 1</code> in a third window to see your disk stats. Your load average will go up but your cpu should be low. <br><br>See how both of these scenarios had high load averages. But they had very different issues. Next time you see a high cpu check what your processes are waiting on.</p><p class="paragraph" style="text-align:left;"></p><div class="image"><img alt="Uptime Engineer logo" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/><div class="image__source"><span class="image__source_text"><p>Uptime Engineer</p></span></div></div><p class="paragraph" style="text-align:center;">👋<b> Find me on </b><a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=linux-load-average-i-o-wait-and-steal-time-explained" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Twitter</b></a><b> | </b><a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=linux-load-average-i-o-wait-and-steal-time-explained" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Linkedin</b></a><b> | </b><a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=linux-load-average-i-o-wait-and-steal-time-explained" target="_blank" rel="noopener noreferrer nofollow"><span style="color:#14928e;"><b>Connect 1:1</b></span></a></p><p class="paragraph" style="text-align:left;"><i><b>Thank you for supporting this newsletter.</b></i><br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=5b8f640c-0a38-4079-9c2c-19e2f843f784&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>#43 Uptime Sync: A 7-Day Package Cooldown, a Three-Bug GKE Outage, and 64-Day Certificates</title>
  <description>How a Kubernetes networking mystery ended in a Linux kernel patch, and check your certificate renewals before Let&#39;s Encrypt shortens them.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f79be524-6d8a-4e56-9823-6b15315a87e8/ErB1SRcksDc-HD.jpg" length="111397" type="image/jpeg"/>
  <link>https://www.uptime.engineer/p/7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates</guid>
  <pubDate>Sat, 07 Nov 2026 06:21:36 +0000</pubDate>
  <atom:published>2026-11-07T06:21:36Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
    <category><![CDATA[Digest]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;"></p><div id="section" class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - High Value - the best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#259C6B;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><h3 class="heading" style="text-align:left;">1,000+ Proven ChatGPT Prompts That Help You Work 10X Faster</h3><div class="image"><a class="image__link" href="https://magic.beehiiv.com/v1/faa6a747-8c1c-43c1-8155-91aa43268f01?email={{email}}&redirect_to=https%253A%252F%252Facademy.superhuman.ai%2Fstart%3Femail%3D{{email}}&utm_source=beehiiv&utm_campaign=KHPTNYBUED&redirect_delay=3&_bhiiv=opp_9d4b557e-cc2f-4fdd-bc66-a375c5965bea_d22f5b49&bhcl_id=80ba82b7-bc8a-4607-9d34-accbfd0c3212_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/a0648958-724f-487b-9c63-dac45a3565e2/1000_ChatGPT_Prompts_1000_X_600_px_V2.jpg?t=1772665881"/></a></div><p class="paragraph" style="text-align:left;">ChatGPT is insanely powerful.</p><p class="paragraph" style="text-align:left;">But most people waste 90% of its potential by using it like Google.</p><p class="paragraph" style="text-align:left;">These <a class="link" href="https://magic.beehiiv.com/v1/faa6a747-8c1c-43c1-8155-91aa43268f01?email={{email}}&redirect_to=https%253A%252F%252Facademy.superhuman.ai%2Fstart%3Femail%3D{{email}}&utm_source=beehiiv&utm_campaign=KHPTNYBUED&redirect_delay=3&_bhiiv=opp_9d4b557e-cc2f-4fdd-bc66-a375c5965bea_d22f5b49&bhcl_id=80ba82b7-bc8a-4607-9d34-accbfd0c3212_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">1,000+ proven ChatGPT prompts</a> fix that and help you work 10X faster.</p><p class="paragraph" style="text-align:left;">Sign up for Superhuman AI and get:</p><ul><li><p class="paragraph" style="text-align:left;">1,000+ ready-to-use prompts to solve problems in minutes instead of hours—tested & used by 1M+ professionals</p></li><li><p class="paragraph" style="text-align:left;">Superhuman AI newsletter (3 min daily) so you keep learning new AI tools & tutorials to stay ahead in your career—the prompts are just the beginning</p></li></ul><p class="paragraph" style="text-align:left;"><a class="link" href="https://magic.beehiiv.com/v1/faa6a747-8c1c-43c1-8155-91aa43268f01?email={{email}}&redirect_to=https%253A%252F%252Facademy.superhuman.ai%2Fstart%3Femail%3D{{email}}&utm_source=beehiiv&utm_campaign=KHPTNYBUED&redirect_delay=3&_bhiiv=opp_9d4b557e-cc2f-4fdd-bc66-a375c5965bea_d22f5b49&bhcl_id=80ba82b7-bc8a-4607-9d34-accbfd0c3212_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Claim your free prompts</a></p><p class="paragraph" style="text-align:left;"></p></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">Welcome to this week&#39;s Uptime Sync. We start with a company that blocks every new npm and PyPI release for seven days, and why that wait would have caught this year&#39;s big supply-chain attacks. Then Google Cloud walks through a GKE outage caused by three separate bugs in three layers, fixed in the end by a Linux kernel patch. We also look at how OpenAI scaled storage for over 1 billion ChatGPT users, how Confluent cut controller restarts from 6 hours to 1 minute, what Let&#39;s Encrypt&#39;s move to 64-day certificates means for your renewal setup, how PlanetScale designs planned switchovers, and why one team replaced 50+ PHP workers with a single Go process.</p><p class="paragraph" style="text-align:left;">On the tutorial front: find out what happens when your EKS version reaches end of support, and how to handle secrets in Helm without leaking them. We also cover building a multi-tenant EKS platform for 12 teams, tracing Kueue admission with Headlamp, and a deep dive into auto scaling response times on Amazon ECS.</p><p class="paragraph" style="text-align:left;">This week&#39;s projects include Tyk, an open source API and AI gateway with REST, GraphQL, gRPC and MCP support, and Restic for fast, secure backups. Uptime Kuma gives you simple self-hosted monitoring, Serie draws git commit graphs right in your terminal, and Nasiko is an open runtime for agents, coding harnesses and tools.</p><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Newsworthy Reads</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://brunoj.com/nothing-installs-at-our-company-until-its-a-week-old/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow">Nothing Installs at Our Company Until It&#39;s a Week Old</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://cloud.google.com/blog/products/networking/the-three-layer-gke-network-mystery?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow">Google Cloud - A three-layer networking mystery</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://openai.com/index/scaling-storage-one-billion-users-part-two/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow">Rapidly scaling online storage to serve over 1 billion ChatGPT users</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://developer.confluent.io/blog/controller-checkpointing/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow">From 6 Hours to 1 Minute: Checkpointing Kubernetes-style Controllers</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://devops-daily.com/posts/lets-encrypt-64-day-certificates-renewal-check?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow">Let&#39;s Encrypt Goes to 64-Day Certificates</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://planetscale.com/blog/designing-a-planned-switchover-for-minimum-disruption?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow">Designing a planned switchover for minimum disruption</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://sentinel.rootstuff.io/blog/laravel-edge-workers-to-go-probes?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow">I Replaced 50+ PHP Workers With One Go Process</a></p></li></ul><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/ZjPF8yZ83Wo" width="100%"></iframe><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/ErB1SRcksDc" width="100%"></iframe><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Tutorials of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.fairwinds.com/blog/what-happens-when-your-eks-version-reaches-end-of-support?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow">What Happens When Your EKS Version Reaches End of Support?</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://blog.gitguardian.com/how-to-handle-secrets-in-helm/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow">How to Handle Secrets in Helm</a></p></li></ul><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/QNwfiqj3DXA" width="100%"></iframe><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://dev.to/garrett_yan/building-a-multi-tenant-eks-platform-for-12-teams-rbac-network-policies-and-karpenter-with-3do9?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow">Building a Multi-Tenant EKS Platform for 12 Teams</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://kubernetes.io/blog/2026/10/14/tracing-kueue-admission-with-headlamp/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow">Tracing Kueue Admission with Headlamp</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://aws.amazon.com/blogs/containers/deep-dive-auto-scaling-response-times-on-amazon-ecs/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow">Deep dive: Auto scaling response times on Amazon ECS</a></p></li></ul><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Projects of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/TykTechnologies/tyk?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow">Tyk </a>- Open Source API and AI Gateway supporting REST, GraphQL, TCP, gRPC and MCP (Model Context Protocol)</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/restic/restic?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow">Restic </a>- Fast, secure, efficient backup program</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/louislam/uptime-kuma?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow">Uptime Kuma</a> is an easy-to-use self-hosted monitoring tool.</p></li></ul><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/ad5627f4-dadc-43a5-afb7-fb4fd7b329ec/212262296-e6205815-ad62-488c-83ec-a5b0d0689f7c.jpg?t=1794032031"/></div><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/lusingander/serie?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow">Serie </a>is a TUI application that uses the terminal emulators&#39; image display protocol to render commit graphs like git log --graph --all.</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/Nasiko-Labs/nasiko?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow">Nasiko </a>is the OpenRuntime for agents, coding harnesses, frameworks and tools.</p></li></ul><p class="paragraph" style="text-align:left;"></p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/></div><p class="paragraph" style="text-align:center;">👋 Find me on <a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Twitter</a> | <a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Linkedin</a> | <a class="link" href="https://www.instagram.com/askyoshik/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow">Instagram </a>| <a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=43-uptime-sync-a-7-day-package-cooldown-a-three-bug-gke-outage-and-64-day-certificates" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Connect 1:1</a></p><p class="paragraph" style="text-align:left;">Thank you for supporting this newsletter. Consider sharing this post with your friends.<br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=761e7442-4925-4542-a8f3-5141875e3ac6&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Nginx Reverse Proxy Explained: Why Put It in Front of Your App?</title>
  <description>Follow a request from browser to backend, understand where HTTPS ends and load balancing begins, then run your own Nginx setup with a hands-on Docker lab.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/4d707b34-e39a-47f4-9445-cb3ab3d4d5cc/Reverse_Proxy_Explained_Diagram.png" length="1633940" type="image/png"/>
  <link>https://www.uptime.engineer/p/nginx-reverse-proxy-explained-why-put-it-in-front-of-your-app</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/nginx-reverse-proxy-explained-why-put-it-in-front-of-your-app</guid>
  <pubDate>Tue, 03 Nov 2026 04:10:21 +0000</pubDate>
  <atom:published>2026-11-03T04:10:21Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
    <category><![CDATA[Devops]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><div id="section" class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - The best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#429d61;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><h2 class="heading" style="text-align:left;">📬 <b>Missed This Week’s Uptime Sync?</b></h2><p class="paragraph" style="text-align:left;">This week’s best DevOps, SRE, Cloud, Kubernetes, database, AI infrastructure, and production engineering reads:</p><ul><li><p class="paragraph" style="text-align:left;">What eight compromised eMudhra certificates mean for your infrastructure</p></li><li><p class="paragraph" style="text-align:left;">How a leaked key led to LiteLLM’s compromised release</p></li><li><p class="paragraph" style="text-align:left;">Why successful PostgreSQL backups don’t prove you can restore</p></li><li><p class="paragraph" style="text-align:left;">What 14 LLMs proposed after an AWS credential compromise</p></li><li><p class="paragraph" style="text-align:left;">How Prisma moved its control plane to Postgres without downtime</p></li><li><p class="paragraph" style="text-align:left;">How to trace MCP tool calls with OpenTelemetry.</p></li></ul><p class="paragraph" style="text-align:left;">Plus: giving agents context before buying an AI SRE, parallelizing MySQL snapshots, protecting secrets during agent deployments, near-zero-downtime RDS MariaDB upgrades, Mac automation with Ansible, Azure Functions monitoring, and self-hosted tools for agent credentials, logs, and deployments</p><p class="paragraph" style="text-align:left;">👉 <a class="link" href="https://www.uptime.engineer/p/emudhra-compromise-litellm-leaked-key-and-postgres-recovery?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=nginx-reverse-proxy-explained-why-put-it-in-front-of-your-app" target="_blank" rel="noopener noreferrer nofollow">Read Issue #42</a></p></div><p class="paragraph" style="text-align:left;"></p><div class="image"><a class="image__link" href="https://topmate.io/yoshik/2340122?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=nginx-reverse-proxy-explained-why-put-it-in-front-of-your-app" rel="noopener" target="_blank"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/61f4bbc7-0d39-49a0-8a97-15201e9b2428/uptime.engineer.png?t=1793074620"/></a></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">At PhonePe, I managed the largest Nginx cluster in the org, processing more than a billion requests a day. That’s why I think Nginx is worth learning properly if you’re heading into DevOps or SRE. It sits between users and your application, handling connections, HTTPS, and where requests go next. Understanding that flow helps you make sense of slow requests, failed connections, and traffic that never reaches your app. Today, we’ll start with how it works, then you’ll run a small setup yourself.</p><h2 class="heading" style="text-align:left;" id="what-is-a-reverse-proxy">What is a reverse proxy?</h2><p class="paragraph" style="text-align:left;">A proxy is a middleman. There are two kinds, and people mix them up all the time.</p><p class="paragraph" style="text-align:left;">A forward proxy sits in front of clients. Think of a company network where all employee traffic goes out through one proxy. The websites see the proxy, not the employees.</p><p class="paragraph" style="text-align:left;">A reverse proxy sits in front of servers. Users talk to the proxy, and the proxy talks to your app. Your app stays hidden behind it. Nginx is the most common tool for this job, and <a class="link" href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Proxy_servers_and_tunneling?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=nginx-reverse-proxy-explained-why-put-it-in-front-of-your-app" target="_blank" rel="noopener noreferrer nofollow">MDN&#39;s proxy guide</a> lists the usual uses: load balancing, caching, decryption and compression.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/617addcc-6373-40b0-ab81-89b9a0e6b4c8/reverse-proxy-vs-api-gateway.png?t=1793678908"/></div><h2 class="heading" style="text-align:left;" id="why-bother-start-with-the-problem">Why bother? Start with the problem</h2><p class="paragraph" style="text-align:left;">Imagine your app runs on a server, port 8080, open to the internet. That one process has to accept HTTPS connections, hold the certificate, and survive on its own. Its address is public, so anyone can poke at it. And since it&#39;s a single instance, every restart means downtime.</p><p class="paragraph" style="text-align:left;">Put Nginx in front, and the browser talks to Nginx instead. Your app can move to a private address behind it. TLS, routing and load balancing now live in one place. You also pick up a few new things to worry about, and I&#39;ll point at those below.</p><h2 class="heading" style="text-align:left;" id="two-connections-not-one-pipe">Two connections, not one pipe</h2><p class="paragraph" style="text-align:left;">Most people picture Nginx as a box that forwards a port. The better picture is two separate connections:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">Browser to Nginx.</p></li><li><p class="paragraph" style="text-align:left;">Nginx to your app.</p></li></ol><p class="paragraph" style="text-align:left;">Nginx makes its own decisions in the middle. Which backend gets this request, which headers go along, whether the second connection is encrypted. The browser never sees any of that. It only knows the public address.</p><div class="codeblock"><pre><code>DNS resolves the public name to Nginx&#39;s address

Browser
  |  connection 1: TCP + TLS handshake to Nginx on :443
  v
Nginx (the public endpoint)
  |  decrypt, pick app1 or app2
  |  connection 2: new HTTP connection to a private address
  v
app1:8080 or app2:8080
  |  status, headers, body
  v
Nginx
  |  back over connection 1
  v
Browser</code></pre></div><p class="paragraph" style="text-align:left;">A TLS handshake is the step where browser and server agree on encryption and the server proves its identity with a certificate. It happens before any real data moves.</p><p class="paragraph" style="text-align:left;">Because connection 2 is brand new, your app never sees the browser. It sees Nginx. Unless you pass the original details along in headers, your app will log Nginx&#39;s IP as the client. We&#39;ll fix that in the config below.</p><h2 class="heading" style="text-align:left;" id="where-https-ends">Where HTTPS ends</h2><p class="paragraph" style="text-align:left;">The certificate and private key live on Nginx:</p><div class="codeblock"><pre><code>listen 443 ssl;
ssl_certificate     /etc/nginx/certs/example.com.pem;
ssl_certificate_key /etc/nginx/certs/example.com.key;</code></pre></div><p class="paragraph" style="text-align:left;">The paths are examples. See the <a class="link" href="https://nginx.org/en/docs/http/configuring_https_servers.html?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=nginx-reverse-proxy-explained-why-put-it-in-front-of-your-app" target="_blank" rel="noopener noreferrer nofollow">NGINX HTTPS docs</a> for the full set of directives. The browser leg is encrypted. Nginx decrypts the request and sends it on over connection 2. That&#39;s what people mean by &quot;terminating TLS&quot;.</p><p class="paragraph" style="text-align:left;">Connection 2 can be plain HTTP or HTTPS. If Nginx and your app share one machine, plain HTTP never leaves it. If the traffic crosses a network you don&#39;t control, anyone on that path can read it. Ask who can see the path between Nginx and your app, then decide.</p><p class="paragraph" style="text-align:left;">The lab below uses plain HTTP on port 80 to keep things simple.</p><h2 class="heading" style="text-align:left;" id="reverse-proxy-vs-load-balancer">Reverse proxy vs load balancer</h2><p class="paragraph" style="text-align:left;">An interview favorite. A reverse proxy is a role: it sits in front of servers and speaks HTTP for them. Load balancing is one thing it can do: spread requests across several backends. One Nginx can do both. A proxy that sends everything to a single backend is still a reverse proxy, it just isn&#39;t balancing anything.</p><h2 class="heading" style="text-align:left;" id="the-config">The config</h2><p class="paragraph" style="text-align:left;">Nginx calls a group of backend servers an <code>upstream</code>. Here&#39;s a config with two of them:</p><div class="codeblock"><pre><code>upstream app &#123;
    server app1:8080;
    server app2:8080;
&#125;

server &#123;
    listen 80;

    location / &#123;
        proxy_pass http://app;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    &#125;
&#125;</code></pre></div><p class="paragraph" style="text-align:left;"><code>proxy_pass http://app</code> points at the whole group. When you don&#39;t pick a balancing method, Nginx uses round-robin, per the <a class="link" href="https://nginx.org/en/docs/http/load_balancing.html?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=nginx-reverse-proxy-explained-why-put-it-in-front-of-your-app" target="_blank" rel="noopener noreferrer nofollow">load balancing docs</a>. Requests alternate between app1 and app2.</p><p class="paragraph" style="text-align:left;">The four <code>proxy_set_header</code> lines pass the browser&#39;s details to your app, since the <a class="link" href="https://nginx.org/en/docs/http/ngx_http_proxy_module.html?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=nginx-reverse-proxy-explained-why-put-it-in-front-of-your-app" target="_blank" rel="noopener noreferrer nofollow">proxy module docs</a> say Nginx changes some headers by default:</p><ul><li><p class="paragraph" style="text-align:left;"><code>Host $host</code> passes the name the browser asked for. Without it, your app sees <code>Host: app</code> instead of <code>example.com</code> and may build wrong URLs.</p></li><li><p class="paragraph" style="text-align:left;"><code>X-Real-IP $remote_addr</code> carries the address of whoever connected to Nginx.</p></li><li><p class="paragraph" style="text-align:left;"><code>X-Forwarded-For $proxy_add_x_forwarded_for</code> adds that address to a running list of addresses the request passed through.</p></li><li><p class="paragraph" style="text-align:left;"><code>X-Forwarded-Proto $scheme</code> tells your app whether the browser used http or https. Without it, an app behind a TLS-terminating proxy may think every request is plain HTTP and redirect wrongly.</p></li></ul><p class="paragraph" style="text-align:left;">One warning for later: don&#39;t trust these headers blindly. A client can send fake ones. I&#39;ll cover how to handle that in a follow-up issue.</p><h2 class="heading" style="text-align:left;" id="lab-run-it-on-your-laptop">Lab: run it on your laptop</h2><p class="paragraph" style="text-align:left;">You need Docker with Compose. Make a folder with two files.</p><p class="paragraph" style="text-align:left;"><code>docker-compose.yml</code>:</p><div class="codeblock"><pre><code>services:
  app1:
    image: traefik/whoami
    hostname: app1
    command: --port=8080

  app2:
    image: traefik/whoami
    hostname: app2
    command: --port=8080

  nginx:
    image: nginx:stable
    ports:
      - &quot;8080:80&quot;
    volumes:
      - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
    depends_on:
      - app1
      - app2</code></pre></div><p class="paragraph" style="text-align:left;"><code>nginx.conf</code>: paste the <code>upstream</code> and <code>server</code> blocks from the config section above, exactly as written.</p><p class="paragraph" style="text-align:left;"><code>traefik/whoami</code> is a tiny web server that replies with its own hostname and the headers it received. That makes it perfect for seeing what Nginx does. Mounting your file over <code>default.conf</code> also avoids a clash with the image&#39;s own port 80 config.</p><p class="paragraph" style="text-align:left;">Start it and run a quick config check:</p><div class="codeblock"><pre><code>docker compose up -d
docker compose exec nginx nginx -t</code></pre></div><p class="paragraph" style="text-align:left;">Now run these experiments.</p><ol start="1"><li><p class="paragraph" style="text-align:left;">Send requests and watch the traffic split:</p></li><li><p class="paragraph" style="text-align:left;">Look at what your app receives:</p></li><li><p class="paragraph" style="text-align:left;">Break it on purpose. Delete the four <code>proxy_set_header</code> lines from <code>nginx.conf</code>, then reload:</p></li><li><p class="paragraph" style="text-align:left;">Kill a backend:</p></li><li><p class="paragraph" style="text-align:left;">Check that the backends are really private. Neither app1 nor app2 has a <code>ports:</code> entry in the compose file, so this should fail:</p></li></ol><h2 class="heading" style="text-align:left;" id="what-this-config-doesnt-solve">What this config doesn&#39;t solve</h2><p class="paragraph" style="text-align:left;">A working proxy proves requests flow. It doesn&#39;t prove everything else works. Here&#39;s the first problem you&#39;ll meet in real life.</p><p class="paragraph" style="text-align:left;">Say your app keeps login sessions in its own memory. Round-robin doesn&#39;t pin a user to one instance. A user logs in on app1, the next request lands on app2, and app2 has never heard of them. They get logged out at random. The usual fixes are shared session storage or sticky routing, and each has trade-offs. This is my own inference from how round-robin works, so test it on your own app.</p><p class="paragraph" style="text-align:left;">Next issue, we&#39;ll cover what else breaks in production: health checks, retries, timeouts and spoofed headers.</p><h2 class="heading" style="text-align:left;" id="where-youll-see-this-again-kubernet">Where you&#39;ll see this again: Kubernetes Ingress</h2><p class="paragraph" style="text-align:left;">When you learn Kubernetes, you&#39;ll meet Ingress. An Ingress controller is a reverse proxy running inside your cluster. Some controllers run Nginx itself. It receives outside traffic, picks a backend, and forwards the request, just like the lab. The <code>upstream</code> group maps roughly to the pods behind a Kubernetes Service. Once the lab makes sense, Ingress is much easier to read.</p><h2 class="heading" style="text-align:left;" id="do-you-need-a-reverse-proxy">Do you need a reverse proxy?</h2><p class="paragraph" style="text-align:left;">No source says it&#39;s mandatory. A single simple app can run without one, for example when TLS is already handled somewhere else. Add one when you want a controlled public edge, with TLS, routing or logging in one place, or when you have more than one backend. That&#39;s my rule of thumb, built on the uses MDN and the NGINX docs list.</p><p class="paragraph" style="text-align:left;">A reverse proxy is one more part you have to run, size and watch.</p><h2 class="heading" style="text-align:left;" id="references">References</h2><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=nginx-reverse-proxy-explained-why-put-it-in-front-of-your-app" target="_blank" rel="noopener noreferrer nofollow">NGINX reverse proxy documentation</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://nginx.org/en/docs/http/ngx_http_proxy_module.html?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=nginx-reverse-proxy-explained-why-put-it-in-front-of-your-app" target="_blank" rel="noopener noreferrer nofollow">NGINX proxy module</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://nginx.org/en/docs/http/load_balancing.html?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=nginx-reverse-proxy-explained-why-put-it-in-front-of-your-app" target="_blank" rel="noopener noreferrer nofollow">NGINX HTTP load balancing</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://nginx.org/en/docs/http/configuring_https_servers.html?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=nginx-reverse-proxy-explained-why-put-it-in-front-of-your-app" target="_blank" rel="noopener noreferrer nofollow">NGINX configuring HTTPS servers</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Proxy_servers_and_tunneling?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=nginx-reverse-proxy-explained-why-put-it-in-front-of-your-app" target="_blank" rel="noopener noreferrer nofollow">MDN: Proxy servers and tunneling</a></p></li></ul><p class="paragraph" style="text-align:left;"></p><div class="image"><img alt="" class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/></div><p class="paragraph" style="text-align:center;">👋<b> Find me on </b><a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=nginx-reverse-proxy-explained-why-put-it-in-front-of-your-app" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Twitter</b></a><b> | </b><a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=nginx-reverse-proxy-explained-why-put-it-in-front-of-your-app" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Linkedin</b></a><b> | </b><a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=nginx-reverse-proxy-explained-why-put-it-in-front-of-your-app" target="_blank" rel="noopener noreferrer nofollow"><span style="color:#14928e;"><b>Connect 1:1</b></span></a></p><p class="paragraph" style="text-align:left;"><i><b>Thank you for supporting this newsletter.</b></i><br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=658036af-c111-4d78-bf1e-2469a1418446&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>#42 Uptime Sync: eMudhra Compromise, LiteLLM’s Leaked Key, and Postgres Recovery</title>
  <description>Protect agent credentials, test whether your backups can restore, and learn from database migrations with little or no downtime.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/8737bf3c-63e2-426a-ac54-f7e613b4ae7f/s6avdXZlnyo-HD.jpg" length="166001" type="image/jpeg"/>
  <link>https://www.uptime.engineer/p/emudhra-compromise-litellm-leaked-key-and-postgres-recovery</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/emudhra-compromise-litellm-leaked-key-and-postgres-recovery</guid>
  <pubDate>Sat, 31 Oct 2026 10:07:43 +0000</pubDate>
  <atom:published>2026-10-31T10:07:43Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;"></p><div id="section" class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - High Value - the best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#259C6B;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><h3 class="heading" style="text-align:left;" id="your-company-data-could-be-worth-10">Your company data could be worth $100k–$3 million</h3><div class="image"><a class="image__link" href="https://trybezel.com/data?utm_source=beehiiv&utm_medium=email&utm_campaign=579eabff-a1f9-4beb-8e38-ebd5a8801557&utm_content=KHPTNYBUED&utm_term=526981ec-3608-4311-8705-e8693a430092&_bhiiv=opp_5796c028-b25a-409a-9fe5-d1b32b49d15d_ee3bd802&bhcl_id=f429dd4d-f73b-4926-b5b9-f5fee0aea981_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/48f4e82e-9fd5-4e74-9dbb-96c7d0704528/hero2.png?t=1792516304"/></a></div><p class="paragraph" style="text-align:left;">There&#39;s a new channel of revenue that has just been unlocked for companies with over 20 people that have been around longer than a year. </p><p class="paragraph" style="text-align:left;">Few know it, but AI labs now let you monetize your company’s operational data, and they&#39;re spending $15 billion this year on it to train the next frontier of LLMs. Your workflows, documentation, processes, and internal convos like Slack are extremely valuable and they&#39;re paying anywhere from $100k to $3 million for it per company.</p><p class="paragraph" style="text-align:left;">Before you ask, all the data is anonymized and cleaned before it&#39;s sent to a Lab. <a class="link" href="https://trybezel.com/data?utm_source=beehiiv&utm_medium=email&utm_campaign=579eabff-a1f9-4beb-8e38-ebd5a8801557&utm_content=KHPTNYBUED&utm_term=526981ec-3608-4311-8705-e8693a430092&_bhiiv=opp_5796c028-b25a-409a-9fe5-d1b32b49d15d_ee3bd802&bhcl_id=f429dd4d-f73b-4926-b5b9-f5fee0aea981_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Bezel</a> (Y combinator backed) helps find a data partner that is the best fit for you.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://trybezel.com/data?utm_source=beehiiv&utm_medium=email&utm_campaign=579eabff-a1f9-4beb-8e38-ebd5a8801557&utm_content=KHPTNYBUED&utm_term=526981ec-3608-4311-8705-e8693a430092&_bhiiv=opp_5796c028-b25a-409a-9fe5-d1b32b49d15d_ee3bd802&bhcl_id=f429dd4d-f73b-4926-b5b9-f5fee0aea981_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Check your data&#39;s worth</a></p></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">Welcome to this week’s Uptime Sync. We cover Cloudflare’s breakdown of eight compromised eMudhra certificates and how an unrevoked key led to LiteLLM’s malicious release. We also look at giving agents context before buying an AI SRE, parallelizing MySQL snapshots, and what 14 LLMs proposed after an AWS credential compromise. For anyone relying on a green backup dashboard, there’s a closer look at why successful PostgreSQL backups don’t prove you can recover.</p><p class="paragraph" style="text-align:left;">On the tutorial front: trace MCP tool calls with OpenTelemetry, protect secrets when coding agents deploy your app, and learn how Prisma moved its control plane to Prisma Postgres without downtime. We also cover near-zero-downtime RDS MariaDB upgrades with blue/green deployments, managing a Mac with dotfiles and Ansible, and monitoring Azure Functions with metrics, logs, and OpenTelemetry.</p><p class="paragraph" style="text-align:left;">This week’s projects include Agent Vault for proxying and managing AI-agent credentials, Logtide for self-hosted log management, and Agentic Resource Registry for sharing coding-agent resources across your team. Zeabur brings a self-hosted PaaS to your Kubernetes cluster, while Vulnerator AI combines Hermes with Kali and Playwright tools over MCP for automated pentesting.</p><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Newsworthy Reads</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://blog.cloudflare.com/emudhra-certificate-compromise/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow">8 eMudhra certificates are compromised. Here&#39;s what you need to know</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://docs.litellm.ai/blog/security-incident-oct-21-2026-attack-chain?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow">How a leaked key led to LiteLLM’s compromised release</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://radarhq.io/blog/ai-sre-give-your-agent-context-first?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow">Give Your Agent Context Before You Buy an AI SRE</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://materialize.com/blog/parallelizing-mysql-snapshots/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow">Parallelizing MySQL Snapshots</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://medium.com/@adan.alvarez/i-gave-14-llms-aws-keys-heres-what-they-wanted-to-do-next-48585761a11b?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow">What 14 LLMs propose after an AWS credential compromise</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://stormatics.tech/blogs/postgresql-backups-restore-testing?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow">Your backups are green. That does not mean you can restore.</a></p></li></ul><div id="section" class="section" style="background-color:transparent;margin:0.0px 0.0px 0.0px 0.0px;padding:0.0px 0.0px 0.0px 0.0px;"><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/s6avdXZlnyo" width="100%"></iframe></div><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/BnWER_OKD_8" width="100%"></iframe><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Tutorials of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://last9.io/blog/mcp-server-monitoring/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow">MCP Server Monitoring: Tracing Tool Calls with OpenTelemetry</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.prisma.io/blog/moving-prismas-control-plane-to-prisma-postgres?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow">How We Moved Prisma&#39;s Control Plane to Prisma Postgres Without Downtime</a></p></li></ul><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/J3VavGnt5Yg" width="100%"></iframe><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://flaviocopes.com/agent-deploy-secrets/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow">How to protect secrets when coding agents deploy your app</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://aws.amazon.com/blogs/database/how-vestiaire-collective-achieved-near-zero-downtime-rds-for-mariadb-upgrades-with-amazon-rds-blue-green-deployments/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow">How Vestiaire Collective achieved near-zero downtime RDS</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://alexcloudstar.com/blog/ansible-dotfiles-macos-setup-2026/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow">How I Keep My Mac Up to Date With Dotfiles and Ansible</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://last9.io/blog/azure-functions-monitoring/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow">Azure Functions Monitoring: Metrics, Logs and OpenTelemetry</a></p></li></ul><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Projects of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/Infisical/agent-vault?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow">Agent Vault</a> - A HTTP credential proxy and vault for AI agents like Claude Code, OpenClaw, Hermes, custom agents + harnesses, and more.</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/logtide-dev/logtide?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow">Logtide </a>- Open-source, self-hosted log management. Privacy-first alternative to Datadog & ELK. Lightweight, GDPR-compliant, and deployed in minutes with Docker.</p></li></ul><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/916e0c7f-c2c6-46ab-99f5-515d3af1c201/logs.png?t=1793440570"/><div class="image__source"><span class="image__source_text"><p>LogTide - Open Source Log Management</p></span></div></div><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/AgenticResourceRegistry/AgenticResourceRegistry?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow">Agentic Resource Registry</a> - Share and discover coding agent resources across your team. Self-hosted, Apache 2.0, works with Claude Code, Kiro, Cursor, Codex, Pi and more.</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/zeabur-oss/zeabur?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow">Zeabur </a>- Self-hosted PaaS on your own Kubernetes.</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/irraz/vulnerator-ai?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow">Vulnerator AI</a> - Autonomous OODA-loop pentesting agent. Hermes brain, Kali + Playwright tools over MCP, ATT&CK as the Orient language.</p></li></ul><p class="paragraph" style="text-align:left;"></p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/></div><p class="paragraph" style="text-align:center;">👋 Find me on <a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Twitter</a> | <a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Linkedin</a> | <a class="link" href="https://www.instagram.com/askyoshik/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow">Instagram </a>| <a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=42-uptime-sync-emudhra-compromise-litellm-s-leaked-key-and-postgres-recovery" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Connect 1:1</a></p><p class="paragraph" style="text-align:left;">Thank you for supporting this newsletter. Consider sharing this post with your friends.<br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=ebf7720c-919a-4e3a-a6d7-4c8054a36b34&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>The Future of DevOps: Why AI Still Needs Infrastructure Engineers</title>
  <description>AI infrastructure could be your next move as a DevOps or SRE engineer. AI can write the app. Running it reliably, scaling it, and keeping costs under control is still an engineering job.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/00fd1b47-9130-4db2-a550-b83ba811c3e0/AI_Infrastructure_Skills_Flow.png" length="1332648" type="image/png"/>
  <link>https://www.uptime.engineer/p/the-future-of-devops-why-ai-still-needs-infrastructure-engineers</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/the-future-of-devops-why-ai-still-needs-infrastructure-engineers</guid>
  <pubDate>Tue, 27 Oct 2026 04:18:03 +0000</pubDate>
  <atom:published>2026-10-27T04:18:03Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
    <category><![CDATA[Career]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><div id="section" class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - The best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#429d61;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><h2 class="heading" style="text-align:left;">📬 <b>Missed This Week’s Uptime Sync?</b></h2><p class="paragraph" style="text-align:left;">This week’s best DevOps, SRE, Cloud, Kubernetes, database, AI infrastructure, and production engineering reads:</p><ul><li><p class="paragraph" style="text-align:left;">What happened in the eMudhra intermediate CA compromise</p></li><li><p class="paragraph" style="text-align:left;">Inside the compromised LiteLLM v1.107.0 release</p></li><li><p class="paragraph" style="text-align:left;">Why Anthropic built its own source control system</p></li><li><p class="paragraph" style="text-align:left;">How DigitalOcean built microVMs that pause and resume in milliseconds</p></li><li><p class="paragraph" style="text-align:left;">How LinkedIn traces user journeys with OpenTelemetry</p></li><li><p class="paragraph" style="text-align:left;">What went wrong in Control D’s October DNS outage</p></li></ul><p class="paragraph" style="text-align:left;">Plus: the risks of ON DELETE CASCADE, AI agents in CI/CD, Karpenter on EKS with Terraform, Azure cost cuts, migrating from AWS to GKE, giving AI agents useful context, Blackbox Exporter probes and alerts, and throwaway apps with Dokku.</p><p class="paragraph" style="text-align:left;">👉 <a class="link" href="https://www.uptime.engineer/p/litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=the-future-of-devops-why-ai-still-needs-infrastructure-engineers" target="_blank" rel="noopener noreferrer nofollow">Read Issue #41</a></p></div><p class="paragraph" style="text-align:left;"></p><div class="image"><a class="image__link" href="https://topmate.io/yoshik/2340122?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=the-future-of-devops-why-ai-still-needs-infrastructure-engineers" rel="noopener" target="_blank"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/61f4bbc7-0d39-49a0-8a97-15201e9b2428/uptime.engineer.png?t=1793074620"/></a></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">I see a lot of articles about careers in AI that focus around building. Agents. Learning about LLM&#39;s. Creating your own AI application. These are great things to know. But what about all the people who need to run those applications? I believe DevOps/SRE engineers should explore this career path. <br><br>Someone has to operate these applications. There&#39;s someone that needs to deploy the model. Someone needs to figure out why the model is responding so slow. All Pods are green. Who&#39;s going to worry about GPUs. Scaling, Observability, Networking, Downtime, Cost. <br><br>This is where I enjoy working. I&#39;m currently working in the world of SRE. I think as these AI workloads increase we&#39;ll see more engineers wanting to specialize in AI Infrastructure. <br><br>Don&#39;t abandon your DevOps knowledge. While there isn&#39;t a guaranteed pay bump and you wont learn everything in this field overnight. But it&#39;s something to consider.</p><h2 class="heading" style="text-align:left;" id="what-is-an-ai-infrastructure-engine"><b>What is an AI infrastructure engineer?</b></h2><p class="paragraph" style="text-align:left;">Lets start with a normal backend service. You have your service deployed. Behind a Load Balancer, Autoscaling in place. Collecting Metrics, Latency checks and Debugging. You learn about Linux. Containers. K8s, AWS, Networking, etc. <br><br>Replace that Rest API with an LLM. Same idea except now your dealing with a new workload. <br><br>Your Model may require a GPU with enough memory to hold it. <br><br>Cost per request could be higher based on the length of the prompt or answer. <br><br>You may need to implement Queuing. Batch requests, tweak the model server and determine if an additional GPU will reduce response times and is it worth the cost. <br><br>These are just some of the tasks you&#39;ll be responsible for when working with AI Infrastructure. <br><br>An AI Infrastructure engineer can take on many jobs. Building out training platforms. Deploying your model to customers. GPUs, Storage, Network, Developer Platforms. Some may just use Managed Services and never have to worry about GPUs. <br><br>This is different from ML Engineer. Which focuses on building and creating great models. MLOps will deal with Pipelines. Experiments. Model Registry. Again these job titles can blur into each other so always look at what the job requires.</p><h2 class="heading" style="text-align:left;" id="why-youre-ahead-of-the-game-if-your"><b>Why you&#39;re ahead of the game if your in DevOps/SRE </b></h2><p class="paragraph" style="text-align:left;">As mentioned above you won&#39;t have to start from scratch. If you can troubleshoot Linux. Run K8s. Monitor and debug Latency. Networking, CI/CD, etc. You know half of what these engineers will be troubleshooting.</p><div style="padding:14px 5px 14px;"><table class="bh__table" width="100%" style="border-collapse:collapse;"><tr class="bh__table_row"><th class="bh__table_header" width="50%"><p class="paragraph" style="text-align:left;">What you know</p></th><th class="bh__table_header" width="50%"><p class="paragraph" style="text-align:left;">Where it applies in AI infrastructure</p></th></tr><tr class="bh__table_row"><td class="bh__table_cell" width="50%"><p class="paragraph" style="text-align:left;">Linux and containers</p></td><td class="bh__table_cell" width="50%"><p class="paragraph" style="text-align:left;">GPU drivers, runtimes, node images, process debugging</p></td></tr><tr class="bh__table_row"><td class="bh__table_cell" width="50%"><p class="paragraph" style="text-align:left;">Kubernetes</p></td><td class="bh__table_cell" width="50%"><p class="paragraph" style="text-align:left;">GPU scheduling, deployments, node pools, rollouts</p></td></tr><tr class="bh__table_row"><td class="bh__table_cell" width="50%"><p class="paragraph" style="text-align:left;">Networking</p></td><td class="bh__table_cell" width="50%"><p class="paragraph" style="text-align:left;">Model-serving APIs, large data transfers, distributed workloads</p></td></tr><tr class="bh__table_row"><td class="bh__table_cell" width="50%"><p class="paragraph" style="text-align:left;">Observability</p></td><td class="bh__table_cell" width="50%"><p class="paragraph" style="text-align:left;">Inference latency, request queues, GPU utilization, capacity</p></td></tr><tr class="bh__table_row"><td class="bh__table_cell" width="50%"><p class="paragraph" style="text-align:left;">SRE fundamentals</p></td><td class="bh__table_cell" width="50%"><p class="paragraph" style="text-align:left;">Reliability, incident response, capacity planning, cost trade-offs</p></td></tr></table></div><p class="paragraph" style="text-align:left;">You&#39;ll still need to learn new topics. GPU Memory, Drivers, How Models are served, Batching, Caching. And Distributed Systems if you plan on running a larger inference engine. But you&#39;ll know the mindset. <br><br>GPUs in Kubernetes. With the right device plugin installed on your cluster. You can schedule workloads to nodes with GPUs. If your familiar with Request&#39;s and Limits on Pods you&#39;ll understand this. The challenge is understanding the GPU Drivers, Keeping them healthy and getting good utilization. More information <a class="link" href="https://kubernetes.io/docs/tasks/manage-gpus/scheduling-gpus/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=the-future-of-devops-why-ai-still-needs-infrastructure-engineers" target="_blank" rel="noopener noreferrer nofollow">here</a>.</p><p class="paragraph" style="text-align:left;">Learn the differences when you have workloads running on GPUs.</p><h2 class="heading" style="text-align:left;" id="data"><b>Data</b></h2><p class="paragraph" style="text-align:left;">Having Data available to train and serve models will also fall under SRE responsibilities. <br><br>Make sure your Data is being loaded quickly. Your training jobs will sit idle if your Data pipeline isn&#39;t keeping up. Monitor Data and GPU utilization.</p><p class="paragraph" style="text-align:left;"><b>RAG. </b>Vector DB&#39;s are used to retrieve documents and provide them to your prompt. This will become a service that you need to monitor and back up. Have a plan to rebuild your Index if you switch models. <br><br>How fresh is your Data. What happens if the pipeline feeding your Data to a Vector DB or Training Set stops? Monitor your Data Sources and alert when they stop updating.</p><h2 class="heading" style="text-align:left;" id="a-production-example"><b>A production example</b></h2><p class="paragraph" style="text-align:left;">You have an AI Chatbot deployed and users are complaining about long response times. <br><br>You check your pods. They&#39;re all running. CPU Utilization isn&#39;t high and errors aren&#39;t increasing. What do you do? <br><br>Normally you would look at your Database. Are your queries taking longer? Do you have any dependencies that may be slow. Too many threads, Overutilized Pods. Etc. All of these still apply to your AI workload. <br><br>Maybe your model is sitting in a queue. Your Prompt may be too long. You may have run out of KV Cache. Or the model may just be too large for the amount of traffic your seeing.</p><p class="paragraph" style="text-align:left;">Here are some terms to help you troubleshoot. </p><ul><li><p class="paragraph" style="text-align:left;">Time To First Token. The time it takes for your user to see the first word generated from the model. This will be what most of your users notice. </p></li><li><p class="paragraph" style="text-align:left;">Queue Time. How long is your request waiting for the GPU. </p></li><li><p class="paragraph" style="text-align:left;">Response Latency. The time it takes to stream tokens. </p></li><li><p class="paragraph" style="text-align:left;">GPU Memory Utilization. How much memory your model and cache are utilizing.</p></li></ul><p class="paragraph" style="text-align:left;">Serving systems such as <a class="link" href="https://docs.vllm.ai/en/stable/usage/metrics/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=the-future-of-devops-why-ai-still-needs-infrastructure-engineers" target="_blank" rel="noopener noreferrer nofollow" style="color: #48a0c7">vLLM</a> export metrics for these. The fix might be batching, admission limits (rejecting or delaying requests when the system is full), a smaller model, better capacity planning, or more hardware. Adding replicas blindly can raise your bill without fixing the bottleneck, because the limit may be memory or queueing rather than the number of Pods.</p><p class="paragraph" style="text-align:left;">This is still production engineering. It just comes with a new set of systems and failure modes.</p><h2 class="heading" style="text-align:left;" id="companies-are-hiring"><b>Companies are Hiring </b></h2><p class="paragraph" style="text-align:left;">There are jobs out there for this career path. Don&#39;t take every article that states we&#39;re in an AI Boom too seriously. <br><br>Cisco came out with a report on AI jobs in 2025. It states AI Infrastructure Engineer is growing as a job label by 124%. Again this could be a sign that we&#39;ll see more jobs in this field. But I would still look at local opportunities. <a class="link" href="https://www.cisco.com/content/dam/cisco-cdc/site/m/ai-workforce-consortium/documents/2025-ai-workforce-consortium-full-report.pdf?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=the-future-of-devops-why-ai-still-needs-infrastructure-engineers" target="_blank" rel="noopener noreferrer nofollow">Link to Report. </a><br><br>Many companies are focusing on Infrastructure that will allow them to run AI workloads. <a class="link" href="https://modal.com/blog/gpu-health?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=the-future-of-devops-why-ai-still-needs-infrastructure-engineers" target="_blank" rel="noopener noreferrer nofollow">Modal</a> has an article that describes how they keep their GPU Fleet healthy. Coreweave is also investing in Infrastructure to run AI. You&#39;ll be responsible for keeping all of this running. <br><br>Not every company that offers an AI application will need someone to run GPUs. But I think we&#39;ll see more jobs in this space as companies begin to rely on these technologies. Some roles may require more knowledge in Distributed Systems or working with GPUs. <br><br>When searching for jobs you can also look for Job Titles such as. Inference Engineer, ML Platform Engineer, AI Platform Engineer, GPU Infrastructure Engineer, SRE (AI). There will be plenty of Platform Engineers out there as well. So look at the job description and see what the company expects you to do.</p><h2 class="heading" style="text-align:left;" id="is-it-better-than-dev-ops"><b>Is it better than DevOps?</b></h2><p class="paragraph" style="text-align:left;">Not necessarily. You can continue doing what you do today and learn about AI Infrastructure. There will always be jobs that require Networking, Databases, Deployment, Security. Etc. You&#39;ll just have an additional workload to worry about. <br><br>Learning new tools and jumping on band wagons will get you nowhere. New frameworks and technologies will continue to emerge. One day we may not even need GPUs. <br><br>Think about what type of jobs you enjoy doing. If you like troubleshooting and optimizing production systems then maybe you should look into this career path. Just make sure you have a solid foundation to learn on top of. <br><br>I think you&#39;ll become a better Infrastructure Engineer if you understand how AI workloads function.</p><p class="paragraph" style="text-align:left;"></p><div class="image"><img alt="" class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/></div><p class="paragraph" style="text-align:center;">👋<b> Find me on </b><a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=the-future-of-devops-why-ai-still-needs-infrastructure-engineers" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Twitter</b></a><b> | </b><a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=the-future-of-devops-why-ai-still-needs-infrastructure-engineers" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Linkedin</b></a><b> | </b><a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=the-future-of-devops-why-ai-still-needs-infrastructure-engineers" target="_blank" rel="noopener noreferrer nofollow"><span style="color:#14928e;"><b>Connect 1:1</b></span></a></p><p class="paragraph" style="text-align:left;"><i><b>Thank you for supporting this newsletter.</b></i><br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=23799825-e619-4a83-a9c5-97bbe92f0925&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>#41 Uptime Sync: LiteLLM Compromised, Anthropic Moves Off Git, and VMs That Pause in Milliseconds</title>
  <description>A compromised certificate authority, practical cloud cost cuts, and six tools to monitor, access, and manage your infrastructure.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/9ceb6970-0f29-4eff-86c7-c7f292aaa43a/2j4_iPG5Aqk-HD.jpg" length="87306" type="image/jpeg"/>
  <link>https://www.uptime.engineer/p/litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds</guid>
  <pubDate>Sat, 24 Oct 2026 08:43:49 +0000</pubDate>
  <atom:published>2026-10-24T08:43:49Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
    <category><![CDATA[Digest]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;"></p><div id="section" class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - High Value - the best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;"></p><h3 class="heading" style="text-align:left;" id="ai-research-explained-in-one-mornin">AI research, explained in one morning email</h3><div class="image"><a class="image__link" href="https://tldr.tech/ai?utm_campaign=KHPTNYBUED&utm_source=beehiiv&utm_medium=newsletter&_bhiiv=opp_676fab3d-cfcb-4447-85dd-a546a5c7b5e2_35433661&bhcl_id=1f6ea394-85a8-42fb-85db-becf27d90836_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/86684d96-9a12-4f08-845c-9b8655c7fbaa/ai_primary_B_research.png?t=1790707882"/></a></div><p class="paragraph" style="text-align:left;">Most of what shapes AI next year is sitting in a research paper today. Keeping up with them is a full-time job, and the abstracts don&#39;t help.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://tldr.tech/ai?utm_campaign=KHPTNYBUED&utm_source=beehiiv&utm_medium=newsletter&_bhiiv=opp_676fab3d-cfcb-4447-85dd-a546a5c7b5e2_35433661&bhcl_id=1f6ea394-85a8-42fb-85db-becf27d90836_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">TLDR AI</a> is the newsletter that does the translating. Each morning you get the handful of papers worth knowing about, curated by Anthropic and ex-Google engineers, with a plain-English summary of what they found and why it matters.</p><p class="paragraph" style="text-align:left;">You come away smarter about AI research in the time it takes to finish your coffee.</p><p class="paragraph" style="text-align:left;">Free, and delivered to 1.1M+ inboxes every morning. </p><p class="paragraph" style="text-align:left;"><a class="link" href="https://tldr.tech/ai?utm_campaign=KHPTNYBUED&utm_source=beehiiv&utm_medium=newsletter&_bhiiv=opp_676fab3d-cfcb-4447-85dd-a546a5c7b5e2_35433661&bhcl_id=1f6ea394-85a8-42fb-85db-becf27d90836_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow"><i>Subscribe for free</i></a>.</p><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">Welcome to this week’s Uptime Sync. We cover the eMudhra intermediate CA compromise, the compromised LiteLLM v1.107.0 release, and why Anthropic built its own source control system. There’s also a look inside DigitalOcean’s pause-and-resume microVMs, the risks of ON DELETE CASCADE, and running an AI agent in CI/CD. LinkedIn shares how it traces user journeys with OpenTelemetry, while Control D breaks down its October DNS outage.</p><p class="paragraph" style="text-align:left;">On the tutorial front: set up Karpenter on EKS with Terraform, cut Azure costs, and migrate an application from AWS to GKE. We also look at giving your existing AI agent useful context before evaluating an AI SRE, setting up Prometheus Blackbox Exporter probes and alerts, and hosting throwaway apps with Dokku and a wildcard domain.</p><p class="paragraph" style="text-align:left;">This week’s projects include Topophany for network topology and availability monitoring, XPipe for accessing servers from your desktop, and Drip for exposing localhost through self-hosted tunnels. Agent Fleet gives you a web console to manage AI coding agents, OpenAPPA adds deterministic agent guardrails, and CrossCanvas lets you edit network diagrams locally and import existing Visio, Gliffy, or draw.io files.</p><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Newsworthy Reads</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://emudhra.we-have-a-problem.com/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">eMudhra Intermediate CA Compromise</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://docs.litellm.ai/blog/security-incident-oct-21-2026?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">Contained: Oct 21, 2026 LiteLLM release v1.107.0 Compromised</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.anthropic.com/research/redesigning-source-control?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">Redesigning source control at Anthropic</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.digitalocean.com/blog/microvm-architecture?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">Building a computer that can pause and resume in milliseconds</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://planetscale.com/blog/i-dont-like-delete-cascade?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">I don&#39;t trust ON DELETE CASCADE</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.giantswarm.io/blog/running-an-ai-agent-in-a-ci-cd-pipeline?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">Running an AI agent in a CI/CD pipeline</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.linkedin.com/blog/engineering/infrastructure/from-membertap-to-backend-how-linkedin-traced-the-member-journey-with-opentelemetry?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">How LinkedIn Traced the Member Journey with OpenTelemetry</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://controld.com/blog/incident-october-11-2026/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">Incident Report: Control D DNS Outage on October 11, 2026</a></p></li></ul><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/SMGg7iisHmc" width="100%"></iframe><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/2j4_iPG5Aqk" width="100%"></iframe><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Tutorials of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://dev.to/ajinkya_a3/enabling-karpenter-on-eks-with-terraform-what-it-is-why-its-worth-it-and-how-to-set-it-up-5aj8?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">Enabling Karpenter on EKS with Terraform</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://north.cloud/blog/azure-cost-optimization?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">Azure cost optimization: The levers that reduce cloud spend</a></p></li></ul><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/MCbMko4IXKw" width="100%"></iframe><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.cncf.io/blog/2026/10/21/before-you-evaluate-an-ai-sre-give-your-existing-agent-context/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">Before you evaluate an AI SRE, give your existing agent context</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.freecodecamp.org/news/how-to-migrate-an-application-from-aws-to-gke-full-book?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">How to Migrate an Application from AWS to GKE</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://last9.io/blog/prometheus-blackbox-exporter/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">Prometheus Blackbox Exporter: Setup, Probes and Alerts</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://kevinmarsh.com/2026/10/08/throwaway-apps-with-dokku/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">Throwaway Apps with Dokku and a Wildcard Domain</a></p><p class="paragraph" style="text-align:left;"></p></li></ul><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Projects of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/WhitenWhiten/topophany?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">Topophany</a> - <span style="background-color:#ffffff;">Self-hosted network topology and service availability monitoring with a terminal UI</span></p></li><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://github.com/xpipe-io/xpipe?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">XPipe</a></span><span style="background-color:#ffffff;"> - Access your entire server infrastructure from your local desktop</span></p></li><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://github.com/Gouryella/drip?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">Drip</a></span><span style="background-color:#ffffff;"> - Self-hosted tunneling solution to expose localhost securely - unlimited bandwidth, no third-party servers</span></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/k-k1/agent-fleet?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">Agent Fleet </a>- Self-hosted web console for running AI coding agents (Claude Code, Codex, Copilot, Antigravity, Cursor, Kiro, OpenCode) as a managed fleet</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/archestra-ai/OpenAPPA?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">OpenAPPA</a> - Deterministic guardrails that don&#39;t break agents</p></li></ul><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/14c8bf17-f4e2-4f95-b5bf-b81ca36da61e/claude-code-blocked-flow.png?t=1792830693"/></div><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/RootSwitch/CrossCanvas?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">CrossCanvas</a> - Lightweight, locally hostable network diagram editor - imports Visio, Gliffy, and draw.io diagrams plus common device inventory formats.</p></li></ul><p class="paragraph" style="text-align:left;"></p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/></div><p class="paragraph" style="text-align:center;">👋 Find me on <a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Twitter</a> | <a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Linkedin</a> | <a class="link" href="https://www.instagram.com/askyoshik/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow">Instagram </a>| <a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=41-uptime-sync-litellm-compromised-anthropic-moves-off-git-and-vms-that-pause-in-milliseconds" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Connect 1:1</a></p><p class="paragraph" style="text-align:left;">Thank you for supporting this newsletter. Consider sharing this post with your friends.<br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=d21ec7e1-85ca-4a81-b94f-d402f92675a0&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>How Kubernetes Networking Works: From a Service IP to Your Pod</title>
  <description>Follow a request through Services, EndpointSlices, kube-proxy, and packet routing to understand how traffic actually reaches the right Pod.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/cfc2bbd8-894f-4907-b5dd-3b60a7bccca1/Kubernetes_Service_Endpoint_Routing_Diagram.png" length="1186337" type="image/png"/>
  <link>https://www.uptime.engineer/p/how-kubernetes-networking-works-from-a-service-ip-to-your-pod</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/how-kubernetes-networking-works-from-a-service-ip-to-your-pod</guid>
  <pubDate>Wed, 21 Oct 2026 04:21:26 +0000</pubDate>
  <atom:published>2026-10-21T04:21:26Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
    <category><![CDATA[Kubernetes]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><div id="section" class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - The best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#429d61;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><h2 class="heading" style="text-align:left;">📬 <b>Missed This Week’s Uptime Sync?</b></h2><p class="paragraph" style="text-align:left;">This week’s best DevOps, SRE, Cloud, Kubernetes, database, AI infrastructure, and production engineering reads:</p><ul><li><p class="paragraph" style="text-align:left;">How a team migrated 500 GB of production MariaDB from RDS to EC2 with a rollback plan</p></li><li><p class="paragraph" style="text-align:left;">What GitHub’s September 2026 availability report revealed</p></li><li><p class="paragraph" style="text-align:left;">Docker Hub’s latest security advisory</p></li><li><p class="paragraph" style="text-align:left;">How one team systematically improved reliability</p></li><li><p class="paragraph" style="text-align:left;">What Envoy Gateway’s load tests revealed</p></li><li><p class="paragraph" style="text-align:left;">Lessons from migrating VMware infrastructure to Proxmox with Terraform</p></li><li><p class="paragraph" style="text-align:left;">Zero-downtime PostgreSQL upgrades using logical replication</p></li></ul><p class="paragraph" style="text-align:left;">Plus: cron internals, AWS NAT Gateway cost savings, RDS snapshot restore performance, Kubernetes service account security, surprising PostgreSQL query results, HTTP tracing with httptap, Cozystack, AI-powered job applications, and containerized coding agents.</p><p class="paragraph" style="text-align:left;">👉 <a class="link" href="https://www.uptime.engineer/p/moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=how-kubernetes-networking-works-from-a-service-ip-to-your-pod" target="_blank" rel="noopener noreferrer nofollow">Read Issue #40</a></p></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">A frontend pod calls <code>backend.default.svc.cluster.local</code>. It does not know which backend pod will handle the request, where that pod runs, or whether a rollout replaced it a few seconds ago.</p><p class="paragraph" style="text-align:left;">A Kubernetes Service gives the frontend one stable name and virtual address, while the pods behind it come and go, possibly on different nodes.</p><p class="paragraph" style="text-align:left;">Suppose the cluster has this layout. The addresses are examples; your cluster&#39;s ranges may differ.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/cfc2bbd8-894f-4907-b5dd-3b60a7bccca1/Kubernetes_Service_Endpoint_Routing_Diagram.png?t=1792556059"/><div class="image__source"><span class="image__source_text"><p>How a Kubernetes Service routes traffic to Pods</p></span></div></div><p class="paragraph" style="text-align:left;">The frontend opens a TCP connection to <code>backend:8080</code>. For normal ClusterIP traffic, the conceptual path is:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">DNS resolves <code>backend</code> to the Service ClusterIP.</p></li><li><p class="paragraph" style="text-align:left;">The Service data plane selects a ready backend Pod.</p></li><li><p class="paragraph" style="text-align:left;">It translates the destination from the ClusterIP to that Pod IP and port.</p></li><li><p class="paragraph" style="text-align:left;">The CNI network delivers the translated packet to the selected Pod.</p></li></ol><p class="paragraph" style="text-align:left;">Where selection and translation happen depends on the active Service datapath. An iptables cluster, an nftables cluster, and a kube-proxy-free eBPF cluster each use different kernel hooks and rule formats.</p><h2 class="heading" style="text-align:left;" id="a-pod-ip-belongs-to-one-pod"><b>A Pod IP belongs to one Pod</b></h2><p class="paragraph" style="text-align:left;">Each Pod has its own network identity. Containers in the same Pod share a network namespace, IP address, port space, and <code>localhost</code>. If one container listens on <code>127.0.0.1:8080</code>, another container in that Pod can reach it, but a different Pod cannot. The <a class="link" href="https://kubernetes.io/docs/concepts/workloads/pods/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=how-kubernetes-networking-works-from-a-service-ip-to-your-pod" target="_blank" rel="noopener noreferrer nofollow" style="color: #48a0c7">Pod documentation</a> describes this shared networking model.</p><p class="paragraph" style="text-align:left;">A Pod IP is useful for direct communication and debugging, but it is not a stable address for an application.</p><p class="paragraph" style="text-align:left;">Suppose <code>backend-2</code> is deleted during a Deployment rollout. Kubernetes does not move that Pod to another node. It creates a replacement Pod, which is a new object with a new UID and may receive a different IP address. A container restart inside an existing Pod can keep the Pod IP, but treat a replaced Pod as a new network endpoint. The <a class="link" href="https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=how-kubernetes-networking-works-from-a-service-ip-to-your-pod" target="_blank" rel="noopener noreferrer nofollow" style="color: #48a0c7">Pod lifecycle documentation</a> covers the difference.</p><p class="paragraph" style="text-align:left;">If the frontend called <code>10.244.2.31</code> directly, it would fail once <code>backend-2</code> disappeared. It calls the <code>backend</code> Service instead, and Kubernetes keeps that address stable while it updates the list of current backends.</p><h2 class="heading" style="text-align:left;" id="dns-returns-the-service-address"><b>DNS returns the Service address</b></h2><p class="paragraph" style="text-align:left;">Inside the <code>default</code> namespace, the frontend can usually use the short name:</p><div class="codeblock"><pre><code>backend</code></pre></div><p class="paragraph" style="text-align:left;">The Pod&#39;s DNS search path expands that name to something like:</p><div class="codeblock"><pre><code>backend.default.svc.cluster.local</code></pre></div><p class="paragraph" style="text-align:left;">For a normal ClusterIP Service, CoreDNS answers with the Service&#39;s virtual IP, not with any one backend Pod IP:</p><div class="codeblock"><pre><code>backend.default.svc.cluster.local -&gt; 10.96.42.17</code></pre></div><div class="codeblock"><pre><code>frontend Pod
     |
     | DNS query: backend.default.svc.cluster.local
     v
CoreDNS --&gt; 10.96.42.17</code></pre></div><p class="paragraph" style="text-align:left;">The exception is a <a class="link" href="https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=how-kubernetes-networking-works-from-a-service-ip-to-your-pod" target="_blank" rel="noopener noreferrer nofollow" style="color: #48a0c7">headless Service</a>. It has no ClusterIP, so DNS can return the endpoint Pod addresses instead.</p><p class="paragraph" style="text-align:left;">A successful lookup proves only that the name resolved. The Service may still have no ready endpoints, the application may not be listening on the expected port, or a NetworkPolicy may block the traffic.</p><p class="paragraph" style="text-align:left;">CoreDNS only answers the DNS query; the application request never passes through it. The frontend then sends its TCP packet to <code>10.96.42.17:8080</code>.</p><h2 class="heading" style="text-align:left;" id="endpoint-slices-track-ready-backend"><b>EndpointSlices track ready backends</b></h2><p class="paragraph" style="text-align:left;">A Service usually has a selector. Suppose <code>backend</code> selects Pods with:</p><div class="codeblock"><pre><code>selector:
  app: backend</code></pre></div><p class="paragraph" style="text-align:left;">Kubernetes watches matching Pods and maintains EndpointSlices for the Service. An EndpointSlice holds backend addresses, ports, node information, zones, and conditions such as readiness. The <a class="link" href="https://kubernetes.io/docs/concepts/services-networking/endpoint-slices/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=how-kubernetes-networking-works-from-a-service-ip-to-your-pod" target="_blank" rel="noopener noreferrer nofollow" style="color: #48a0c7">EndpointSlice API</a> is how Kubernetes represents a Service&#39;s current backends.</p><p class="paragraph" style="text-align:left;">Conceptually, the EndpointSlices for this example might contain:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/218ab5bd-67a6-48e6-9c9f-44e67fa471bf/Kubernetes_Service_to_Pod_Mapping.png?t=1792556125"/><div class="image__source"><span class="image__source_text"><p>How EndpointSlices track healthy backend Pods</p></span></div></div><p class="paragraph" style="text-align:left;">A Pod can be running and still get no normal Service traffic. If its readiness probe fails, Kubernetes can leave the container running but remove its address from the usable endpoints, so new connections stop reaching a Pod that is starting, draining, or failing its readiness check.</p><p class="paragraph" style="text-align:left;">That accounts for a common failure: the Service exists and DNS works, but calls time out because there are no ready endpoints. A selector typo, mismatched Pod labels, failing readiness probes, or a wrong <code>targetPort</code> can each cause it.</p><h2 class="heading" style="text-align:left;" id="the-service-data-plane-changes-the-"><b>The Service data plane changes the destination</b></h2><p class="paragraph" style="text-align:left;">The frontend has now sent a packet to:</p><div class="codeblock"><pre><code>10.96.42.17:8080</code></pre></div><p class="paragraph" style="text-align:left;">The ClusterIP is a virtual address. Unlike a Pod IP, you will not find it attached to a normal network interface. A node-level Service datapath captures traffic sent to that address and redirects it to a backend.</p><p class="paragraph" style="text-align:left;">In the common <code>iptables</code> kube-proxy mode, <code>kube-proxy</code> watches Services and EndpointSlices and programs Linux netfilter rules on each node. Those rules match the Service IP and port, choose an endpoint, and rewrite the packet&#39;s destination with destination NAT (DNAT). The <a class="link" href="https://kubernetes.io/docs/reference/networking/virtual-ips/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=how-kubernetes-networking-works-from-a-service-ip-to-your-pod" target="_blank" rel="noopener noreferrer nofollow" style="color: #48a0c7">virtual IP and Service proxy reference</a> documents this behavior.</p><p class="paragraph" style="text-align:left;">Suppose a new TCP connection from the frontend selects <code>backend-2</code>.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/b7b4be17-404e-47b7-9e07-5b3833d870f0/Frontend_to_Backend_Service_Datapath.png?t=1792556195"/><div class="image__source"><span class="image__source_text"><p>How DNAT changes a Service IP into a Pod IP</p></span></div></div><p class="paragraph" style="text-align:left;">After DNAT, the packet is addressed to the Pod IP. In this example, with no source NAT on the path:</p><div class="codeblock"><pre><code>source:      10.244.1.10
destination: 10.244.2.31:8080</code></pre></div><p class="paragraph" style="text-align:left;">Other cluster or CNI settings can add source NAT, so a packet capture will not always show the original Pod source address.</p><p class="paragraph" style="text-align:left;">In this mode, <code>kube-proxy</code> normally does not handle packets in user space. It watches the Kubernetes API and programs kernel rules, and the Linux kernel processes the matching traffic.</p><p class="paragraph" style="text-align:left;">Connection tracking (conntrack) records the NAT mapping for each connection, so reply packets from <code>backend-2</code> are translated correctly on the way back. Conntrack failures can break connections, but check DNS, endpoints, ports, policy, and Pod connectivity first.</p><h2 class="heading" style="text-align:left;" id="after-dnat-it-is-pod-networking"><b>After DNAT, it is Pod networking</b></h2><p class="paragraph" style="text-align:left;">Once the destination is a Pod IP, the CNI plugin handles the path to that Pod.</p><p class="paragraph" style="text-align:left;">If <code>backend-1</code> on <code>worker-a</code> is selected, delivery stays on the same node:</p><div class="codeblock"><pre><code>frontend Pod -&gt; Service DNAT -&gt; local node datapath -&gt; backend-1 Pod</code></pre></div><p class="paragraph" style="text-align:left;">A common Linux setup connects each Pod&#39;s network namespace to the node through a veth pair. One end appears as <code>eth0</code> inside the Pod, and the host-side end connects to a bridge, a route, or some other CNI-managed datapath. Names such as <code>cni0</code> show up in some setups, but Kubernetes does not require them.</p><p class="paragraph" style="text-align:left;">If <code>backend-2</code> is selected, the packet has to cross from <code>worker-a</code> to <code>worker-b</code>.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/deca8a7d-148c-4f16-9398-f02c15b15fa5/Kubernetes_Service_Datapath__Same_and_Cross_Node.png?t=1792556242"/><div class="image__source"><span class="image__source_text"><p>Same-node vs cross-node packet delivery</p></span></div></div><p class="paragraph" style="text-align:left;">Kubernetes requires Pods to be able to reach each other across nodes, but it leaves the routing design and CNI implementation to the network plugin. See the <a class="link" href="https://kubernetes.io/docs/concepts/cluster-administration/networking/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=how-kubernetes-networking-works-from-a-service-ip-to-your-pod" target="_blank" rel="noopener noreferrer nofollow" style="color: #48a0c7">cluster networking model</a>.</p><p class="paragraph" style="text-align:left;">With native routing, the underlying network must know how to reach Pod addresses or Pod CIDRs, so check node routes, cloud routes, and firewall rules. With an overlay, the CNI wraps Pod traffic in another packet addressed between nodes, so also check that encapsulated traffic is allowed and that MTU and tunnel settings are right.</p><h2 class="heading" style="text-align:left;" id="one-connection-can-carry-many-http-"><b>One connection can carry many HTTP requests</b></h2><p class="paragraph" style="text-align:left;">A Service does not promise that each HTTP request reaches a different Pod.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/d325e906-e15f-4b35-88e4-06a7a3d28a41/Keep-Alive_TCP_Routing_to_Backend-2.png?t=1792556279"/><div class="image__source"><span class="image__source_text"><p>Why multiple HTTP requests can reach the same Pod</p></span></div></div><p class="paragraph" style="text-align:left;">Backend selection generally happens when the client opens a new connection or flow. If the frontend opens one TCP connection to <code>backend</code> and HTTP keep-alive holds it open, ten HTTP requests can all land on <code>backend-2</code>.</p><p class="paragraph" style="text-align:left;">Connection pools do the same thing. A frontend with four long-lived connections might send most of its traffic to one or two Pods even though all three endpoints are healthy.</p><p class="paragraph" style="text-align:left;">In iptables mode, Kubernetes documents random endpoint selection unless session affinity applies, so expect neither strict round-robin nor per-request balancing. What you observe also depends on client connection reuse, session affinity, proxy mode, and CNI settings.</p><p class="paragraph" style="text-align:left;">When one backend gets more requests than the others, check connection behavior before assuming Service load balancing is broken.</p><h2 class="heading" style="text-align:left;" id="other-service-datapaths"><b>Other Service datapaths</b></h2><p class="paragraph" style="text-align:left;">The iptables example shows destination translation clearly, but it is only one implementation.</p><p class="paragraph" style="text-align:left;">Kube-proxy can also run in nftables mode on supported Linux systems. It has supported IPVS mode too, though that mode&#39;s status depends on the version. According to the Kubernetes documentation, IPVS was deprecated in v1.35, is disabled by default in v1.40, and is planned for removal in v1.43. Check the <a class="link" href="https://kubernetes.io/docs/reference/networking/virtual-ips/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=how-kubernetes-networking-works-from-a-service-ip-to-your-pod" target="_blank" rel="noopener noreferrer nofollow" style="color: #48a0c7">current proxy mode documentation</a> for the version you run.</p><p class="paragraph" style="text-align:left;">A Cilium cluster can run without kube-proxy and use eBPF maps for Service load balancing and translation. In that setup there may be no kube-proxy iptables rules at all, so searching for them tells you nothing. Cilium calls this <a class="link" href="https://docs.cilium.io/en/latest/network/kubernetes/kubeproxy-free/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=how-kubernetes-networking-works-from-a-service-ip-to-your-pod" target="_blank" rel="noopener noreferrer nofollow" style="color: #48a0c7">kube-proxy-free operation</a>.</p><p class="paragraph" style="text-align:left;">Kubernetes API checks work the same in every mode, but rule inspection does not, so identify the active proxy mode and CNI before you run node-level diagnostics.</p><h2 class="heading" style="text-align:left;" id="trace-a-timeout-in-packet-order"><b>Trace a timeout in packet order</b></h2><p class="paragraph" style="text-align:left;">Start in the frontend Pod by checking its resolver settings and name resolution.</p><div class="codeblock"><pre><code>kubectl exec -it &lt;frontend-pod&gt; -- cat /etc/resolv.conf
kubectl exec -it &lt;frontend-pod&gt; -- nslookup backend</code></pre></div><p class="paragraph" style="text-align:left;">Many production application images do not include <code>nslookup</code>. If yours doesn&#39;t, use a diagnostic Pod with DNS tools; a missing binary is not a DNS failure.</p><p class="paragraph" style="text-align:left;">Next, inspect the Service and its endpoints.</p><div class="codeblock"><pre><code>kubectl get svc backend -o wide
kubectl get endpointslices -l kubernetes.io/service-name=backend -o yaml
kubectl get pods -l app=backend -o wide</code></pre></div><p class="paragraph" style="text-align:left;">Compare the Service selector with the Pod labels, and the ready endpoint addresses with the Pod IPs and their nodes. Make sure the Service <code>targetPort</code> matches the port the backend actually listens on.</p><p class="paragraph" style="text-align:left;">Then test the Service, and test a current ready endpoint directly. Use a frontend image that includes <code>wget</code>, or run a separate diagnostic Pod.</p><div class="codeblock"><pre><code>kubectl exec -it &lt;frontend-pod&gt; -- wget -S -O- http://backend:8080/health

kubectl exec -it &lt;frontend-pod&gt; -- wget -S -O- http://&lt;ready-pod-ip&gt;:&lt;target-port&gt;/health</code></pre></div><p class="paragraph" style="text-align:left;">Take <code>&lt;ready-pod-ip&gt;</code> and <code>&lt;target-port&gt;</code> from a ready EndpointSlice, not from an old example or a previous rollout.</p><p class="paragraph" style="text-align:left;">Comparing the two results narrows the problem:</p><ul><li><p class="paragraph" style="text-align:left;">If DNS fails, inspect resolver settings, the CoreDNS Pods, the DNS Service, and its EndpointSlices.</p></li><li><p class="paragraph" style="text-align:left;">If the EndpointSlices have no ready endpoints, inspect selectors, labels, readiness probes, and <code>targetPort</code>.</p></li><li><p class="paragraph" style="text-align:left;">If direct Pod access fails, check that the application listens on the expected port, then inspect NetworkPolicies, CNI routes, node firewalls, and possible MTU problems.</p></li><li><p class="paragraph" style="text-align:left;">If direct Pod access works but Service access fails, inspect Service ports, EndpointSlices, kube-proxy or the eBPF Service datapath, and conntrack.</p></li><li><p class="paragraph" style="text-align:left;">If NetworkPolicies exist, check frontend egress and backend ingress. A NetworkPolicy has no effect unless the installed CNI enforces it, as the <a class="link" href="https://kubernetes.io/docs/concepts/services-networking/network-policies/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=how-kubernetes-networking-works-from-a-service-ip-to-your-pod" target="_blank" rel="noopener noreferrer nofollow" style="color: #48a0c7">NetworkPolicy documentation</a> notes.</p></li></ul><p class="paragraph" style="text-align:left;">If you have node access, look at the actual routes instead of guessing how the CNI works:</p><div class="codeblock"><pre><code>ip route</code></pre></div><p class="paragraph" style="text-align:left;">For a remote endpoint, check whether the node has a route or CNI-managed path to the remote Pod network. The output varies by CNI, cloud provider, and routing mode.</p><p class="paragraph" style="text-align:left;"></p><div class="image"><img alt="" class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/></div><p class="paragraph" style="text-align:center;">👋<b> Find me on </b><a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=how-kubernetes-networking-works-from-a-service-ip-to-your-pod" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Twitter</b></a><b> | </b><a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=how-kubernetes-networking-works-from-a-service-ip-to-your-pod" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Linkedin</b></a><b> | </b><a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=how-kubernetes-networking-works-from-a-service-ip-to-your-pod" target="_blank" rel="noopener noreferrer nofollow"><span style="color:#14928e;"><b>Connect 1:1</b></span></a></p><p class="paragraph" style="text-align:left;"><i><b>Thank you for supporting this newsletter.</b></i><br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=7dde6a5b-78c3-4dc0-9984-1de50a3367bf&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>#40 Uptime Sync: Moving Off RDS, Cutting AWS Costs, and Upgrading Postgres Without Downtime</title>
  <description>A 500 GB database migration with a rollback path, Docker Hub’s security advisory, and ways to tighten Kubernetes permissions.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/7ae6a240-7b70-46d1-bea4-7e0ccf91b2ad/R_wWbHqpQTg-HD.jpg" length="126592" type="image/jpeg"/>
  <link>https://www.uptime.engineer/p/moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime</guid>
  <pubDate>Mon, 19 Oct 2026 03:19:29 +0000</pubDate>
  <atom:published>2026-10-19T03:19:29Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
    <category><![CDATA[Digest]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;"></p><div id="section" class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - High Value - the best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;"></p><h3 class="heading" style="text-align:left;" id="you-know-the-problem-now-build-the-">You know the problem. Now build the fix.</h3><div class="image"><a class="image__link" href="https://www.lovable.dev/beehiiv-approval?utm_campaign=KHPTNYBUED&utm_source=beehiiv&_bhiiv=opp_9032067e-9e00-478a-af6d-9852074ad7e9_c08c307e&bhcl_id=4a0bb22c-374c-49b1-bd2c-d3e737a38391_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/bdf41429-76b4-4444-8545-bc414cd9da13/Builders_expertise2.png?t=1791817112"/></a></div><p class="paragraph" style="text-align:left;">You&#39;ve spent years close to a broken industry or process. You know exactly what would fix it. But you’ve never had the time or resources to make it happen.</p><p class="paragraph" style="text-align:left;">With <a class="link" href="https://www.lovable.dev/beehiiv-approval?utm_campaign=KHPTNYBUED&utm_source=beehiiv&_bhiiv=opp_9032067e-9e00-478a-af6d-9852074ad7e9_c08c307e&bhcl_id=4a0bb22c-374c-49b1-bd2c-d3e737a38391_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Lovable</a>, your expertise is all you need. Describe the solution to your problem — a website, a dashboard, an internal tool — and get professional-grade software back. You make every call on how it works, because you&#39;re the one who knows what it needs to do.</p><p class="paragraph" style="text-align:left;">Start today and take $5 off your first month.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.lovable.dev/beehiiv-approval?utm_campaign=KHPTNYBUED&utm_source=beehiiv&_bhiiv=opp_9032067e-9e00-478a-af6d-9852074ad7e9_c08c307e&bhcl_id=4a0bb22c-374c-49b1-bd2c-d3e737a38391_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Build the fix, $5 off</a></p><p class="paragraph" style="text-align:left;"><sup><sub>Discount of $5 applies to first month of any paid plan. You need to sign up via this webpage in order to claim the discount. The discount applies to new and returning users without an active paid plan. Terms apply.</sub></sup></p><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">Welcome to this week’s Uptime Sync. This issue covers a 500 GB production MariaDB migration from Amazon RDS to EC2 with a rollback path, GitHub’s September availability report, and Docker Hub’s security advisory. We also look at how one team systematically improved reliability, Envoy Gateway’s load-testing results, and lessons from a VMware migration using Proxmox and Terraform.<br><br>On the tutorial front: a closer look at cron, zero-downtime Postgres upgrades with logical replication, and ways to avoid AWS NAT Gateway costs. We also cover reducing storage initialization impact after an RDS PostgreSQL snapshot restore, removing excessive permissions from Kubernetes service accounts, and why running the same Postgres query twice can return different results.<br><br>This week’s projects bring you httptap for tracing HTTP requests through DNS, connection setup, TLS, wait time, and transfer; Cozystack for a free Kubernetes-based cloud platform; AI Job Search for running a Claude Code-based job application workflow on your machine; and Agent Containers for running command-line coding agents in restricted Docker images.</p><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Newsworthy Reads</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.blog/news-insights/company-news/github-availability-report-september-2026/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow">GitHub availability report: September 2026</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.docker.com/blog/docker-hub-security-advisory-cve-2026-105445/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow">Docker Hub security advisory</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://mariadb.org/migrating-a-500-gb-production-mariadb-database-from-amazon-rds-to-ec2-with-a-rollback-path/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow">Migrating a 500 GB Production MariaDB Database from Amazon RDS to EC2, With a Rollback Path</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://neon.com/blog/how-we-systematically-improved-our-reliability?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow">How we systematically improved our reliability</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.giantswarm.io/blog/envoy-gateway-load-testing-report?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow">Envoy Gateway load testing report</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.goncharov.xyz/it/tf4proxmox-en.html?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow">Terraform Meets Proxmox: Lessons from a VMware Migration</a></p></li></ul><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/rnJrc1QOFME" width="100%"></iframe><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/yFSDB1BatrQ" width="100%"></iframe><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Tutorials of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://flaviocopes.com/cron/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow">A deep dive into cron</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://tapoueh.org/blog/2026/10/zero-downtime-postgres-upgrades-with-logical-replication/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow">Zero-downtime Postgres upgrades with logical replication</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://awsfundamentals.com/blog/avoid-nat-gateway-costs?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow">How to avoid NAT Gateway costs on AWS</a></p></li></ul><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/R_wWbHqpQTg" width="100%"></iframe><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://aws.amazon.com/blogs/database/reducing-storage-initialization-impact-in-amazon-rds-for-postgresql-after-snapshot-restore/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow">Reducing storage initialization impact in Amazon RDS for PostgreSQL after snapshot restore</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://goteleport.com/blog/how-to-reduce-overprivileged-kubernetes-service-accounts/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow">How to Reduce Overprivileged Kubernetes Service Accounts</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://exobench.ai/blog/postgres-disagreed-with-itself?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow">I ran the same query twice and Postgres disagreed with itself</a></p></li></ul><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Projects of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/ozeranskii/httptap?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow">httptap</a> - Rich-powered CLI that breaks each HTTP request into DNS, connect, TLS, wait, and transfer phases with waterfall timelines, compact summaries, or metrics-only output.</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/cozystack/cozystack?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow">Cozystack</a>: Free Cloud Platform based on Kubernetes</p></li></ul><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/d9779aef-f5e5-49e1-848a-7de614abe8e9/68747470733a2f2f636f7a79737461636b2e696f2f696d672f73637265656e73686f742d6461726b2e706e67.png?t=1792379182"/></div><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/MadsLorentzen/ai-job-search?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow">AI Job Search</a> - <span style="background-color:#ffffff;">The job search that runs on your machine. AI job application framework built on Claude Code</span></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/anirbanbasu/agent-containers?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow">Agent Containers</a> - Restricted Docker images for running command line interface (coding) agents.</p></li></ul><p class="paragraph" style="text-align:left;"></p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/></div><p class="paragraph" style="text-align:center;">👋 Find me on <a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Twitter</a> | <a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Linkedin</a> | <a class="link" href="https://www.instagram.com/askyoshik/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow">Instagram </a>| <a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=40-uptime-sync-moving-off-rds-cutting-aws-costs-and-upgrading-postgres-without-downtime" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Connect 1:1</a></p><p class="paragraph" style="text-align:left;">Thank you for supporting this newsletter. Consider sharing this post with your friends.<br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=8864f0ab-d511-4949-a506-3cd712525498&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>18-Month SRE and Platform Engineer Learning Roadmap</title>
  <description>The Practical Roadmap to SRE and Platform Engineering</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/7492e989-f72a-4676-b77d-f038be7cf10b/Untitled__1253_x_1253_px___1_.png" length="39726" type="image/png"/>
  <link>https://www.uptime.engineer/p/18-month-sre-and-platform-engineer-learning-roadmap</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/18-month-sre-and-platform-engineer-learning-roadmap</guid>
  <pubDate>Thu, 15 Oct 2026 18:35:54 +0000</pubDate>
  <atom:published>2026-10-15T18:35:54Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
    <category><![CDATA[Career]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><div id="section" class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - The best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">This roadmap covers the skills that matter most for SRE and platform work:</p><ul><li><p class="paragraph" style="text-align:left;">Operating production services</p></li><li><p class="paragraph" style="text-align:left;">Diagnosing failures</p></li><li><p class="paragraph" style="text-align:left;">Automating safe delivery</p></li><li><p class="paragraph" style="text-align:left;">Measuring reliability</p></li><li><p class="paragraph" style="text-align:left;">Reducing repetitive engineering work</p></li><li><p class="paragraph" style="text-align:left;">Building useful internal platforms</p></li></ul><p class="paragraph" style="text-align:left;">Each stage links to the free guides that go deeper on it. Where a paid guide from the bundle fits, I&#39;ve noted it at the end of the stage.</p><h2 class="heading" style="text-align:left;" id="start-here-read-cracking-sre-free"><b>Start here: read Cracking SRE (free)</b></h2><p class="paragraph" style="text-align:left;">If you&#39;re new to SRE, start with <a class="link" href="https://drive.google.com/file/d/1kqLircR119IOyvChG_HLB_rkWZty_hD-/view?usp=sharing&utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=18-month-sre-and-platform-engineer-learning-roadmap" target="_blank" rel="noopener noreferrer nofollow" style="color: #48a0c7"><b>Cracking SRE</b></a>. It&#39;s free, and it&#39;s the fastest way to see what the job looks like before you spend months on tools.</p><p class="paragraph" style="text-align:left;">It covers:</p><ul><li><p class="paragraph" style="text-align:left;">What SREs do day to day, and how the role differs from DevOps and platform engineering</p></li><li><p class="paragraph" style="text-align:left;">The Linux, networking, and observability basics interviewers expect you to know</p></li><li><p class="paragraph" style="text-align:left;">How to approach system design from a reliability angle</p></li><li><p class="paragraph" style="text-align:left;">How incidents are run, and how to write a postmortem</p></li><li><p class="paragraph" style="text-align:left;">SLOs, error budgets, RTO, and RPO, explained without the usual confusion</p></li><li><p class="paragraph" style="text-align:left;">What interviews test, and how to handle the on-call simulation round</p></li></ul><p class="paragraph" style="text-align:left;">Read it first, then use this roadmap as the order to learn everything else in.</p><h2 class="heading" style="text-align:left;" id="understand-the-job"><b>Understand the job</b></h2><p class="paragraph" style="text-align:left;">SRE and platform engineering are about making software more reliable, safer to change, easier to operate, and easier for engineers to deploy and troubleshoot. Kubernetes, Terraform, and cloud dashboards are tools for that work.</p><p class="paragraph" style="text-align:left;">The roles overlap, but they have different focuses:</p><ul><li><p class="paragraph" style="text-align:left;"><b>DevOps</b> owns the delivery pipeline. The focus is velocity.</p></li><li><p class="paragraph" style="text-align:left;"><b>Platform engineering</b> builds internal capabilities for other engineers. Their customer is internal.</p></li><li><p class="paragraph" style="text-align:left;"><b>SRE</b> owns the reliability of systems already running in production. The focus is production.</p></li></ul><p class="paragraph" style="text-align:left;">In a small company, one person may do all three. Job postings often say SRE when the work is mostly DevOps, so ask the interviewer, &quot;What does a typical week look like for someone in this role?&quot;</p><p class="paragraph" style="text-align:left;">Reliability is shared. When several teams can ship changes that affect users, no single team can fully own production. Google Cloud&#39;s reliability guidance describes reliability as a shared responsibility.</p><p class="paragraph" style="text-align:left;">A platform is a set of integrated capabilities delivered through consistent self-service experiences, as the CNCF Platforms White Paper defines it. It isn&#39;t automatically a portal or a Kubernetes cluster. It might include repository templates, CI pipelines, deployment workflows, documented scripts, dashboards, access controls, and SOPs.</p><div class="blockquote"><blockquote class="blockquote__quote"><p class="paragraph" style="text-align:left;">Learn the work before you worry about the title.</p><figcaption class="blockquote__byline"></figcaption></blockquote></div><h2 class="heading" style="text-align:left;" id="18-month-learning-roadmap"><b>18-month learning roadmap</b></h2><h3 class="heading" style="text-align:left;" id="months-0-to-2-systems-and-coding-fu"><b>Months 0 to 2: Systems and coding fundamentals</b></h3><p class="paragraph" style="text-align:left;">Start with the foundations that explain what software is doing:</p><ul><li><p class="paragraph" style="text-align:left;">Linux processes and signals</p></li><li><p class="paragraph" style="text-align:left;">Files, permissions, and users</p></li><li><p class="paragraph" style="text-align:left;">Shell scripting</p></li><li><p class="paragraph" style="text-align:left;">Git</p></li><li><p class="paragraph" style="text-align:left;">HTTP, DNS, TLS, and TCP basics</p></li><li><p class="paragraph" style="text-align:left;">SQL</p></li><li><p class="paragraph" style="text-align:left;">Basic Python or Go</p></li></ul><p class="paragraph" style="text-align:left;">By the end of this stage, you should be able to read a small service, write a health endpoint, query a database, automate a repetitive task, inspect a running process, and explain how an HTTP request reaches an application.</p><p class="paragraph" style="text-align:left;"><b>Free guides:</b></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://drive.google.com/file/d/1NoFtFwGcHKrLyH0T0KVU0k0vlyZOWh1e/view?usp=sharing&utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=18-month-sre-and-platform-engineer-learning-roadmap" target="_blank" rel="noopener noreferrer nofollow" style="color: #48a0c7"><b>Linux interview guide</b></a> covers processes, permissions, disks, and systemd. Two topics to start with: why a deleted file can still hold disk space, and why a service that works by hand can fail under systemd.</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://drive.google.com/file/d/1wMxsNkzhfS_tKFS0_RmdWp1oaqaUsMsi/view?usp=sharing&utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=18-month-sre-and-platform-engineer-learning-roadmap" target="_blank" rel="noopener noreferrer nofollow" style="color: #48a0c7"><b>Networking interview guide</b></a> covers how a request travels from a client to your service. Learn to tell &quot;connection refused,&quot; &quot;connection timed out,&quot; and &quot;connection reset&quot; apart, since each points to a different part of the system.</p></li></ul><p class="paragraph" style="text-align:left;"><b>In the bundle:</b> the Git and Bash and Python scripting guides go deeper on the shell and version-control skills in this stage.</p><h3 class="heading" style="text-align:left;" id="months-2-to-4-build-and-release-sof"><b>Months 2 to 4: Build and release software</b></h3><p class="paragraph" style="text-align:left;">Learn how software moves from source code to production:</p><ul><li><p class="paragraph" style="text-align:left;">Docker images</p></li><li><p class="paragraph" style="text-align:left;">Container registries</p></li><li><p class="paragraph" style="text-align:left;">Environment configuration</p></li><li><p class="paragraph" style="text-align:left;">Automated tests</p></li><li><p class="paragraph" style="text-align:left;">CI pipelines</p></li><li><p class="paragraph" style="text-align:left;">Versioned artifacts</p></li><li><p class="paragraph" style="text-align:left;">Deployment health checks</p></li><li><p class="paragraph" style="text-align:left;">Rollbacks</p></li><li><p class="paragraph" style="text-align:left;">Release approvals</p></li></ul><p class="paragraph" style="text-align:left;">A release isn&#39;t finished when CI turns green. It&#39;s finished when the new version serves traffic, health checks measure something meaningful, dashboards look normal, errors and latency are within acceptable limits, and someone knows how to roll back.</p><p class="paragraph" style="text-align:left;">Don&#39;t deploy to 100% of production at once. Start with a small slice of traffic or one region, watch error rate and latency for 10 to 15 minutes, then widen the rollout. Tag images with the git commit SHA rather than <code>latest</code>, so you always know what is running.</p><p class="paragraph" style="text-align:left;">Deployment controls matter most when several changes target the same environment. GitHub Actions documents protected environments, approvals, branch restrictions, secrets, and deployment concurrency in its continuous deployment and deployment controls guidance.</p><p class="paragraph" style="text-align:left;"><b>Free guide:</b> <a class="link" href="https://drive.google.com/file/d/1jPck8IrfpCY3_TEQ1i2NCkcVqlGlE7Mz/view?usp=sharing&utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=18-month-sre-and-platform-engineer-learning-roadmap" target="_blank" rel="noopener noreferrer nofollow" style="color: #48a0c7"><b>Docker interview guide</b></a> explains containers as restricted Linux processes, which makes most confusing behaviour predictable. It covers why <code>docker stop</code> sometimes takes exactly ten seconds, why an image can keep a secret you deleted, and why a one-line change can rebuild everything.</p><h3 class="heading" style="text-align:left;" id="months-4-to-7-cloud-and-infrastruct"><b>Months 4 to 7: Cloud and infrastructure as code</b></h3><p class="paragraph" style="text-align:left;">Choose one cloud provider and learn it well before studying several superficially. Focus on identity and access, virtual networks, subnets and routes, firewalls and security groups, load balancers, compute, storage, managed databases, queues, backups, monitoring, and basic cost controls.</p><p class="paragraph" style="text-align:left;">Then use Terraform to build a small environment. Infrastructure as code makes configuration reviewable and versioned, but it won&#39;t make a weak design reliable on its own. Read the Terraform documentation, and follow these habits:</p><ul><li><p class="paragraph" style="text-align:left;">Keep infrastructure configuration in Git.</p></li><li><p class="paragraph" style="text-align:left;">Review Terraform plans before applying changes.</p></li><li><p class="paragraph" style="text-align:left;">Separate environments.</p></li><li><p class="paragraph" style="text-align:left;">Protect Terraform state.</p></li><li><p class="paragraph" style="text-align:left;">Keep secrets out of repositories.</p></li><li><p class="paragraph" style="text-align:left;">Use least-privilege access.</p></li><li><p class="paragraph" style="text-align:left;">Prefer managed services when running the underlying system doesn&#39;t give you a product advantage.</p></li></ul><p class="paragraph" style="text-align:left;">Kubernetes production guidance covers access control, resource limits, certificates, backups, and resilience. Don&#39;t copy a large production architecture into a beginner project without understanding its cost and operational risk.</p><p class="paragraph" style="text-align:left;"><b>Free guide:</b> <a class="link" href="https://drive.google.com/file/d/1oAoTECt3z7I-Tc_nGqmgCn1GAWVXrL7_/view?usp=sharing&utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=18-month-sre-and-platform-engineer-learning-roadmap" target="_blank" rel="noopener noreferrer nofollow" style="color: #48a0c7"><b>Database interview guide</b></a> is the place to learn indexes, query plans, and locking. Start with a few million rows and <code>EXPLAIN ANALYZE</code>. It also covers why <code>CREATE INDEX</code> can block writes on a live table, and why one forgotten open transaction can hold back cleanup across the whole database.</p><p class="paragraph" style="text-align:left;"><b>Test your backups.</b> Most teams test the backup process only after they need it, and an untested backup is not a backup. Know how backups are taken, how long a restore takes, and when the last restore was tested.</p><h3 class="heading" style="text-align:left;" id="months-7-to-10-observability-and-sr"><b>Months 7 to 10: Observability and SRE skills</b></h3><p class="paragraph" style="text-align:left;">Observability helps you understand what is happening inside a system:</p><ul><li><p class="paragraph" style="text-align:left;">Metrics show trends over time.</p></li><li><p class="paragraph" style="text-align:left;">Logs describe specific events.</p></li><li><p class="paragraph" style="text-align:left;">Traces show the path of one request across services and dependencies.</p></li></ul><p class="paragraph" style="text-align:left;">OpenTelemetry&#39;s observability primer explains how traces use spans to connect work across components. Each signal answers a different question. Metrics tell you latency rose at 3pm. Logs tell you which requests were slow. Traces tell you which service in the chain caused it. You need all three.</p><p class="paragraph" style="text-align:left;">Start with signals tied to user experience and system capacity: request rate, error rate, latency, CPU and memory, disk utilisation, connection saturation, queue depth, database health, deployment version, and dependency failures.</p><p class="paragraph" style="text-align:left;">Alert on conditions that need a human. Don&#39;t page someone for every CPU increase. Alert when users are already affected, a service objective is at risk, a resource is approaching a hard limit, or immediate action is required. Google&#39;s incident management guidance covers user-focused alerting and on-call preparation in more detail.</p><p class="paragraph" style="text-align:left;">When an alert fires:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">Confirm whether users are affected.</p></li><li><p class="paragraph" style="text-align:left;">Determine the scope of the problem.</p></li><li><p class="paragraph" style="text-align:left;">Check recent deployments. A deploy shortly before the incident is the first suspect until proven otherwise.</p></li><li><p class="paragraph" style="text-align:left;">Check dependency health.</p></li><li><p class="paragraph" style="text-align:left;">Use metrics to find when the issue began.</p></li><li><p class="paragraph" style="text-align:left;">Use traces to locate the failing hop.</p></li><li><p class="paragraph" style="text-align:left;">Use logs to inspect the exact error.</p></li><li><p class="paragraph" style="text-align:left;">Mitigate the impact.</p></li><li><p class="paragraph" style="text-align:left;">Record follow-up actions.</p></li></ol><p class="paragraph" style="text-align:left;">Timebox the investigation. If you haven&#39;t found a likely cause in about 15 minutes, escalate. Asking for help early is what senior engineers expect.</p><h3 class="heading" style="text-align:left;" id="define-a-simple-slo"><b>Define a simple SLO</b></h3><p class="paragraph" style="text-align:left;">Start with one objective: 99.9% of valid API requests succeed over a rolling 30-day window.</p><p class="paragraph" style="text-align:left;">Keep four terms separate:</p><ul><li><p class="paragraph" style="text-align:left;"><b>SLI</b> is what you measure, a metric that reflects the user&#39;s experience. CPU usage isn&#39;t an SLI. Request success rate or latency is. Percentiles such as p99 are more honest than averages.</p></li><li><p class="paragraph" style="text-align:left;"><b>SLO</b> is your internal target for that SLI.</p></li><li><p class="paragraph" style="text-align:left;"><b>SLA</b> is the external promise, usually backed by credits or refunds.</p></li><li><p class="paragraph" style="text-align:left;"><b>Error budget</b> is the unreliability you can afford before you breach the SLO.</p></li></ul><p class="paragraph" style="text-align:left;">Keep the SLO slightly tighter than the SLA. If you promise 99.9% externally, aim for 99.95% internally. That gap gives you room to fix problems before they become contractual violations.</p><p class="paragraph" style="text-align:left;">For a 99.9% target over 30 days, the budget is about 43 minutes of downtime. For 99.99%, it&#39;s about 4 minutes a month. The gap between the two targets is a very different operational burden, covering redundancy, automated failover, and zero-downtime deployments.</p><p class="paragraph" style="text-align:left;">When the error budget is healthy, the team can ship features and take riskier deployments. When it&#39;s nearly used up, the team pauses risky changes and focuses on reliability. That turns &quot;reliability versus velocity&quot; from a debate into a factual question. For example: &quot;We have 4 minutes of budget left this month. That deployment has a 30% chance of causing 10 minutes of downtime. We&#39;re not shipping it this week.&quot;</p><p class="paragraph" style="text-align:left;">Two recovery targets sit alongside these:</p><ul><li><p class="paragraph" style="text-align:left;"><b>RTO</b> (recovery time objective) is the longest your system can be down before the impact becomes unacceptable.</p></li><li><p class="paragraph" style="text-align:left;"><b>RPO</b> (recovery point objective) is the most data you can afford to lose.</p></li></ul><p class="paragraph" style="text-align:left;">RTO is the target. Actual recovery time is the measurement. If your RTO is 30 minutes and your last three incidents took 45 minutes, you have a gap to close.</p><h3 class="heading" style="text-align:left;" id="practise-incident-response"><b>Practise incident response</b></h3><p class="paragraph" style="text-align:left;">An incident starts when users are affected or about to be, not when an alert fires. During an incident, mitigate first and analyse later. Rolling back is often the quickest mitigation.</p><p class="paragraph" style="text-align:left;">Narrate what you see, not what you guess. &quot;Error rate is 40% on the payments service, started at 14:23, database connections are at 95% of the pool limit&quot; is useful. &quot;I think it&#39;s the database&quot; isn&#39;t.</p><p class="paragraph" style="text-align:left;">After the incident, write a blameless postmortem. Include a precise timeline, the root cause, and action items with an owner and a due date. &quot;Improve monitoring&quot; never gets done. &quot;Add an alert for database connection pool utilisation above 80%, owned by a named engineer, due next Friday&quot; does.</p><h2 class="heading" style="text-align:left;" id="build-platform-skills"><b>Build platform skills</b></h2><h3 class="heading" style="text-align:left;" id="months-10-to-18-create-a-small-inte"><b>Months 10 to 18: Create a small internal platform</b></h3><p class="paragraph" style="text-align:left;">Build abstractions only after you understand the services beneath them. Otherwise you hide complexity instead of reducing it.</p><p class="paragraph" style="text-align:left;">Start with one common service and build a small golden path. It should contain a repository template, a Dockerfile, CI checks, deployment configuration, secrets integration, a standard dashboard and alerts, ownership metadata, a runbook, and rollback instructions.</p><p class="paragraph" style="text-align:left;">Treat the platform as an internal product. Measure whether it reduces support tickets, speeds up delivery, provides safer defaults, reduces repeated configuration errors, and makes troubleshooting easier.</p><h4 class="heading" style="text-align:left;" id="reliability-patterns-to-build-into-"><b>Reliability patterns to build into services</b></h4><p class="paragraph" style="text-align:left;">Put these in the golden path so every team gets them by default:</p><ul><li><p class="paragraph" style="text-align:left;"><b>Circuit breakers</b> stop calls to a failing dependency and return a fallback. Without one, every request keeps tying up threads and connections while the dependency struggles.</p></li><li><p class="paragraph" style="text-align:left;"><b>Retries with exponential backoff and jitter</b> handle transient failures without piling load onto a struggling service. Set a maximum retry count. Never automatically retry non-idempotent operations such as a payment, or you may charge a customer twice.</p></li><li><p class="paragraph" style="text-align:left;"><b>Graceful degradation</b> keeps the rest of the system working when one component fails. If the recommendations service is down, the page should still load.</p></li><li><p class="paragraph" style="text-align:left;"><b>Capacity planning</b> asks whether the system can handle the load. Plan for peak traffic, not average, and add a buffer. If peak is 10,000 requests per second, design for 15,000.</p></li></ul><h3 class="heading" style="text-align:left;" id="security-and-ai-infrastructure-opti"><b>Security and AI infrastructure (optional, from month 12)</b></h3><p class="paragraph" style="text-align:left;">Once the platform is running, security becomes part of the delivery path. Scan images in CI and in the registry, because an image that was clean when you built it may not be clean three months later. Rebuild on a schedule, not only when your code changes, and run containers as non-root with the smallest set of capabilities they need.</p><p class="paragraph" style="text-align:left;">If you work near AI workloads, learn how GPU capacity, model serving, and data pipelines affect reliability in the same way that databases and queues do.</p><p class="paragraph" style="text-align:left;"><b>In the bundle:</b> the DevSecOps guide and the AI infrastructure guide cover these topics.</p><h2 class="heading" style="text-align:left;" id="build-projects"><b>Build projects</b></h2><p class="paragraph" style="text-align:left;">A strong portfolio project shows the full operational lifecycle:</p><ul><li><p class="paragraph" style="text-align:left;">Build one deployable service.</p></li><li><p class="paragraph" style="text-align:left;">Add tests and a CI pipeline.</p></li><li><p class="paragraph" style="text-align:left;">Package it into a container.</p></li><li><p class="paragraph" style="text-align:left;">Deploy it to a small cloud environment.</p></li><li><p class="paragraph" style="text-align:left;">Add metrics, logs, and traces.</p></li><li><p class="paragraph" style="text-align:left;">Define an SLO.</p></li><li><p class="paragraph" style="text-align:left;">Introduce a controlled failure.</p></li><li><p class="paragraph" style="text-align:left;">Observe and diagnose the failure.</p></li><li><p class="paragraph" style="text-align:left;">Roll back or mitigate the issue.</p></li><li><p class="paragraph" style="text-align:left;">Write a runbook.</p></li><li><p class="paragraph" style="text-align:left;">Automate the repeated steps.</p></li><li><p class="paragraph" style="text-align:left;">Document the trade-offs.</p></li></ul><p class="paragraph" style="text-align:left;">That shows more end-to-end ability than listing dozens of tools.</p><p class="paragraph" style="text-align:left;">In interviews, the goal is to explain how a request moves through a system, deploy a change safely, detect when users are affected, investigate a failure with evidence, recover service under pressure, and choose an appropriate level of operational complexity. Saying &quot;I don&#39;t know exactly, but here&#39;s how I&#39;d find out&quot; is a stronger answer than confidently stating something wrong.</p><p class="paragraph" style="text-align:left;"><b>In the bundle:</b> the DevOps and SRE Resume Checklist covers the job-search side, so you can describe this project in terms of impact.</p><h2 class="heading" style="text-align:left;" id="final-principles"><b>Final principles</b></h2><ul><li><p class="paragraph" style="text-align:left;">Learn operations before abstractions.</p></li><li><p class="paragraph" style="text-align:left;">Understand systems before adopting tools.</p></li><li><p class="paragraph" style="text-align:left;">Measure user impact, not just infrastructure health.</p></li><li><p class="paragraph" style="text-align:left;">Treat deployment as part of reliability.</p></li><li><p class="paragraph" style="text-align:left;">Prefer simple designs that you can operate.</p></li><li><p class="paragraph" style="text-align:left;">Automate repeated work after understanding it manually.</p></li><li><p class="paragraph" style="text-align:left;">Use managed services when they reduce unnecessary burden.</p></li><li><p class="paragraph" style="text-align:left;">Build platforms around real developer needs.</p></li><li><p class="paragraph" style="text-align:left;">Treat reliability as a shared responsibility.</p></li><li><p class="paragraph" style="text-align:left;">Optimise for safer change, not more technology.</p></li></ul><h2 class="heading" style="text-align:left;" id="get-the-full-library"><b>Get the full library</b></h2><p class="paragraph" style="text-align:left;">The roadmap points to guides in several places. If you want them in one place, the complete bundle includes the four free guides above and the paid guides mentioned in each stage.</p><p class="paragraph" style="text-align:left;"><b>Free:</b> Cracking SRE, Linux, Networking, Database, and Docker interview guides.</p><p class="paragraph" style="text-align:left;"><b>Paid, in the bundle:</b> Guided Learning map, Git, Bash and Python scripting, Kubernetes, Terraform, AWS, GCP, Azure, Linux performance, Nginx and load balancers, Redis and caching, Kafka and messaging, system design, DevSecOps, AI infrastructure, and the DevOps and SRE Resume Checklist.</p><p class="paragraph" style="text-align:left;">Buying the bundle gives you one reference instead of buying each guide separately. Start with the guide that matches your next interview, then work through the rest as the role you&#39;re aiming for becomes clearer.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://topmate.io/yoshik/2340122?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=18-month-sre-and-platform-engineer-learning-roadmap" target="_blank" rel="noopener noreferrer nofollow" style="color: #48a0c7"><b>Get the complete bundle</b></a></p><div class="image"><img alt="" class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/></div><p class="paragraph" style="text-align:center;">👋<b> Find me on </b><a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=18-month-sre-and-platform-engineer-learning-roadmap" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Twitter</b></a><b> | </b><a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=18-month-sre-and-platform-engineer-learning-roadmap" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Linkedin</b></a><b> | </b><a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=18-month-sre-and-platform-engineer-learning-roadmap" target="_blank" rel="noopener noreferrer nofollow"><span style="color:#14928e;"><b>Connect 1:1</b></span></a></p><p class="paragraph" style="text-align:left;"><i><b>Thank you for supporting this newsletter.</b></i><br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=0121497c-d455-4f2a-90f4-a8fda3ceda58&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Consistent Hashing vs Modulo Hashing: Key Remapping</title>
  <description>How consistent hashing fixes the scaling problem, why virtual nodes matter, and what most system design explanations miss.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/db70fb2a-4434-4149-9342-3a14061e8c87/Virtual_Nodes_Improve_Balance.png" length="1128237" type="image/png"/>
  <link>https://www.uptime.engineer/p/why-adding-1-server-can-remap-80-of-your-keys</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/why-adding-1-server-can-remap-80-of-your-keys</guid>
  <pubDate>Tue, 13 Oct 2026 06:39:15 +0000</pubDate>
  <atom:published>2026-10-13T06:39:15Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
    <category><![CDATA[System Design]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><div id="section" class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - The best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#429d61;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><h2 class="heading" style="text-align:left;">📬 <b>Missed This Week’s Uptime Sync?</b></h2><p class="paragraph" style="text-align:left;">This week’s best DevOps, SRE, Cloud, Kubernetes, database, AI infrastructure, and production engineering reads:</p><ul><li><p class="paragraph" style="text-align:left;">Why Basecamp left the cloud</p></li><li><p class="paragraph" style="text-align:left;">How Airbnb captures and replays real database workloads</p></li><li><p class="paragraph" style="text-align:left;">What AI found in MariaDB that humans missed</p></li><li><p class="paragraph" style="text-align:left;">PostgreSQL row-level security performance in practice</p></li><li><p class="paragraph" style="text-align:left;">Why one team moved off Firestore</p></li><li><p class="paragraph" style="text-align:left;">How a custom Ubuntu mirror made package installs faster</p></li><li><p class="paragraph" style="text-align:left;">What Kubernetes’ shift to cgroup v2 means for you</p></li></ul><p class="paragraph" style="text-align:left;">Plus: Docker layer trade-offs, DynamoDB warm throughput, SSO-backed <code>kubectl</code> access, self-hosted HTTP tunnels, HAProxy monitoring, and nginx password protection.</p><p class="paragraph" style="text-align:left;">👉 <a class="link" href="https://www.uptime.engineer/p/leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=consistent-hashing-vs-modulo-hashing-key-remapping" target="_blank" rel="noopener noreferrer nofollow">Read Issue #39</a></p></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">You have four cache nodes, and everything is working fine. Then traffic grows, you add a fifth node, and suddenly a huge chunk of your keys point to different servers.</p><p class="paragraph" style="text-align:left;">That can mean cache misses everywhere, more traffic hitting your database, and large amounts of data moving between nodes, which can overload disks and networks. If the system handles it badly, you have an incident.</p><p class="paragraph" style="text-align:left;">Consistent hashing is designed to shrink that problem. To see how, start with the way most systems decide which server owns a key.</p><h2 class="heading" style="text-align:left;" id="modulo-hashing"><b>Modulo hashing</b></h2><p class="paragraph" style="text-align:left;">Say you have four cache servers, Node 0 through Node 3, and you need to store <code>user_12345</code>. The system needs a repeatable way to pick the owner. A very common approach is:</p><div class="codeblock"><pre><code>owner = hash(key) % number_of_nodes</code></pre></div><p class="paragraph" style="text-align:left;">The hash function turns the key into a number, and the remainder picks the node:</p><div class="codeblock"><pre><code>hash(&quot;user_12345&quot;) --&gt; 78291
78291 % 4 = 3      --&gt; Node 3</code></pre></div><p class="paragraph" style="text-align:left;">As long as the node count stays the same, the same key always lands on the same server. It&#39;s simple and fast, and it works well until the cluster size changes.</p><h2 class="heading" style="text-align:left;" id="what-happens-when-you-add-a-server"><b>What happens when you add a server</b></h2><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/c9e6a7e2-a872-40bb-a04a-d8a9a144b06e/Modulo_Sharding__Before_and_After.png?t=1791865851"/><div class="image__source"><span class="image__source_text"><p>Adding one node in modulo-based sharding can remap most keys.</p></span></div></div><p class="paragraph" style="text-align:left;">Say one node is getting full, so you add a fifth. The rule goes from <code>hash(key) % 4</code> to <code>hash(key) % 5</code>.</p><p class="paragraph" style="text-align:left;">It looks like a tiny change, but changing the divisor changes the result for most keys. Take 100 keys numbered 0 to 99 and, to keep it simple, treat each key&#39;s number as its hash. Compare <code>key % 4</code> with <code>key % 5</code>, and 80 of the 100 keys end up on a different node.</p><h2 class="heading" style="text-align:left;" id="why-does-that-matter-in-production"><b>Why does that matter in production?</b></h2><p class="paragraph" style="text-align:left;">It depends on what the servers hold.</p><h3 class="heading" style="text-align:left;" id="if-its-a-cache"><b>If it&#39;s a cache</b></h3><p class="paragraph" style="text-align:left;">A moved key is usually a cache miss. One miss is harmless, but millions of keys remapping at once is not. The new owners don&#39;t have those values yet, so requests fall through to the database, and a routine scaling event turns into this:</p><div class="codeblock"><pre><code>cache misses --&gt; database spike --&gt; higher latency --&gt; overloaded database</code></pre></div><p class="paragraph" style="text-align:left;">This is one reason cache scaling needs care.</p><h3 class="heading" style="text-align:left;" id="if-its-stored-data"><b>If it&#39;s stored data</b></h3><p class="paragraph" style="text-align:left;">Now it gets harder. If a key moves from Node A to Node B, Node B can&#39;t serve that record until the data is copied over. While the copy runs:</p><ul><li><p class="paragraph" style="text-align:left;">new writes still have to work</p></li><li><p class="paragraph" style="text-align:left;">replicas have to stay consistent</p></li><li><p class="paragraph" style="text-align:left;">the old copy can&#39;t disappear too early</p></li><li><p class="paragraph" style="text-align:left;">clients have to agree on who owns the key</p></li></ul><p class="paragraph" style="text-align:left;">Changing the routing formula is easy. Safely moving the state behind it is the hard part.</p><p class="paragraph" style="text-align:left;">Modulo sharding works fine when the shard count is fixed. It gets expensive when nodes are expected to join and leave regularly.</p><h2 class="heading" style="text-align:left;" id="how-consistent-hashing-works"><b>How consistent hashing works</b></h2><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/2d7e8eee-7631-49b2-a742-71351a0b66f6/How_a_Hash_Ring_Works.png?t=1791866001"/><div class="image__source"><span class="image__source_text"><p>A key belongs to the first node encountered while moving clockwise on the ring.</p></span></div></div><p class="paragraph" style="text-align:left;">Consistent hashing changes the placement model. Instead of computing <code>hash(key) % number_of_nodes</code>, you put nodes and keys in the same hash space and wrap that space into a circle, usually called a hash ring. A key belongs to the first node you reach moving clockwise from the key&#39;s position.</p><p class="paragraph" style="text-align:left;">Take a tiny ring with positions 0 to 100 and put four servers on it:</p><div class="codeblock"><pre><code>A --&gt; 0
B --&gt; 25
C --&gt; 50
D --&gt; 75</code></pre></div><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/0ffcd124-66b9-48e4-b94c-5a28457842a5/How_Lookup_Works_on_a_Hash_Ring.png?t=1791866117"/></div><p class="paragraph" style="text-align:left;">Then hash each key to a position on the ring:</p><div class="codeblock"><pre><code>key at 18 --&gt; B
key at 43 --&gt; C
key at 73 --&gt; D
key at 91 --&gt; wraps around --&gt; A</code></pre></div><p class="paragraph" style="text-align:left;">So the ownership ranges look roughly like this:</p><div class="codeblock"><pre><code>B owns (0, 25]
C owns (25, 50]
D owns (50, 75]
A owns (75, 100], wrapping back to 0</code></pre></div><p class="paragraph" style="text-align:left;"></p><h2 class="heading" style="text-align:left;" id="adding-a-fifth-node"><b>Adding a fifth node</b></h2><p class="paragraph" style="text-align:left;">This is where consistent hashing becomes useful.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/89b8242b-7510-4bff-aae2-f6a78a0b4335/Consistent_Hashing__One_Interval_Changes.png?t=1791866232"/></div><p class="paragraph" style="text-align:left;">Now add E at position 62.5. Before E joined, D owned (50, 75]. After:</p><div class="codeblock"><pre><code>E owns (50, 62.5]
D owns (62.5, 75]</code></pre></div><p class="paragraph" style="text-align:left;">Only the keys in that one slice of the ring change owners, and everything else stays where it was. With our 0 to 99 keys, keys 51 through 62 move from D to E. That&#39;s 12 keys.</p><div style="padding:14px 5px 14px;"><table class="bh__table" width="100%" style="border-collapse:collapse;"><tr class="bh__table_row"><th class="bh__table_header" width="33%"><p class="paragraph" style="text-align:left;">Placement strategy</p></th><th class="bh__table_header" width="33%"><p class="paragraph" style="text-align:left;">What changes</p></th><th class="bh__table_header" width="33%"><p class="paragraph" style="text-align:left;">Keys moved</p></th></tr><tr class="bh__table_row"><td class="bh__table_cell" width="33%"><p class="paragraph" style="text-align:left;">Modulo hashing</p></td><td class="bh__table_cell" width="33%"><p class="paragraph" style="text-align:left;"><code>% 4</code> --&gt; <code>% 5</code></p></td><td class="bh__table_cell" width="33%"><p class="paragraph" style="text-align:left;">80/100</p></td></tr><tr class="bh__table_row"><td class="bh__table_cell" width="33%"><p class="paragraph" style="text-align:left;">Consistent hashing</p></td><td class="bh__table_cell" width="33%"><p class="paragraph" style="text-align:left;">One new ring position</p></td><td class="bh__table_cell" width="33%"><p class="paragraph" style="text-align:left;">12/100</p></td></tr></table></div><p class="paragraph" style="text-align:left;">The 12 comes from where we deliberately placed E. In a well-balanced five-node ring, adding one equally weighted node would typically move roughly one-fifth of the keys. Whatever the exact share, adding a server only touches part of the keyspace, and the rest of the cluster keeps serving the same keys. That stability is the &quot;consistent&quot; in consistent hashing.</p><h2 class="heading" style="text-align:left;" id="virtual-nodes"><b>Virtual nodes</b></h2><p class="paragraph" style="text-align:left;">Instead of giving each physical server one position on the ring, give it several. These positions are called virtual nodes, or vnodes. So instead of:</p><div class="codeblock"><pre><code>A -------- B -- C ---------------- D</code></pre></div><p class="paragraph" style="text-align:left;">you get something closer to:</p><div class="codeblock"><pre><code>A -- C - B --- D - A -- B ---- C - D</code></pre></div><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/db70fb2a-4434-4149-9342-3a14061e8c87/Virtual_Nodes_Improve_Balance.png?t=1791866325"/></div><p class="paragraph" style="text-align:left;">There are still only four physical servers, but each one owns several smaller ranges instead of one large one. That improves distribution, and it helps when a server joins. The new server takes small ranges from several existing servers instead of one giant range from a single neighbour, which spreads the rebalancing work across the cluster. Systems inspired by Dynamo and Cassandra have used this idea extensively.</p><h2 class="heading" style="text-align:left;" id="what-vnodes-cost"><b>What vnodes cost</b></h2><p class="paragraph" style="text-align:left;">If more vnodes means better distribution, why not use as many as possible? Because every extra token adds metadata and more range relationships for the system to track. In replicated systems, it can also add work during data streaming, repair, node replacement, membership changes, and failure recovery.</p><p class="paragraph" style="text-align:left;">The right vnode count depends on cluster size, replication factor, the implementation, node capacity, migration bandwidth, and operational overhead.</p><h3 class="heading" style="text-align:left;" id="vnodes-dont-fix-hot-keys"><b>Vnodes don&#39;t fix hot keys</b></h3><p class="paragraph" style="text-align:left;">Say one key is <code>customer_123</code>, and that customer suddenly produces 40% of all requests. That key still has one primary owner. You can spread a million normal keys perfectly and still overload one server because a single key is extremely hot.</p><div class="codeblock"><pre><code>equal key distribution ≠ equal traffic distribution</code></pre></div><p class="paragraph" style="text-align:left;">The same goes for bytes stored, CPU usage, latency, and request rate. A ring can look perfectly balanced by key count while one node is melting.</p><h2 class="heading" style="text-align:left;" id="what-the-ring-diagram-leaves-out"><b>What the ring diagram leaves out</b></h2><p class="paragraph" style="text-align:left;">Most explainers stop at &quot;add a node, only some keys move.&quot; That covers the placement algorithm, but it doesn&#39;t explain how the system survives the move. A distributed system has three separate problems here.</p><h3 class="heading" style="text-align:left;" id="1-placement"><b>1. Placement</b></h3><p class="paragraph" style="text-align:left;">Who should own this key? Consistent hashing helps answer that: <code>user_123 --&gt; Node C</code>.</p><h3 class="heading" style="text-align:left;" id="2-replication"><b>2. Replication</b></h3><p class="paragraph" style="text-align:left;">Say you want three copies of every key. Where do the other two live? You can&#39;t just pick random nodes without thinking about failure domains. Three replicas in the same rack or availability zone don&#39;t protect you much if that whole zone goes down. Real systems may account for physical hosts, racks, availability zones, and regions. Consistent hashing alone doesn&#39;t handle this.</p><h3 class="heading" style="text-align:left;" id="3-rebalancing"><b>3. Rebalancing</b></h3><p class="paragraph" style="text-align:left;">This is the operational part. A key used to belong to Node D, and after a new node joins it belongs to Node E. That doesn&#39;t mean E has the data yet. The system still has to move it safely. A simplified migration might look like this:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">Prepare the new owner.</p></li><li><p class="paragraph" style="text-align:left;">Copy or rebuild the affected data.</p></li><li><p class="paragraph" style="text-align:left;">Catch up on writes that happened during the copy.</p></li><li><p class="paragraph" style="text-align:left;">Verify the new copies.</p></li><li><p class="paragraph" style="text-align:left;">Move traffic to the new owner.</p></li><li><p class="paragraph" style="text-align:left;">Remove the old copy once the system is stable.</p></li></ol><p class="paragraph" style="text-align:left;">Different databases do this differently. Some use redirects, routing-table updates, streaming, write fencing, dual writes, or background repair.</p><p class="paragraph" style="text-align:left;">Consistent hashing limits what has to move. It doesn&#39;t do the moving. That distinction comes up a lot in both system design and production debugging.</p><h2 class="heading" style="text-align:left;" id="real-systems-dont-all-use-the-same-"><b>Real systems don&#39;t all use the same model</b></h2><p class="paragraph" style="text-align:left;">&quot;Consistent hashing&quot; is often used loosely, and different systems solve this problem in different ways.</p><p class="paragraph" style="text-align:left;"><b>Cassandra</b> is heavily influenced by Dynamo-style partitioning. Nodes own token ranges, and replication decides which other nodes store copies. Modern Cassandra deployments may use multiple tokens per physical node.</p><p class="paragraph" style="text-align:left;"><b>Redis Cluster</b> works differently. It divides the keyspace into 16,384 fixed hash slots. Keys map to slots, and slots map to nodes. When the cluster changes, Redis moves specific slots and their keys between nodes. That gives operators explicit migration units instead of a plain ring.</p><p class="paragraph" style="text-align:left;"><b>Ceph</b> adds another layer of indirection. Objects map to placement groups, and placement groups map to storage devices. The goal is still to change the cluster without moving everything.</p><p class="paragraph" style="text-align:left;">Different system, same underlying distributed-systems problem.</p><h2 class="heading" style="text-align:left;" id="consistent-hashing-isnt-always-the-"><b>Consistent hashing isn&#39;t always the right answer</b></h2><p class="paragraph" style="text-align:left;">Modulo hashing isn&#39;t bad. It&#39;s a good choice when your shard count rarely changes, migrations are planned, simplicity matters, or you can afford to reshuffle now and then.</p><p class="paragraph" style="text-align:left;">Consistent hashing becomes more attractive when nodes regularly join or leave, remapping keys is expensive, cache misses are costly, or large-scale data movement is undesirable.</p><p class="paragraph" style="text-align:left;">Other strategies fit other requirements:</p><ul><li><p class="paragraph" style="text-align:left;"><b>Range-based sharding</b> works when queries need ranges or locality, for example users 1 to 1M on shard A and users 1M to 2M on shard B.</p></li><li><p class="paragraph" style="text-align:left;"><b>Fixed slots</b> work when operators want explicit migration units. Redis Cluster is a good example.</p></li><li><p class="paragraph" style="text-align:left;"><b>Rendezvous hashing</b> is often useful for request routing without maintaining a traditional ring.</p></li><li><p class="paragraph" style="text-align:left;"><b>Topology-aware placement</b> matters when rack, zone, or region failures are a bigger risk than uneven distribution.</p></li></ul><p class="paragraph" style="text-align:left;">No placement algorithm wins everywhere. The right one depends on your workload.</p><h2 class="heading" style="text-align:left;" id="if-you-remember-only-four-things"><b>If you remember only four things</b></h2><ol start="1"><li><p class="paragraph" style="text-align:left;"><b>Modulo hashing works well until your node count changes.</b> Changing <code>% 4</code> to <code>% 5</code> can remap most of your keys.</p></li><li><p class="paragraph" style="text-align:left;"><b>Consistent hashing limits the blast radius.</b> Adding or removing a node changes only part of the keyspace.</p></li><li><p class="paragraph" style="text-align:left;"><b>Virtual nodes improve distribution.</b> They spread a physical server&#39;s ownership across several sections of the ring.</p></li><li><p class="paragraph" style="text-align:left;"><b>Consistent hashing only solves placement.</b> Replication, data migration, failure recovery, and hot keys are separate problems.</p></li></ol><p class="paragraph" style="text-align:left;"></p><div class="image"><img alt="" class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/></div><p class="paragraph" style="text-align:center;">👋<b> Find me on </b><a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=consistent-hashing-vs-modulo-hashing-key-remapping" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Twitter</b></a><b> | </b><a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=consistent-hashing-vs-modulo-hashing-key-remapping" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Linkedin</b></a><b> | </b><a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=consistent-hashing-vs-modulo-hashing-key-remapping" target="_blank" rel="noopener noreferrer nofollow"><span style="color:#14928e;"><b>Connect 1:1</b></span></a></p><p class="paragraph" style="text-align:left;"><i><b>Thank you for supporting this newsletter.</b></i><br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=5eeb1a75-24d9-4f79-a006-bcfe43719130&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>#39 Uptime Sync: Leaving the Cloud, Testing With Real Traffic, and Avoiding Kubernetes Throttling</title>
  <description>The migration stories, database lessons, security updates, and infrastructure changes that matter more than another tool launch</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/de92e4c6-ac95-4a68-977d-8e55782b7865/CcsgednSRfE-HD.jpg" length="275099" type="image/jpeg"/>
  <link>https://www.uptime.engineer/p/leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling</guid>
  <pubDate>Sat, 10 Oct 2026 05:00:00 +0000</pubDate>
  <atom:published>2026-10-10T05:00:00Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
    <category><![CDATA[Digest]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;"></p><div id="section" class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - High Value - the best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#429d61;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><h2 class="heading" style="text-align:left;">📬 Missed Last Week’s Engineering Lesson?</h2><p class="paragraph" style="text-align:left;">How Great Engineers Debug Production Problems breaks down a simple, repeatable way to handle failures without guessing: identify what you actually know, separate facts from assumptions, and run the smallest check that narrows the problem.</p><p class="paragraph" style="text-align:left;">You’ll learn how to debug a 401 API error, investigate empty Docker logs, avoid confusing a rollback with a root cause, and turn random commands into purposeful questions.</p><p class="paragraph" style="text-align:left;">Debugging is the skill that stays useful when tools, frameworks, and cloud services change because production will still break.</p><p class="paragraph" style="text-align:left;">If you want to become the engineer people trust during incidents, start here:</p><p class="paragraph" style="text-align:left;">👉 <a class="link" href="https://www.uptime.engineer/p/how-great-engineers-debug-production-problems?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow">How Great Engineers Debug Production Problems</a></p></div><p class="paragraph" style="text-align:left;"></p><h3 class="heading" style="text-align:left;" id="how-2-m-professionals-stay-ahead-on">How 2M+ Professionals Stay Ahead on AI</h3><div class="image"><a class="image__link" href="https://magic.beehiiv.com/v1/4d03390d-2481-4299-b949-ffd8b38b4c38?email={{email}}&utm_campaign=KHPTNYBUED&utm_source=beehiivads&redirect_to=https%3A%2F%2Fsubscribe.therundown.ai%2F%3Fform%3Dopen&redirect_delay=1&_gl=1*o9xsd8*_gcl_aw*R0NMLjE3Njc5NzA2OTQuQ2p3S0NBaUE2NExMQmhCaEVpd0EtUHhndTgtSC1SQm02STdTckdZeVFhaVN4RmFMRDBPNkpnVEJBS0ZUSUZTMlRoYmg0Y01pazJHVE9Sb0NHcTBRQXZEX0J3RQ..*_gcl_au*MTk0MDAyNjczNy4xNzYzOTkyNzA4LjUzMTY2NjUwNC4xNzY4OTMwMTc3LjE3Njg5MzAxNzc.*_ga*NDkxNjYxNDQ5LjE3NjQwODAxOTQ.*_ga_E6Y4WLQ2EC*czE3NjkwMDQ4NzAkbzg2JGcxJHQxNzY5MDA0OTA4JGoyMiRsMCRoNjA5MTg3MjU.&_bhiiv=opp_f3100d0c-2b77-4f2d-9baa-1ace4954f91d_e4221c46&bhcl_id=c84d0083-c73a-414b-9a1b-7c32180b1ecd_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/e49dcc7d-2502-4eb6-baa5-a52a2d57e913/Banner_2.png?t=1776740917"/></a></div><p class="paragraph" style="text-align:left;">AI is moving fast and most people are falling behind. </p><p class="paragraph" style="text-align:left;"><a class="link" href="https://magic.beehiiv.com/v1/4d03390d-2481-4299-b949-ffd8b38b4c38?email={{email}}&utm_campaign=KHPTNYBUED&utm_source=beehiivads&redirect_to=https%3A%2F%2Fsubscribe.therundown.ai%2F%3Fform%3Dopen&redirect_delay=1&_gl=1*o9xsd8*_gcl_aw*R0NMLjE3Njc5NzA2OTQuQ2p3S0NBaUE2NExMQmhCaEVpd0EtUHhndTgtSC1SQm02STdTckdZeVFhaVN4RmFMRDBPNkpnVEJBS0ZUSUZTMlRoYmg0Y01pazJHVE9Sb0NHcTBRQXZEX0J3RQ..*_gcl_au*MTk0MDAyNjczNy4xNzYzOTkyNzA4LjUzMTY2NjUwNC4xNzY4OTMwMTc3LjE3Njg5MzAxNzc.*_ga*NDkxNjYxNDQ5LjE3NjQwODAxOTQ.*_ga_E6Y4WLQ2EC*czE3NjkwMDQ4NzAkbzg2JGcxJHQxNzY5MDA0OTA4JGoyMiRsMCRoNjA5MTg3MjU.&_bhiiv=opp_f3100d0c-2b77-4f2d-9baa-1ace4954f91d_e4221c46&bhcl_id=c84d0083-c73a-414b-9a1b-7c32180b1ecd_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">The Rundown AI</a> keeps you ahead of the curve. </p><p class="paragraph" style="text-align:left;">It&#39;s a free AI newsletter that keeps you up-to-date on the latest AI news, and teaches you how to apply it in just 5 minutes a day.</p><p class="paragraph" style="text-align:left;">Plus, complete the quiz after signing up and they’ll recommend the best AI tools, guides, and courses — tailored to your needs.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://magic.beehiiv.com/v1/4d03390d-2481-4299-b949-ffd8b38b4c38?email={{email}}&utm_campaign=KHPTNYBUED&utm_source=beehiivads&redirect_to=https%3A%2F%2Fsubscribe.therundown.ai%2F%3Fform%3Dopen&redirect_delay=1&_gl=1*o9xsd8*_gcl_aw*R0NMLjE3Njc5NzA2OTQuQ2p3S0NBaUE2NExMQmhCaEVpd0EtUHhndTgtSC1SQm02STdTckdZeVFhaVN4RmFMRDBPNkpnVEJBS0ZUSUZTMlRoYmg0Y01pazJHVE9Sb0NHcTBRQXZEX0J3RQ..*_gcl_au*MTk0MDAyNjczNy4xNzYzOTkyNzA4LjUzMTY2NjUwNC4xNzY4OTMwMTc3LjE3Njg5MzAxNzc.*_ga*NDkxNjYxNDQ5LjE3NjQwODAxOTQ.*_ga_E6Y4WLQ2EC*czE3NjkwMDQ4NzAkbzg2JGcxJHQxNzY5MDA0OTA4JGoyMiRsMCRoNjA5MTg3MjU.&_bhiiv=opp_f3100d0c-2b77-4f2d-9baa-1ace4954f91d_e4221c46&bhcl_id=c84d0083-c73a-414b-9a1b-7c32180b1ecd_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow"><i>Sign up to start learning.</i></a></p><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Newsworthy Reads</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://basecamp.com/cloud-exit?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow">We left the cloud</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://airbnb.tech/infrastructure/beyond-synthetic-testing-capturing-and-replaying-real-database-workloads-at-airbnb?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow">Capturing and replaying real database workloads at Airbnb</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://mariadb.org/when-ai-finds-the-bugs-we-missed-a-very-busy-year-for-mariadb-security/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow">A Very Busy Year for MariaDB Security</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://now-next.nl/en/insights/row-level-security-performance-postgresql?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow">Row-level security performance in PostgreSQL</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://techhub.iodigital.com/articles/migrating-from-firestore-to-firebase-sql-connect?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow">We moved off Firestore</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://depot.dev/blog/faster-ubuntu-package-installs?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow">We built an Ubuntu mirror and then made it faster</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://kubernetes.io/blog/2026/10/06/kubernetes-cgroups-v2-shift/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow">The Shift to cgroup v2 in Kubernetes</a></p></li></ul><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/kjGP_kBQdVc" width="100%"></iframe><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/CcsgednSRfE" width="100%"></iframe><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Tutorials of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://loige.co/hidden-design-compromises-of-docker-layers/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow">The hidden design compromises of Docker layers</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://awsfundamentals.com/blog/dynamodb-warm-throughput?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow">DynamoDB Warm Throughput: How to Avoid Throttling on a New Table</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://goteleport.com/blog/sso-backed-kubectl-access-multiple-clusters/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow">SSO-Backed kubectl Access Across Many Clusters</a></p></li></ul><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/mZ27vUoOEB0" width="100%"></iframe><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://vincent.bernat.ch/en/blog/2026-http-over-ssh?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow">Self-hosted HTTP tunnels with SSH and nginx</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://last9.io/blog/haproxy-monitoring/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow">HAProxy Monitoring: Stats, Prometheus Metrics and Alerts</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://aweirdimagination.net/2026/09/27/password-protecting-an-nginx-proxied-site/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow">Password-protecting an nginx proxied site</a></p></li></ul><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Projects of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://github.com/pingdotgg/t3code?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow">T3 Code</a></span><span style="background-color:#ffffff;"> is an &quot;agent harness control surface&quot;. It enables control of the agents on your machine with a best-in-class mobile app</span></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/betterleaks/betterleaks?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow">Betterleaks</a> - Install the small cross-platform binary or container and scan a repository, GitHub organization, pull request, or local directory to catch exposed credentials</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/almeidapaulopt/tsdproxy?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow">Tsdproxy</a> - <span style="background-color:#ffffff;">Automatic Tailscale reverse proxy for Docker containers. Zero sidecars. Label-based config. Automatic HTTPS.</span></p></li><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://github.com/microsoft/tgrep?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow">Trigram-indexed grep</a></span><span style="background-color:#ffffff;"> with a client/server architecture for fast regex search in large codebases locally</span></p></li></ul><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#dad84b;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><span style="color:#4e4a4a;"><b>Join 1,000+ engineers staying ahead of the curve</b></span></p><p class="paragraph" style="text-align:left;"><span style="color:#4e4a4a;">Every week, Uptime Sync brings you:</span></p><ul><li><p class="paragraph" style="text-align:left;"><span style="color:#4e4a4a;">Outage postmortems from Netflix, Cloudflare, Pinterest & more</span></p></li><li><p class="paragraph" style="text-align:left;"><span style="color:#4e4a4a;">Hands-on DevOps & SRE tutorials</span></p></li><li><p class="paragraph" style="text-align:left;"><span style="color:#4e4a4a;">Production-ready tools & open-source projects</span></p></li></ul><p class="paragraph" style="text-align:left;"><span style="color:#403a3a;"><span style="text-decoration:underline;">👉 </span></span><a class="link" href="http://uptime.engineer/subscribe?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow" style="color: #a2a041"><span style="color:#403a3a;"><span style="text-decoration:underline;"><b>Subscribe for free to get it delivered every week</b></span></span></a></p></div><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/></div><p class="paragraph" style="text-align:center;">👋 Find me on <a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Twitter</a> | <a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Linkedin</a> | <a class="link" href="https://www.instagram.com/askyoshik/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow">Instagram </a>| <a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=39-uptime-sync-leaving-the-cloud-testing-with-real-traffic-and-avoiding-kubernetes-throttling" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Connect 1:1</a></p><p class="paragraph" style="text-align:left;">Thank you for supporting this newsletter. Consider sharing this post with your friends.<br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=806a7ce0-b1d4-4e6a-a1eb-b4aec3e4e0c5&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>How to Debug Production Issues: A Step-by-Step Method</title>
  <description>Boring topic. Extremely useful skill. Read this.</description>
  <link>https://www.uptime.engineer/p/how-great-engineers-debug-production-problems</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/how-great-engineers-debug-production-problems</guid>
  <pubDate>Tue, 06 Oct 2026 03:27:57 +0000</pubDate>
  <atom:published>2026-10-06T03:27:57Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
    <category><![CDATA[Devops]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><div id="section" class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - The best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#429d61;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><h2 class="heading" style="text-align:left;">📬 <b>Missed This Week’s Uptime Sync?</b></h2><p class="paragraph" style="text-align:left;">This week’s best DevOps, SRE, Cloud, Kubernetes, database, AI infrastructure, and production engineering reads:</p><ul><li><p class="paragraph" style="text-align:left;">How Cloudflare saved another 100 TB of RAM with math and Rust</p></li><li><p class="paragraph" style="text-align:left;">How Linux readahead works—and when to change it</p></li><li><p class="paragraph" style="text-align:left;">Why a Postgres migration passed every test but failed with real data</p></li><li><p class="paragraph" style="text-align:left;">Why every AI agent may need its own computer</p></li><li><p class="paragraph" style="text-align:left;">How n8n was deployed, maintained, and migrated on EKS</p></li><li><p class="paragraph" style="text-align:left;">PostgreSQL row-level security performance in practice</p></li><li><p class="paragraph" style="text-align:left;">How an OpenAI DNS jailbreak actually worked</p></li></ul><p class="paragraph" style="text-align:left;">Plus: debugging stuck Kubernetes rollouts, understanding environment variables, using Claude Code from anywhere, scaling Docker on Railway, managing node drains with Pod Disruption Budgets, and tools for SQLite, AI security, OpenTofu, dev containers, and QUIC.</p><p class="paragraph" style="text-align:left;">👉 <a class="link" href="https://www.uptime.engineer/p/100tb-saved-postgresql-migration-traps-and-ai-agent-security?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=how-to-debug-production-issues-a-step-by-step-method" target="_blank" rel="noopener noreferrer nofollow">Read Issue #37</a></p></div><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#21825C;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:0.0px 0.0px 0.0px 0.0px;"></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">I know, I know.</p><p class="paragraph" style="text-align:left;">Debugging is a boring topic to read.</p><p class="paragraph" style="text-align:left;">I could have written about whatever is trending this week - JEV, Gemini 4, some new AI model, agent framework, or another shiny tool everyone is talking about.</p><p class="paragraph" style="text-align:left;">That probably would&#39;ve gotten more clicks.</p><p class="paragraph" style="text-align:left;">But if you&#39;re trying to become a genuinely good engineer, I&#39;d rather you understand this.</p><p class="paragraph" style="text-align:left;">Because once you get good at debugging, <b>the real world becomes much easier.</b></p><p class="paragraph" style="text-align:left;">Tools will change. Frameworks will change. The stack you use today might be completely different three years from now.</p><p class="paragraph" style="text-align:left;">But production will still break.</p><p class="paragraph" style="text-align:left;">An API will suddenly start returning <code>401</code>.<br>A deployment that worked yesterday will start throwing <code>500</code>.<br>A container will be running perfectly fine but somehow have no logs.<br>A script will fail with an error that makes absolutely no sense at first.</p><p class="paragraph" style="text-align:left;">And in those moments, knowing another Kubernetes command or memorising another system design diagram won&#39;t save you.</p><p class="paragraph" style="text-align:left;"><b>How you think will.</b></p><h2 class="heading" style="text-align:left;" id="start-with-what-you-actually-know">Start with what you actually know</h2><p class="paragraph" style="text-align:left;">Imagine someone tells you:</p><div class="blockquote"><blockquote class="blockquote__quote"><p class="paragraph" style="text-align:left;">The app is broken.</p><figcaption class="blockquote__byline"></figcaption></blockquote></div><p class="paragraph" style="text-align:left;">That doesn&#39;t give you much to work with.</p><p class="paragraph" style="text-align:left;">Instead, write down what is actually happening.</p><div class="codeblock"><pre><code>Request: GET /profile

Expected: 200 OK with profile JSON

Actual: 401 Unauthorized

Scope: happens in my local test client only

Started: after I changed the client environment variables

Recent change: renamed API_TOKEN to AUTH_TOKEN</code></pre></div><p class="paragraph" style="text-align:left;">Now you have something you can investigate.</p><p class="paragraph" style="text-align:left;">This distinction matters.</p><p class="paragraph" style="text-align:left;">A <code>401 Unauthorized</code> is something you <b>know</b> happened.</p><div class="blockquote"><blockquote class="blockquote__quote"><p class="paragraph" style="text-align:left;">The authentication config is broken.</p><figcaption class="blockquote__byline"></figcaption></blockquote></div><p class="paragraph" style="text-align:left;">That&#39;s only a guess.</p><p class="paragraph" style="text-align:left;">Other possible reasons could be:</p><ul><li><p class="paragraph" style="text-align:left;">the <code>Authorization</code> header was never sent</p></li><li><p class="paragraph" style="text-align:left;">the token expired</p></li><li><p class="paragraph" style="text-align:left;">you&#39;re calling the wrong endpoint</p></li><li><p class="paragraph" style="text-align:left;">the server is reading a different environment variable</p></li><li><p class="paragraph" style="text-align:left;">a proxy changed the request</p></li></ul><p class="paragraph" style="text-align:left;">Debugging gets much easier when you stop treating your first guess like the answer.</p><p class="paragraph" style="text-align:left;">For a small script, the same idea applies.</p><p class="paragraph" style="text-align:left;">Instead of:</p><div class="blockquote"><blockquote class="blockquote__quote"><p class="paragraph" style="text-align:left;">My Python script doesn&#39;t work.</p><figcaption class="blockquote__byline"></figcaption></blockquote></div><p class="paragraph" style="text-align:left;">Write:</p><div class="codeblock"><pre><code>Command: python totals.py

Expected: total is 15

Actual: TypeError: unsupported operand type(s)

Input: quantity came from a text file</code></pre></div><p class="paragraph" style="text-align:left;">You now have a specific failure that you can reproduce.</p><p class="paragraph" style="text-align:left;">That&#39;s already a much better starting point.</p><h1 class="heading" style="text-align:left;" id="when-something-breaks-do-this">When something breaks, do this</h1><p class="paragraph" style="text-align:left;">You don&#39;t need a complicated debugging framework.</p><p class="paragraph" style="text-align:left;">Use these five steps.</p><h2 class="heading" style="text-align:left;" id="1-what-exactly-is-broken">1. What exactly is broken?</h2><p class="paragraph" style="text-align:left;">Be specific.</p><p class="paragraph" style="text-align:left;">Bad:</p><div class="codeblock"><pre><code>The API is broken.</code></pre></div><p class="paragraph" style="text-align:left;">Better:</p><div class="codeblock"><pre><code>GET /profile should return 200 but returns 401.</code></pre></div><p class="paragraph" style="text-align:left;">Bad:</p><div class="codeblock"><pre><code>Docker logs aren&#39;t working.</code></pre></div><p class="paragraph" style="text-align:left;">Better:</p><div class="codeblock"><pre><code>The container is running, the request fails, but docker logs returns nothing.</code></pre></div><p class="paragraph" style="text-align:left;">The more clearly you describe the problem, the easier it becomes to decide what to check next.</p><h2 class="heading" style="text-align:left;" id="2-what-changed">2. What changed?</h2><p class="paragraph" style="text-align:left;">A lot of bugs appear shortly after something changed.</p><p class="paragraph" style="text-align:left;">Check things like:</p><ul><li><p class="paragraph" style="text-align:left;">a new deployment</p></li><li><p class="paragraph" style="text-align:left;">configuration changes</p></li><li><p class="paragraph" style="text-align:left;">environment variables</p></li><li><p class="paragraph" style="text-align:left;">dependency upgrades</p></li><li><p class="paragraph" style="text-align:left;">different input</p></li><li><p class="paragraph" style="text-align:left;">DNS changes</p></li><li><p class="paragraph" style="text-align:left;">certificates</p></li><li><p class="paragraph" style="text-align:left;">permissions</p></li><li><p class="paragraph" style="text-align:left;">network rules</p></li><li><p class="paragraph" style="text-align:left;">infrastructure changes</p></li></ul><p class="paragraph" style="text-align:left;">This doesn&#39;t mean the latest change is automatically the cause.</p><p class="paragraph" style="text-align:left;">It just gives you somewhere useful to start looking.</p><h2 class="heading" style="text-align:left;" id="3-pick-one-possible-reason">3. Pick one possible reason</h2><p class="paragraph" style="text-align:left;">Don&#39;t try to explain the entire problem at once.</p><p class="paragraph" style="text-align:left;">Pick one thing that could explain what you&#39;re seeing.</p><p class="paragraph" style="text-align:left;">For example:</p><div class="codeblock"><pre><code>Maybe the Authorization header isn&#39;t being sent.</code></pre></div><p class="paragraph" style="text-align:left;">That&#39;s enough.</p><h2 class="heading" style="text-align:left;" id="4-find-one-way-to-check-it">4. Find one way to check it</h2><p class="paragraph" style="text-align:left;">Now ask:</p><div class="blockquote"><blockquote class="blockquote__quote"><p class="paragraph" style="text-align:left;">If this is actually the problem, what should I see?</p><figcaption class="blockquote__byline"></figcaption></blockquote></div><p class="paragraph" style="text-align:left;">If the client isn&#39;t sending an <code>Authorization</code> header, inspecting the request should show that the header is missing.</p><p class="paragraph" style="text-align:left;">So run a check that answers exactly that question.</p><h2 class="heading" style="text-align:left;" id="5-let-the-result-choose-your-next-s">5. Let the result choose your next step</h2><p class="paragraph" style="text-align:left;">This is where good debugging starts to feel very different from guessing.</p><p class="paragraph" style="text-align:left;">If the header is missing:<br>&gt; investigate the client.</p><p class="paragraph" style="text-align:left;">If the header exists:<br>&gt; stop touching the client and move to the server.</p><p class="paragraph" style="text-align:left;">Each result should make your search area smaller. That&#39;s the goal.</p><h1 class="heading" style="text-align:left;" id="example-1-api-returns-401-unauthori">Example 1: API returns <code>401 Unauthorized</code></h1><p class="paragraph" style="text-align:left;">Suppose your local API should return:</p><div class="codeblock"><pre><code>200 OK</code></pre></div><p class="paragraph" style="text-align:left;">but you&#39;re getting:</p><div class="codeblock"><pre><code>401 Unauthorized</code></pre></div><p class="paragraph" style="text-align:left;">A random approach might look like this:</p><ul><li><p class="paragraph" style="text-align:left;">edit authentication code</p></li><li><p class="paragraph" style="text-align:left;">restart the server</p></li><li><p class="paragraph" style="text-align:left;">change an environment variable</p></li><li><p class="paragraph" style="text-align:left;">disable an auth check</p></li><li><p class="paragraph" style="text-align:left;">restart everything</p></li><li><p class="paragraph" style="text-align:left;">try again</p></li></ul><p class="paragraph" style="text-align:left;">Maybe it starts working. But which change fixed it? You don&#39;t know.</p><p class="paragraph" style="text-align:left;">And worse, maybe disabling the auth check was the thing that made it work.</p><p class="paragraph" style="text-align:left;">That&#39;s not really a fix.</p><p class="paragraph" style="text-align:left;">Instead, start with one possible reason:</p><div class="codeblock"><pre><code>Maybe the client isn&#39;t sending the Authorization header.</code></pre></div><p class="paragraph" style="text-align:left;">Now ask:</p><div class="codeblock"><pre><code>If that&#39;s true, what should I see?</code></pre></div><p class="paragraph" style="text-align:left;">You should see that the outgoing request doesn&#39;t contain an <code>Authorization</code> header.</p><p class="paragraph" style="text-align:left;">So inspect the request:</p><div class="codeblock"><pre><code>curl -v http://localhost:8080/profile</code></pre></div><p class="paragraph" style="text-align:left;">With <code>curl -v</code>, outgoing request lines start with <code>&gt;</code> and response lines start with <code>&lt;</code>.</p><p class="paragraph" style="text-align:left;">Look for something like:</p><div class="codeblock"><pre><code>&gt; GET /profile HTTP/1.1
&gt; Host: localhost:8080
&gt; Authorization: Bearer ...</code></pre></div><p class="paragraph" style="text-align:left;">If the header isn&#39;t there, you just narrowed the problem down.</p><p class="paragraph" style="text-align:left;">Now check the client.</p><p class="paragraph" style="text-align:left;">Maybe your code expects:</p><div class="codeblock"><pre><code>API_TOKEN</code></pre></div><p class="paragraph" style="text-align:left;">but your environment only contains:</p><div class="codeblock"><pre><code>AUTH_TOKEN</code></pre></div><p class="paragraph" style="text-align:left;">That&#39;s a useful finding.</p><p class="paragraph" style="text-align:left;">You went from:</p><div class="codeblock"><pre><code>Authentication is broken.</code></pre></div><p class="paragraph" style="text-align:left;">to:</p><div class="codeblock"><pre><code>The client isn&#39;t sending the token because it&#39;s reading the wrong environment variable.</code></pre></div><p class="paragraph" style="text-align:left;">Much better.</p><p class="paragraph" style="text-align:left;">But what if the header <b>is</b> present? Good.</p><p class="paragraph" style="text-align:left;">Your original guess was wrong. Stop changing client code. Move to the server.</p><p class="paragraph" style="text-align:left;">Check:</p><ul><li><p class="paragraph" style="text-align:left;">server authentication logs</p></li><li><p class="paragraph" style="text-align:left;">token validation</p></li><li><p class="paragraph" style="text-align:left;">token expiry</p></li><li><p class="paragraph" style="text-align:left;">environment variables</p></li><li><p class="paragraph" style="text-align:left;">middleware</p></li><li><p class="paragraph" style="text-align:left;">proxy configuration</p></li></ul><p class="paragraph" style="text-align:left;">A wrong guess is still useful when it tells you where <b>not</b> to look.</p><p class="paragraph" style="text-align:left;">One thing to remember: <code>curl -v</code> shows what the client tried to send. If there is a proxy between the client and server, the request could still be changed later.</p><p class="paragraph" style="text-align:left;">Also be careful before sharing verbose output. It can contain tokens, cookies, and other secrets.</p><h1 class="heading" style="text-align:left;" id="example-2-docker-logs-is-empty">Example 2: <code>docker logs</code> is empty</h1><p class="paragraph" style="text-align:left;">Here&#39;s another common one.</p><p class="paragraph" style="text-align:left;">Your container is running.</p><p class="paragraph" style="text-align:left;">Requests to the application are failing.</p><p class="paragraph" style="text-align:left;">So you run:</p><div class="codeblock"><pre><code>docker logs my-app</code></pre></div><p class="paragraph" style="text-align:left;">And get nothing useful back.</p><p class="paragraph" style="text-align:left;">It&#39;s easy to conclude:</p><div class="blockquote"><blockquote class="blockquote__quote"><p class="paragraph" style="text-align:left;">The application didn&#39;t log any errors.</p><figcaption class="blockquote__byline"></figcaption></blockquote></div><p class="paragraph" style="text-align:left;">But that&#39;s not necessarily true.</p><p class="paragraph" style="text-align:left;">A better question is:</p><div class="blockquote"><blockquote class="blockquote__quote"><p class="paragraph" style="text-align:left;">Where is this application actually writing its logs?</p><figcaption class="blockquote__byline"></figcaption></blockquote></div><p class="paragraph" style="text-align:left;"><code>docker logs</code> normally shows output Docker captured from the container process, usually <code>stdout</code> and <code>stderr</code>.</p><p class="paragraph" style="text-align:left;">But an application might instead write logs to:</p><div class="codeblock"><pre><code>/var/log/app/error.log</code></pre></div><p class="paragraph" style="text-align:left;">or send them somewhere else entirely.</p><p class="paragraph" style="text-align:left;">So start with one possible reason:</p><div class="codeblock"><pre><code>Maybe the application writes errors to a file instead of stdout or stderr.</code></pre></div><p class="paragraph" style="text-align:left;">Now inspect what Docker actually started:</p><div class="codeblock"><pre><code>docker inspect my-app --format &#39;&#123;&#123;.Path&#125;&#125; &#123;&#123;json .Args&#125;&#125;&#39;</code></pre></div><p class="paragraph" style="text-align:left;">If the image has a shell, you can inspect the container:</p><div class="codeblock"><pre><code>docker exec -it my-app sh</code></pre></div><p class="paragraph" style="text-align:left;">Then check the application&#39;s configuration.</p><p class="paragraph" style="text-align:left;">Look for:</p><ul><li><p class="paragraph" style="text-align:left;">log file paths</p></li><li><p class="paragraph" style="text-align:left;">logging configuration</p></li><li><p class="paragraph" style="text-align:left;">process arguments</p></li><li><p class="paragraph" style="text-align:left;">environment variables</p></li><li><p class="paragraph" style="text-align:left;">external logging agents</p></li></ul><p class="paragraph" style="text-align:left;">Maybe you discover:</p><div class="codeblock"><pre><code>log_file=/var/log/app/error.log</code></pre></div><p class="paragraph" style="text-align:left;">Now you know why <code>docker logs</code> looked empty.</p><p class="paragraph" style="text-align:left;">The application <b>was</b> logging. Docker just wasn&#39;t showing those logs.</p><p class="paragraph" style="text-align:left;">The exact commands will differ between applications and container images.</p><p class="paragraph" style="text-align:left;">Some containers don&#39;t even include a shell. That&#39;s fine.</p><p class="paragraph" style="text-align:left;">The useful part is the order:</p><div class="codeblock"><pre><code>&gt; docker logs is empty
&gt; Where does the app write logs?
&gt; What process is actually running?
&gt; What logging configuration is it using?
&gt; Where should I look next?</code></pre></div><p class="paragraph" style="text-align:left;">That&#39;s debugging.</p><h1 class="heading" style="text-align:left;" id="dont-confuse-fixing-the-symptom-wit">Don&#39;t confuse fixing the symptom with finding the cause</h1><p class="paragraph" style="text-align:left;">This becomes especially important in production.</p><p class="paragraph" style="text-align:left;">Imagine you deploy a new release.</p><p class="paragraph" style="text-align:left;">A few minutes later:</p><div class="codeblock"><pre><code>POST /checkout</code></pre></div><p class="paragraph" style="text-align:left;">starts returning:</p><div class="codeblock"><pre><code>500 Internal Server Error</code></pre></div><p class="paragraph" style="text-align:left;">Customers are affected. You roll the release back. The error rate drops. Users can check out again.</p><p class="paragraph" style="text-align:left;">But what did you actually learn?</p><p class="paragraph" style="text-align:left;">You know:</p><div class="codeblock"><pre><code>Rollback changed the system and the errors stopped.</code></pre></div><p class="paragraph" style="text-align:left;">You do <b>not</b> automatically know:</p><div class="codeblock"><pre><code>The new application code caused the problem.</code></pre></div><p class="paragraph" style="text-align:left;">The rollback may also have changed:</p><ul><li><p class="paragraph" style="text-align:left;">traffic patterns</p></li><li><p class="paragraph" style="text-align:left;">container instances</p></li><li><p class="paragraph" style="text-align:left;">cache state</p></li><li><p class="paragraph" style="text-align:left;">connections</p></li><li><p class="paragraph" style="text-align:left;">configuration</p></li><li><p class="paragraph" style="text-align:left;">dependency behaviour</p></li><li><p class="paragraph" style="text-align:left;">timing</p></li></ul><p class="paragraph" style="text-align:left;">So keep two separate questions in your head.</p><h2 class="heading" style="text-align:left;" id="question-1-how-do-we-stop-users-fro">Question 1: How do we stop users from being affected?</h2><p class="paragraph" style="text-align:left;">That might mean:</p><ul><li><p class="paragraph" style="text-align:left;">rollback</p></li><li><p class="paragraph" style="text-align:left;">disable a feature</p></li><li><p class="paragraph" style="text-align:left;">route traffic elsewhere</p></li><li><p class="paragraph" style="text-align:left;">scale something up</p></li><li><p class="paragraph" style="text-align:left;">fail over</p></li><li><p class="paragraph" style="text-align:left;">restart unhealthy instances</p></li></ul><h2 class="heading" style="text-align:left;" id="question-2-why-did-this-happen">Question 2: Why did this happen?</h2><p class="paragraph" style="text-align:left;">That investigation can continue after the system is stable.</p><p class="paragraph" style="text-align:left;">During an incident, write down what you actually know:</p><div class="codeblock"><pre><code>Impact:
Checkout requests return 500 for some users

Start time:
14:07 UTC

Scope:
One region

Mitigation:
Rolled back release 2025.03.18.2

Observed result:
Error rate returned to normal

Root cause:
Unknown</code></pre></div><p class="paragraph" style="text-align:left;">Notice the last line.</p><div class="codeblock"><pre><code>Root cause: Unknown</code></pre></div><p class="paragraph" style="text-align:left;">There&#39;s nothing wrong with that.</p><p class="paragraph" style="text-align:left;">It&#39;s much better than pretending your first theory is already confirmed. This is why incident response and root-cause analysis are different jobs.</p><p class="paragraph" style="text-align:left;">During an outage, your first priority may be getting the service healthy again.</p><p class="paragraph" style="text-align:left;">Understanding exactly why it happened can come next.</p><h1 class="heading" style="text-align:left;" id="a-command-should-answer-a-question">A command should answer a question</h1><p class="paragraph" style="text-align:left;">One habit I see beginners develop is collecting debugging commands.</p><div class="codeblock"><pre><code>top
free -m
df -h
netstat
docker logs
kubectl describe
journalctl</code></pre></div><p class="paragraph" style="text-align:left;">These are useful tools.</p><p class="paragraph" style="text-align:left;">But knowing commands isn&#39;t the same thing as knowing how to debug.</p><p class="paragraph" style="text-align:left;">Before running one, ask:</p><div class="blockquote"><blockquote class="blockquote__quote"><p class="paragraph" style="text-align:left;">What am I trying to learn from this?</p><figcaption class="blockquote__byline"></figcaption></blockquote></div><p class="paragraph" style="text-align:left;">Instead of:</p><div class="codeblock"><pre><code>Let me run top.</code></pre></div><p class="paragraph" style="text-align:left;">Think:</p><div class="codeblock"><pre><code>The service became slow.

Could CPU saturation explain it?

I&#39;ll check CPU usage.</code></pre></div><p class="paragraph" style="text-align:left;">Instead of:</p><div class="codeblock"><pre><code>Let me run df -h.</code></pre></div><p class="paragraph" style="text-align:left;">Think:</p><div class="codeblock"><pre><code>The application can&#39;t write new files.

Could the disk be full?

I&#39;ll check filesystem usage.</code></pre></div><p class="paragraph" style="text-align:left;">Instead of:</p><div class="codeblock"><pre><code>Let me look at Kubernetes events.</code></pre></div><p class="paragraph" style="text-align:left;">Think:</p><div class="codeblock"><pre><code>The Pod keeps restarting.

Could Kubernetes be killing it because of a failed probe or memory issue?

I&#39;ll check the Pod status and events.</code></pre></div><p class="paragraph" style="text-align:left;">Same commands.</p><p class="paragraph" style="text-align:left;">Very different way of thinking.</p><h1 class="heading" style="text-align:left;" id="what-good-debugging-starts-to-look-">What good debugging starts to look like</h1><p class="paragraph" style="text-align:left;">As you get better, your debugging process becomes less random.</p><p class="paragraph" style="text-align:left;">Something breaks.</p><p class="paragraph" style="text-align:left;">You ask:</p><div class="codeblock"><pre><code>What exactly failed?</code></pre></div><p class="paragraph" style="text-align:left;">Then:</p><div class="codeblock"><pre><code>What changed?</code></pre></div><p class="paragraph" style="text-align:left;">Then:</p><div class="codeblock"><pre><code>What&#39;s one possible reason?</code></pre></div><p class="paragraph" style="text-align:left;">Then:</p><div class="codeblock"><pre><code>What can I check that would tell me whether that&#39;s true?</code></pre></div><p class="paragraph" style="text-align:left;">You run the check.</p><p class="paragraph" style="text-align:left;">Then you use the result to decide what comes next.</p><p class="paragraph" style="text-align:left;">Over time, you&#39;ll naturally get faster because you&#39;ve seen more failure patterns.</p><p class="paragraph" style="text-align:left;">You&#39;ll recognise things like:</p><ul><li><p class="paragraph" style="text-align:left;">connection refused</p></li><li><p class="paragraph" style="text-align:left;">DNS failures</p></li><li><p class="paragraph" style="text-align:left;">expired certificates</p></li><li><p class="paragraph" style="text-align:left;">missing environment variables</p></li><li><p class="paragraph" style="text-align:left;">bad permissions</p></li><li><p class="paragraph" style="text-align:left;">full disks</p></li><li><p class="paragraph" style="text-align:left;">OOM kills</p></li><li><p class="paragraph" style="text-align:left;">broken health checks</p></li><li><p class="paragraph" style="text-align:left;">wrong routes</p></li><li><p class="paragraph" style="text-align:left;">expired tokens</p></li><li><p class="paragraph" style="text-align:left;">dependency timeouts</p></li></ul><p class="paragraph" style="text-align:left;">Experience helps.</p><p class="paragraph" style="text-align:left;">But even experienced engineers don&#39;t know the answer immediately every time.</p><p class="paragraph" style="text-align:left;">They&#39;re usually just better at <b>narrowing the problem down</b>.</p><h1 class="heading" style="text-align:left;" id="the-three-questions-i-want-you-to-r">The three questions I want you to remember</h1><p class="paragraph" style="text-align:left;">Good debugging isn&#39;t knowing 100 Linux commands.</p><p class="paragraph" style="text-align:left;">It&#39;s being able to look at a broken system and keep making the problem smaller.</p><p class="paragraph" style="text-align:left;">Whenever you&#39;re stuck, ask yourself:</p><p class="paragraph" style="text-align:left;"><b>1. What do I actually know?</b><br><b>2. What am I assuming?</b><br><b>3. What&#39;s the smallest thing I can check next?</b></p><p class="paragraph" style="text-align:left;">Get good at those three questions and debugging, and I promise you’d climb up the career ladder much faster than others.</p><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#dad84b;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Join 1,000+ engineers becoming better DevOps & SRE professionals.</b></p><p class="paragraph" style="text-align:left;"><span style="color:#222222;">Every week, I share:</span></p><ul><li><p class="paragraph" style="text-align:left;"><span style="color:#222222;">How I&#39;d approach problems differently (real projects, real mistakes)</span></p></li><li><p class="paragraph" style="text-align:left;"><span style="color:#222222;">Career moves that actually work (not LinkedIn motivational posts)</span></p></li><li><p class="paragraph" style="text-align:left;"><span style="color:#222222;">Technical deep-dives that change how you think about infrastructure</span></p></li></ul><p class="paragraph" style="text-align:left;"><span style="color:#222222;">No fluff. No roadmaps. Just what works when you&#39;re building real systems.</span></p><p class="paragraph" style="text-align:left;"><span style="color:#222222;"><span style="text-decoration:underline;">👉 </span></span><a class="link" href="http://uptime.engineer/subscribe?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=how-to-debug-production-issues-a-step-by-step-method" target="_blank" rel="noopener noreferrer nofollow" style="color: #a2a041"><span style="color:#222222;"><span style="text-decoration:underline;"><b>Subscribe for free to get it delivered every week</b></span></span></a></p></div><div class="image"><img alt="" class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/></div><p class="paragraph" style="text-align:center;">👋<b> Find me on </b><a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=how-to-debug-production-issues-a-step-by-step-method" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Twitter</b></a><b> | </b><a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=how-to-debug-production-issues-a-step-by-step-method" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Linkedin</b></a><b> | </b><a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=how-to-debug-production-issues-a-step-by-step-method" target="_blank" rel="noopener noreferrer nofollow"><span style="color:#14928e;"><b>Connect 1:1</b></span></a></p><p class="paragraph" style="text-align:left;"><i><b>Thank you for supporting this newsletter.</b></i><br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=a119926d-4ad5-415c-a8ce-8ea33555ea96&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>#38 Uptime Sync: 100TB Saved, PostgreSQL Migration Traps, and AI Agent Security</title>
  <description>From Cloudflare’s Rust memory optimisation to failed Postgres migrations, Kubernetes rollout debugging, and the DNS weakness behind an OpenAI jailbreak</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/d1a9089c-9e51-42a6-983b-1f63bb4d5390/keO29zC2rbk-HD.jpg" length="210989" type="image/jpeg"/>
  <link>https://www.uptime.engineer/p/100tb-saved-postgresql-migration-traps-and-ai-agent-security</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/100tb-saved-postgresql-migration-traps-and-ai-agent-security</guid>
  <pubDate>Fri, 02 Oct 2026 12:43:33 +0000</pubDate>
  <atom:published>2026-10-02T12:43:33Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
    <category><![CDATA[Digest]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><p class="paragraph" style="text-align:left;"></p><div id="section" class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - High Value - the best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;"></p><h3 class="heading" style="text-align:left;" id="smart-starts-here">Smart starts here.</h3><div class="image"><a class="image__link" href="https://l.join1440.com/bh?utm_source=beehiiv&utm_medium=cpc&utm_campaign=KHPTNYBUED&utm_content=prospecting_smart_starts_here&_bhiiv=opp_9e9dce04-610b-45ed-bac9-8da656d726f5_1b75ca79&bhcl_id=de2d1071-6717-4309-b62b-25518b7089fe_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/55745e59-1ef7-4ba3-ad7a-db4c042d2d0d/1440_January-Static-Image-ODY-38060_1x1_V2.png?t=1769711566"/></a></div><p class="paragraph" style="text-align:left;">You don&#39;t have to read everything — just the right thing. <a class="link" href="https://l.join1440.com/bh?utm_source=beehiiv&utm_medium=cpc&utm_campaign=KHPTNYBUED&utm_content=prospecting_smart_starts_here&_bhiiv=opp_9e9dce04-610b-45ed-bac9-8da656d726f5_1b75ca79&bhcl_id=de2d1071-6717-4309-b62b-25518b7089fe_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">1440&#39;s daily newsletter</a> distills the day&#39;s biggest stories from 100+ sources into one quick, 5-minute read. It&#39;s the fastest way to stay sharp, sound informed, and actually understand what&#39;s happening in the world. Join 4.5 million readers who start their day the smart way.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://l.join1440.com/bh?utm_source=beehiiv&utm_medium=cpc&utm_campaign=KHPTNYBUED&utm_content=prospecting_smart_starts_here&_bhiiv=opp_9e9dce04-610b-45ed-bac9-8da656d726f5_1b75ca79&bhcl_id=de2d1071-6717-4309-b62b-25518b7089fe_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">Join for free today!</a></p><p class="paragraph" style="text-align:left;"><br></p><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Newsworthy Reads</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://blog.cloudflare.com/saving-100-tb-of-ram-with-math/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow">Saving another 100TB of RAM with math (and Rust)</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://victoriametrics.com/blog/linux-readahead-and-fadvise/index.html?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow">How Linux readahead works, and the two ways to change it</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://weavori.com/blog/postgres-migration-fails-with-realistic-data?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow">The Postgres migration that passed every test</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.qawolf.com/blog/every-ai-agent-its-own-computer?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow">We gave every AI agent its own computer after unlearning cloud development</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.fairwinds.com/blog/how-we-deployed-maintained-and-migrated-production-n8n-on-eks?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow">How We Deployed, Maintained, and Migrated Production n8n on EKS</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://now-next.nl/en/insights/row-level-security-performance-postgresql/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow">Row-level security performance in PostgreSQL, measured</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://average.ly/jailbreak-via-dns?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow">How the OpenAI DNS Jailbreak Actually Worked</a></p></li></ul><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/keO29zC2rbk" width="100%"></iframe><p class="paragraph" style="text-align:left;"></p><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/ZrqgI5jQKqA" width="100%"></iframe><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Tutorials of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.freecodecamp.org/news/how-to-debug-a-stuck-kubernetes-rollout-with-a-hands-on-lab?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow">How to Debug a Stuck Kubernetes Rollout with a Hands-On Lab</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://infisical.com/blog/how-environment-variables-work?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow">How environment variables actually work (and why you should delete your .env file)</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://blog.matt-rickard.com/p/using-claude-code-from-anywhere?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow">Using Claude Code from Anywhere</a></p></li></ul><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/AmHYfEW7CCg" width="100%"></iframe><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://blog.railway.com/p/deploy-scale-docker-containers-railway?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow">How to Deploy and Scale Docker Containers on Railway in 2026</a></p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://www.gremlin.com/blog/managing-kubernetes-node-drains-with-pod-disruption-budgets?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow">Managing Kubernetes node drains with Pod Disruption Budgets</a></p></li></ul><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Projects of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/dbcli/litecli?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow">Litcecli</a> - <span style="background-color:#ffffff;">CLI for SQLite Databases with auto-completion and syntax highlighting</span></p></li><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://github.com/kpolley/redai?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow">RedAI</a></span><span style="background-color:#ffffff;"> - AI-driven vulnerability discovery and live validation</span></p></li><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://github.com/tonedefdev/opendepot?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow">OpenDepot</a></span><span style="background-color:#ffffff;"> - A Kubernetes native OpenTofu/Terraform Registry</span></p></li><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://github.com/newsnowlabs/dockside?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow">Dockside</a></span><span style="background-color:#ffffff;"> - Create dev containers that mirror your prod environment and sandbox your Claude/Codex CLIs.</span></p></li><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://github.com/microsoft/quicreach?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow">Quicreach</a></span><span style="background-color:#ffffff;"> - A &#39;ping&#39; equivalent tool for QUIC.</span></p></li></ul><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#dad84b;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><span style="color:#4e4a4a;"><b>Join 1,000+ engineers staying ahead of the curve</b></span></p><p class="paragraph" style="text-align:left;"><span style="color:#4e4a4a;">Every week, Uptime Sync brings you:</span></p><ul><li><p class="paragraph" style="text-align:left;"><span style="color:#4e4a4a;">Outage postmortems from Netflix, Cloudflare, Pinterest & more</span></p></li><li><p class="paragraph" style="text-align:left;"><span style="color:#4e4a4a;">Hands-on DevOps & SRE tutorials</span></p></li><li><p class="paragraph" style="text-align:left;"><span style="color:#4e4a4a;">Production-ready tools & open-source projects</span></p></li></ul><p class="paragraph" style="text-align:left;"><span style="color:#403a3a;"><span style="text-decoration:underline;">👉 </span></span><a class="link" href="http://uptime.engineer/subscribe?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow" style="color: #a2a041"><span style="color:#403a3a;"><span style="text-decoration:underline;"><b>Subscribe for free to get it delivered every week</b></span></span></a></p></div><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/></div><p class="paragraph" style="text-align:center;">👋 Find me on <a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Twitter</a> | <a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Linkedin</a> | <a class="link" href="https://www.instagram.com/askyoshik/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow">Instagram </a>| <a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=38-uptime-sync-100tb-saved-postgresql-migration-traps-and-ai-agent-security" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Connect 1:1</a></p><p class="paragraph" style="text-align:left;">Thank you for supporting this newsletter. Consider sharing this post with your friends.<br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=2a62d4e5-5797-4fa2-998c-97b4b7779cfd&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>Linux Memory Explained: Free vs Available, Cache &amp; Swap</title>
  <description>A practical guide to free -m, page cache, reclaimable memory, swap, pressure, and container memory limits.</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/5616fca7-1e20-4283-9404-8f4f9801915d/linux-memory-3.png" length="1039255" type="image/png"/>
  <link>https://www.uptime.engineer/p/linux-memory-page-cache-buffers-and-available-ram</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/linux-memory-page-cache-buffers-and-available-ram</guid>
  <pubDate>Wed, 30 Sep 2026 03:18:59 +0000</pubDate>
  <atom:published>2026-09-30T03:18:59Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
    <category><![CDATA[Linux]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><div id="section" class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - The best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#429d61;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><h2 class="heading" style="text-align:left;">📬 <b>Missed This Week’s Uptime Sync?</b></h2><p class="paragraph" style="text-align:left;">This week’s best DevOps, SRE, Cloud, Kubernetes, database, AI infrastructure, and production engineering reads:</p><ul><li><p class="paragraph" style="text-align:left;">How to grow beyond senior engineer</p></li><li><p class="paragraph" style="text-align:left;">Monoliths vs microservices: the trade-offs that matter</p></li><li><p class="paragraph" style="text-align:left;">How Cloudflare saved 100 TB of RAM with math and Rust</p></li><li><p class="paragraph" style="text-align:left;">How the internet moves from packets to pixels</p></li><li><p class="paragraph" style="text-align:left;">Deployment checklists that actually prevent incidents</p></li><li><p class="paragraph" style="text-align:left;">Why Karpenter may not be reducing your cloud bill</p></li></ul><p class="paragraph" style="text-align:left;">Plus: hardened Linux sandboxes for AI agents, systemd Dynamic Users, Terraform observability, DeepSec, and tools for Kubernetes, databases, object storage, upgrades, and Go tracing.</p><p class="paragraph" style="text-align:left;">👉 <a class="link" href="https://www.uptime.engineer/p/growing-past-senior-cutting-cloud-waste-and-preventing-production-incidents?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=linux-memory-explained-free-vs-available-cache-swap" target="_blank" rel="noopener noreferrer nofollow">Read Issue #36</a></p></div><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#5690BF;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:4.0px 4.0px 4.0px 4.0px;"><h3 class="heading" style="text-align:left;" id="how-2-m-professionals-stay-ahead-on">How 2M+ Professionals Stay Ahead on AI</h3><p class="paragraph" style="text-align:left;">What’s the secret to staying ahead of the curve in the world of AI? Information. </p><p class="paragraph" style="text-align:left;">Luckily, you can join 2,000,000+ early adopters reading <a class="link" href="https://magic.beehiiv.com/v1/4d03390d-2481-4299-b949-ffd8b38b4c38?email={{email}}&utm_campaign=KHPTNYBUED&utm_source=beehiivads&redirect_to=https%3A%2F%2Fsubscribe.therundown.ai%2F%3Fform%3Dopen&redirect_delay=1&_gl=1*o9xsd8*_gcl_aw*R0NMLjE3Njc5NzA2OTQuQ2p3S0NBaUE2NExMQmhCaEVpd0EtUHhndTgtSC1SQm02STdTckdZeVFhaVN4RmFMRDBPNkpnVEJBS0ZUSUZTMlRoYmg0Y01pazJHVE9Sb0NHcTBRQXZEX0J3RQ..*_gcl_au*MTk0MDAyNjczNy4xNzYzOTkyNzA4LjUzMTY2NjUwNC4xNzY4OTMwMTc3LjE3Njg5MzAxNzc.*_ga*NDkxNjYxNDQ5LjE3NjQwODAxOTQ.*_ga_E6Y4WLQ2EC*czE3NjkwMDQ4NzAkbzg2JGcxJHQxNzY5MDA0OTA4JGoyMiRsMCRoNjA5MTg3MjU.&_bhiiv=opp_30f65741-792d-42b4-8d63-d1446ad4976e_e4221c46&bhcl_id=23ad4f63-3e23-423a-b449-05ccc5fe0b7f_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">The Rundown AI</a> — the free newsletter that makes you smarter on AI with just a 5-minute read per day.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://magic.beehiiv.com/v1/4d03390d-2481-4299-b949-ffd8b38b4c38?email={{email}}&utm_campaign=KHPTNYBUED&utm_source=beehiivads&redirect_to=https%3A%2F%2Fsubscribe.therundown.ai%2F%3Fform%3Dopen&redirect_delay=1&_gl=1*o9xsd8*_gcl_aw*R0NMLjE3Njc5NzA2OTQuQ2p3S0NBaUE2NExMQmhCaEVpd0EtUHhndTgtSC1SQm02STdTckdZeVFhaVN4RmFMRDBPNkpnVEJBS0ZUSUZTMlRoYmg0Y01pazJHVE9Sb0NHcTBRQXZEX0J3RQ..*_gcl_au*MTk0MDAyNjczNy4xNzYzOTkyNzA4LjUzMTY2NjUwNC4xNzY4OTMwMTc3LjE3Njg5MzAxNzc.*_ga*NDkxNjYxNDQ5LjE3NjQwODAxOTQ.*_ga_E6Y4WLQ2EC*czE3NjkwMDQ4NzAkbzg2JGcxJHQxNzY5MDA0OTA4JGoyMiRsMCRoNjA5MTg3MjU.&_bhiiv=opp_30f65741-792d-42b4-8d63-d1446ad4976e_e4221c46&bhcl_id=23ad4f63-3e23-423a-b449-05ccc5fe0b7f_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow"><i>Sign up to start learning.</i></a></p></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;">A Linux server shows 180 MB of <code>free</code> memory.</p><p class="paragraph" style="text-align:left;">Someone sees the number, assumes the machine is running out of RAM, drops caches, watches <code>free</code> jump, and considers the problem fixed.</p><p class="paragraph" style="text-align:left;">The dashboard looks healthier.</p><p class="paragraph" style="text-align:left;">The workload may now be slower because Linux has to rebuild the cache from storage.</p><p class="paragraph" style="text-align:left;">And the original question was never answered: <b>was the machine actually under memory pressure?</b></p><p class="paragraph" style="text-align:left;">Consider this:</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/4ee2aef1-a2c7-435b-893d-05dac1176f7b/Screenshot_2026-09-22_at_9.03.50_AM.png?t=1790048049"/></div><p class="paragraph" style="text-align:left;">The number that looks scary is <code>free</code>: 297 MB.</p><p class="paragraph" style="text-align:left;">The number I would start with is <code>available</code>: about 19.1 GB.</p><p class="paragraph" style="text-align:left;">What I follow:</p><p class="paragraph" style="text-align:left;"><b>Start with </b><code>available</code><b>, not </b><code>free</code><b>. Then look for data that reclaiming memory is actually hurting the workload.</b></p><p class="paragraph" style="text-align:left;">Low free memory is a description.</p><p class="paragraph" style="text-align:left;">A memory problem starts when the system cannot satisfy demand cheaply enough within the allocation boundary that matters.</p><h2 class="heading" style="text-align:left;" id="think-in-terms-of-reclaimability">Think in terms of reclaimability</h2><p class="paragraph" style="text-align:left;">The useful mental model is not <b>used vs unused</b>.</p><p class="paragraph" style="text-align:left;">It is <b>how expensive this memory would be to reclaim</b>.</p><p class="paragraph" style="text-align:left;">Completely free pages are easy. Linux can allocate them immediately.</p><p class="paragraph" style="text-align:left;">Clean file cache is usually reclaimable too, but reclaiming it has a cost. If the application needs that data again, Linux has to fetch it from storage.</p><p class="paragraph" style="text-align:left;">Dirty file-backed pages are harder. They cannot simply be discarded because they have to be written back first.</p><p class="paragraph" style="text-align:left;">Anonymous memory, such as process heaps and stacks, is harder again. There is no file backing it that Linux can reread later. Reclaim may require swap, and under severe pressure the system may eventually invoke the OOM killer.</p><p class="paragraph" style="text-align:left;">This is a diagnostic mental model, not the kernel&#39;s literal reclaim sequence.</p><p class="paragraph" style="text-align:left;">Real allocation behaviour also depends on things like zone watermarks, writeback, active references, fragmentation, NUMA locality, huge pages, pinned pages, and memory cgroups.</p><p class="paragraph" style="text-align:left;">That distinction matters because a machine can appear to have plenty of memory and still fail a particular allocation.</p><p class="paragraph" style="text-align:left;">And containers introduce another boundary entirely.</p><p class="paragraph" style="text-align:left;">A workload can hit its cgroup limit while the host still has gigabytes available.</p><h2 class="heading" style="text-align:left;" id="start-with-available-not-free">Start with available, not free</h2><p class="paragraph" style="text-align:left;"><code>MemAvailable</code>, shown as <code>available</code> by <code>free</code>, estimates how much memory can be given to new applications without swapping.</p><p class="paragraph" style="text-align:left;">It considers free memory, reclaimable page cache and slab, while keeping memory the kernel expects to need for normal operation.</p><p class="paragraph" style="text-align:left;">It is not a guarantee.</p><p class="paragraph" style="text-align:left;">But it answers a much more useful question than <code>free</code> does:</p><div class="codeblock"><pre><code>Can this host absorb more work without disruptive memory pressure?</code></pre></div><p class="paragraph" style="text-align:left;">That is usually what the engineer staring at <code>free -m</code> wanted to know in the first place.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/5616fca7-1e20-4283-9404-8f4f9801915d/linux-memory-3.png?t=1790047546"/></div><h2 class="heading" style="text-align:left;" id="how-i-actually-read-free-m">How I actually read <code>free -m</code></h2><p class="paragraph" style="text-align:left;">Run:</p><div class="codeblock"><pre><code>free -m</code></pre></div><p class="paragraph" style="text-align:left;">The <code>-m</code> flag only changes the display unit. Exact formulas can vary by procps-ng and distribution version, so the local man page remains authoritative for a specific machine.</p><p class="paragraph" style="text-align:left;">For normal host triage, I would read the output roughly in this order.</p><h3 class="heading" style="text-align:left;" id="available"><code>available</code></h3><p class="paragraph" style="text-align:left;">Start here.</p><p class="paragraph" style="text-align:left;">Compare it with what the workload may need next, not with some generic rule like &quot;keep 20% RAM free.&quot;</p><p class="paragraph" style="text-align:left;">A database that may grow by several gigabytes needs a different margin from a stateless service that can be rescheduled elsewhere.</p><p class="paragraph" style="text-align:left;">Capacity is workload-specific.</p><h3 class="heading" style="text-align:left;" id="free"><code>free</code></h3><p class="paragraph" style="text-align:left;">This is memory currently doing nothing.</p><p class="paragraph" style="text-align:left;">Low <code>free</code> is normal on an active Linux system. Keeping RAM empty does not make the machine faster.</p><p class="paragraph" style="text-align:left;">If Linux can use otherwise idle memory to avoid storage I/O, it usually should.</p><h3 class="heading" style="text-align:left;" id="used"><code>used</code></h3><p class="paragraph" style="text-align:left;">Do not treat this as the sum of every process&#39;s RSS.</p><p class="paragraph" style="text-align:left;">On current procps-ng implementations, it is generally calculated as:</p><div class="codeblock"><pre><code>used = total - available</code></pre></div><p class="paragraph" style="text-align:left;">So if process RSS does not add up to <code>used</code>, that is not proof of a leak.</p><p class="paragraph" style="text-align:left;">Shared mappings, page cache, tmpfs, and kernel memory are some of the reasons the comparison breaks down.</p><h3 class="heading" style="text-align:left;" id="buffcache"><code>buff/cache</code></h3><p class="paragraph" style="text-align:left;">This is useful context, but it is not a pile of disposable RAM.</p><p class="paragraph" style="text-align:left;">Some cached pages are clean and easy to reclaim.</p><p class="paragraph" style="text-align:left;">Some are dirty and need writeback.</p><p class="paragraph" style="text-align:left;">Some kernel caches are reclaimable.</p><p class="paragraph" style="text-align:left;">Some memory is not.</p><p class="paragraph" style="text-align:left;">That is why saying &quot;we have 6 GB in cache, so Linux can instantly free 6 GB&quot; is bad capacity math.</p><h3 class="heading" style="text-align:left;" id="shared"><code>shared</code></h3><p class="paragraph" style="text-align:left;">This largely reflects <code>Shmem</code>, including tmpfs and shared-memory use.</p><p class="paragraph" style="text-align:left;">A large number here may point toward <code>/dev/shm</code>, tmpfs mounts, or an application using shared-memory segments.</p><p class="paragraph" style="text-align:left;">That is a different investigation from page cache growth.</p><h3 class="heading" style="text-align:left;" id="swap">Swap</h3><p class="paragraph" style="text-align:left;">Nonzero swap usage does not automatically mean the host is unhealthy.</p><p class="paragraph" style="text-align:left;">Pages may remain swapped out long after a temporary pressure event.</p><p class="paragraph" style="text-align:left;">What I care about more is <b>active movement</b>.</p><p class="paragraph" style="text-align:left;">A static swap number tells you much less than sustained swap-in or swap-out while request latency is climbing.</p><p class="paragraph" style="text-align:left;">A screenshot is weak evidence.</p><p class="paragraph" style="text-align:left;">A trend is much stronger.</p><h2 class="heading" style="text-align:left;" id="cached-memory-is-not-wasted-memory">Cached memory is not wasted memory</h2><p class="paragraph" style="text-align:left;">This becomes obvious after someone drops it.</p><p class="paragraph" style="text-align:left;">Imagine a service repeatedly reading the same files.</p><p class="paragraph" style="text-align:left;">Linux keeps recently accessed file contents in page cache. Later reads can come from RAM instead of storage.</p><p class="paragraph" style="text-align:left;">That memory may show up as cached or used, but it is not wasted. It is serving the workload.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/1ef7a7af-d217-4cb0-8db8-6aa56229621f/linux-memory-2.png?t=1790047570"/></div><p class="paragraph" style="text-align:left;">Writes are different.</p><p class="paragraph" style="text-align:left;">Dirty pages contain data that still needs to reach storage. Linux cannot reclaim them as cheaply as clean cache because writeback has to happen first.</p><p class="paragraph" style="text-align:left;">This is also why <code>MemAvailable</code> is more useful than simply adding <code>free + cache</code>.</p><p class="paragraph" style="text-align:left;">Not every cached byte is equally reclaimable.</p><p class="paragraph" style="text-align:left;">And not every reclaimed byte is free from performance cost.</p><p class="paragraph" style="text-align:left;">I would not diagnose a memory leak from a rising <code>buff/cache</code> number.</p><p class="paragraph" style="text-align:left;">I would first ask what is actually growing:</p><ul><li><p class="paragraph" style="text-align:left;">anonymous process memory</p></li><li><p class="paragraph" style="text-align:left;">tmpfs or shared memory</p></li><li><p class="paragraph" style="text-align:left;">dirty pages waiting on storage</p></li><li><p class="paragraph" style="text-align:left;">reclaimable kernel caches</p></li><li><p class="paragraph" style="text-align:left;">unreclaimable kernel memory</p></li></ul><p class="paragraph" style="text-align:left;">Those have different owners and very different failure modes.</p><h2 class="heading" style="text-align:left;" id="dropping-caches-usually-fixes-the-w">Dropping caches usually fixes the wrong problem</h2><p class="paragraph" style="text-align:left;">The familiar command is:</p><div class="codeblock"><pre><code>echo 3 &gt; /proc/sys/vm/drop_caches</code></pre></div><p class="paragraph" style="text-align:left;">It requires sufficient host privilege and may be blocked in containers or managed environments.</p><p class="paragraph" style="text-align:left;">More importantly, it is not routine memory maintenance.</p><p class="paragraph" style="text-align:left;">Dropping caches makes <code>free</code> rise and <code>buff/cache</code> fall.</p><p class="paragraph" style="text-align:left;">That feels like progress because the graph moves in the direction you expected.</p><p class="paragraph" style="text-align:left;">But what really changed is cache locality.</p><p class="paragraph" style="text-align:left;">If the workload needs the same data again, Linux has to read it from storage and rebuild those caches. Repeated cache dropping can therefore increase both I/O and CPU work.</p><p class="paragraph" style="text-align:left;">It also does not fix the problems people often hope it fixes:</p><ul><li><p class="paragraph" style="text-align:left;">A growing heap still grows.</p></li><li><p class="paragraph" style="text-align:left;">Dirty pages still need writeback.</p></li><li><p class="paragraph" style="text-align:left;">A cgroup limit is still a cgroup limit.</p></li><li><p class="paragraph" style="text-align:left;">A leaking process still leaks.</p></li><li><p class="paragraph" style="text-align:left;">Fragmentation and pinned memory do not disappear because file cache was removed.</p></li></ul><p class="paragraph" style="text-align:left;">There are legitimate reasons to drop caches.</p><p class="paragraph" style="text-align:left;">A controlled benchmark may need a cold-cache run. A diagnostic experiment may intentionally isolate cache state.</p><p class="paragraph" style="text-align:left;">Those are experiments with a clear purpose.</p><p class="paragraph" style="text-align:left;">I would not put cache dropping on a cron job. It makes the screenshot look reassuring while leaving the capacity problem untouched.</p><h2 class="heading" style="text-align:left;" id="first-check-if-you-actually-have-me">First check if you actually have memory pressure</h2><p class="paragraph" style="text-align:left;">If <code>available</code> is declining, the next question is not immediately &quot;what is leaking?&quot;</p><p class="paragraph" style="text-align:left;">The next question is:</p><p class="paragraph" style="text-align:left;"><b>Is the workload paying for memory pressure yet?</b></p><p class="paragraph" style="text-align:left;">Look for rising latency, memory PSI, sustained swapping, writeback stalls, allocation failures, or OOM activity.</p><p class="paragraph" style="text-align:left;">Start with a time series:</p><div class="codeblock"><pre><code>vmstat 1</code></pre></div><p class="paragraph" style="text-align:left;">On common procps implementations, <code>si</code> and <code>so</code> show swap-in and swap-out rates.</p><p class="paragraph" style="text-align:left;">One nonzero sample means very little.</p><p class="paragraph" style="text-align:left;">Sustained movement while request latency or job duration gets worse is much more interesting.</p><p class="paragraph" style="text-align:left;">Then look at what is consuming the memory you expected to be reclaimable:</p><div class="codeblock"><pre><code>grep -E &#39;MemAvailable|MemFree|Cached|SReclaimable|SUnreclaim|Shmem|Dirty|AnonPages|Slab&#39; /proc/meminfo</code></pre></div><p class="paragraph" style="text-align:left;">Do not collect those numbers just to create a bigger dashboard.</p><p class="paragraph" style="text-align:left;">Use them to choose the next investigation.</p><p class="paragraph" style="text-align:left;">If <code>AnonPages</code> keeps growing, look at application memory, allocators, and process behaviour.</p><p class="paragraph" style="text-align:left;">If <code>Shmem</code> is large, inspect tmpfs and shared-memory users.</p><p class="paragraph" style="text-align:left;">If <code>Dirty</code> is high, start thinking about writeback and storage.</p><p class="paragraph" style="text-align:left;">If <code>SUnreclaim</code> is climbing, that points toward kernel memory, not automatically an application heap leak.</p><p class="paragraph" style="text-align:left;">That branch is far more useful than asking whether &quot;memory usage&quot; is high.</p><p class="paragraph" style="text-align:left;">There is no single owner of used RAM.</p><h2 class="heading" style="text-align:left;" id="a-healthy-node-can-still-have-an-oo">A healthy node can still have an OOM-killed pod</h2><p class="paragraph" style="text-align:left;">This is where host-level thinking breaks down.</p><p class="paragraph" style="text-align:left;">A Kubernetes pod can be OOM-killed while the node still reports substantial <code>MemAvailable</code>.</p><p class="paragraph" style="text-align:left;">The node had room.</p><p class="paragraph" style="text-align:left;">The pod&#39;s cgroup did not.</p><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f80f9a95-7859-4298-92f7-97b7efe2f8c7/linux-memory-1.png?t=1790047593"/></div><p class="paragraph" style="text-align:left;">For a container memory incident, inspect the workload&#39;s own usage, limit, event counters, and memory pressure before trusting node-wide <code>free</code>.</p><p class="paragraph" style="text-align:left;">With cgroup v2, files such as:</p><div class="codeblock"><pre><code>memory.current
memory.stat
memory.events</code></pre></div><p class="paragraph" style="text-align:left;">are often more relevant than the host summary.</p><p class="paragraph" style="text-align:left;">The exact metrics and semantics differ under cgroup v1 and managed platforms, so establish what environment you are actually running before applying a copied debugging checklist.</p><p class="paragraph" style="text-align:left;">This is also why <code>available</code> should never be treated as a promise.</p><p class="paragraph" style="text-align:left;">It is a host-level estimate.</p><p class="paragraph" style="text-align:left;">It cannot override a container limit or guarantee that every allocation will succeed.</p><h2 class="heading" style="text-align:left;" id="what-i-check-in-free-m">What I check in <code>free -m</code> </h2><p class="paragraph" style="text-align:left;">Do not clear caches just because <code>free</code> is low.</p><p class="paragraph" style="text-align:left;">Do not restart a process just because it looks large.</p><p class="paragraph" style="text-align:left;">Instead:</p><ol start="1"><li><p class="paragraph" style="text-align:left;">Start with <code>available</code> for host-level headroom.</p></li><li><p class="paragraph" style="text-align:left;">Look at the trend, not one sample.</p></li><li><p class="paragraph" style="text-align:left;">Check whether the workload is actually experiencing memory pressure.</p></li><li><p class="paragraph" style="text-align:left;">Identify what kind of memory is growing.</p></li><li><p class="paragraph" style="text-align:left;">If the workload is containerized, inspect its cgroup before trusting host-level numbers.</p></li><li><p class="paragraph" style="text-align:left;">Preserve useful cache unless you are deliberately running a cold-cache experiment.</p></li></ol><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#dad84b;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Join 1,000+ engineers becoming better DevOps & SRE professionals.</b></p><p class="paragraph" style="text-align:left;"><span style="color:#222222;">Every week, I share:</span></p><ul><li><p class="paragraph" style="text-align:left;"><span style="color:#222222;">How I&#39;d approach problems differently (real projects, real mistakes)</span></p></li><li><p class="paragraph" style="text-align:left;"><span style="color:#222222;">Career moves that actually work (not LinkedIn motivational posts)</span></p></li><li><p class="paragraph" style="text-align:left;"><span style="color:#222222;">Technical deep-dives that change how you think about infrastructure</span></p></li></ul><p class="paragraph" style="text-align:left;"><span style="color:#222222;">No fluff. No roadmaps. Just what works when you&#39;re building real systems.</span></p><p class="paragraph" style="text-align:left;"><span style="color:#222222;"><span style="text-decoration:underline;">👉 </span></span><a class="link" href="http://uptime.engineer/subscribe?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=linux-memory-explained-free-vs-available-cache-swap" target="_blank" rel="noopener noreferrer nofollow" style="color: #a2a041"><span style="color:#222222;"><span style="text-decoration:underline;"><b>Subscribe for free to get it delivered every week</b></span></span></a></p></div><div class="image"><img alt="" class="image__image" style="border-radius:0px 0px 0px 0px;border-style:solid;border-width:0px 0px 0px 0px;box-sizing:border-box;border-color:#E5E7EB;" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/></div><p class="paragraph" style="text-align:center;">👋<b> Find me on </b><a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=linux-memory-explained-free-vs-available-cache-swap" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Twitter</b></a><b> | </b><a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=linux-memory-explained-free-vs-available-cache-swap" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928e"><b>Linkedin</b></a><b> | </b><a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=linux-memory-explained-free-vs-available-cache-swap" target="_blank" rel="noopener noreferrer nofollow"><span style="color:#14928e;"><b>Connect 1:1</b></span></a></p><p class="paragraph" style="text-align:left;"><i><b>Thank you for supporting this newsletter.</b></i><br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=a4632675-32f5-4c6c-83d9-d86a507c7bdb&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

      <item>
  <title>#37 Uptime Sync: AWS Outages, Postgres Replication, and Cutting Observability Costs</title>
  <description>What a year of AWS failures reveals about multi-region architecture, why DuckDB 2.0 is faster, and how teams are reducing monitoring bills without losing visibility</description>
      <enclosure url="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/93a67751-af7a-47a4-a6ab-a4741b316db7/-xbzGngfQEw-HD.jpg" length="134694" type="image/jpeg"/>
  <link>https://www.uptime.engineer/p/aws-outages-postgres-replication-and-cutting-observability-costs</link>
  <guid isPermaLink="true">https://www.uptime.engineer/p/aws-outages-postgres-replication-and-cutting-observability-costs</guid>
  <pubDate>Sat, 26 Sep 2026 09:54:27 +0000</pubDate>
  <atom:published>2026-09-26T09:54:27Z</atom:published>
    <dc:creator>Yoshik Karnawat</dc:creator>
    <category><![CDATA[Digest]]></category>
  <content:encoded><![CDATA[
    <div class='beehiiv'><style>
  .bh__table, .bh__table_header, .bh__table_cell { border: 1px solid #C0C0C0; }
  .bh__table_cell { padding: 5px; background-color: #FFFFFF; }
  .bh__table_cell p { color: #2D2D2D; font-family: 'Roboto',-apple-system,BlinkMacSystemFont,Tahoma,sans-serif !important; overflow-wrap: break-word; }
  .bh__table_header { padding: 5px; background-color:#F1F1F1; }
  .bh__table_header p { color: #2A2A2A; font-family:'Trebuchet MS','Lucida Grande',Tahoma,sans-serif !important; overflow-wrap: break-word; }
</style><div class='beehiiv__body'><div id="section" class="section" style="background-color:transparent;border-color:#626262;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><b>Every Tuesday</b> - Deep dives, architecture lessons, and real engineering stories.</p><p class="paragraph" style="text-align:left;"><b>Every Saturday</b> - High Value - the best DevOps, SRE, Cloud, AI, tools, tutorials, and projects from the week.</p></div><p class="paragraph" style="text-align:left;"></p><p class="paragraph" style="text-align:left;"></p><h3 class="heading" style="text-align:left;" id="learn-ai-in-5-minutes-a-day">Learn AI in 5 minutes a day</h3><div class="image"><a class="image__link" href="https://magic.beehiiv.com/v1/4d03390d-2481-4299-b949-ffd8b38b4c38?email={{email}}&utm_campaign=KHPTNYBUED&utm_source=beehiivads&redirect_to=https%3A%2F%2Fsubscribe.therundown.ai%2F%3Fform%3Dopen&redirect_delay=1&_gl=1*o9xsd8*_gcl_aw*R0NMLjE3Njc5NzA2OTQuQ2p3S0NBaUE2NExMQmhCaEVpd0EtUHhndTgtSC1SQm02STdTckdZeVFhaVN4RmFMRDBPNkpnVEJBS0ZUSUZTMlRoYmg0Y01pazJHVE9Sb0NHcTBRQXZEX0J3RQ..*_gcl_au*MTk0MDAyNjczNy4xNzYzOTkyNzA4LjUzMTY2NjUwNC4xNzY4OTMwMTc3LjE3Njg5MzAxNzc.*_ga*NDkxNjYxNDQ5LjE3NjQwODAxOTQ.*_ga_E6Y4WLQ2EC*czE3NjkwMDQ4NzAkbzg2JGcxJHQxNzY5MDA0OTA4JGoyMiRsMCRoNjA5MTg3MjU.&_bhiiv=opp_b48ae8b6-b7aa-43ab-856f-50e524e7a55e_e4221c46&bhcl_id=95610455-5e12-4f49-be6c-9aaee4a10cad_{{subscriber_id}}_{{email_address_id}}" rel="noopener" target="_blank"><img class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/ff98dde6-6195-4dab-b3a0-ebf1185501dc/Banner_2.png?t=1776741038"/></a></div><p class="paragraph" style="text-align:left;">You don&#39;t have to scroll every AI thread, track every new tool, or watch every demo. </p><p class="paragraph" style="text-align:left;"><a class="link" href="https://magic.beehiiv.com/v1/4d03390d-2481-4299-b949-ffd8b38b4c38?email={{email}}&utm_campaign=KHPTNYBUED&utm_source=beehiivads&redirect_to=https%3A%2F%2Fsubscribe.therundown.ai%2F%3Fform%3Dopen&redirect_delay=1&_gl=1*o9xsd8*_gcl_aw*R0NMLjE3Njc5NzA2OTQuQ2p3S0NBaUE2NExMQmhCaEVpd0EtUHhndTgtSC1SQm02STdTckdZeVFhaVN4RmFMRDBPNkpnVEJBS0ZUSUZTMlRoYmg0Y01pazJHVE9Sb0NHcTBRQXZEX0J3RQ..*_gcl_au*MTk0MDAyNjczNy4xNzYzOTkyNzA4LjUzMTY2NjUwNC4xNzY4OTMwMTc3LjE3Njg5MzAxNzc.*_ga*NDkxNjYxNDQ5LjE3NjQwODAxOTQ.*_ga_E6Y4WLQ2EC*czE3NjkwMDQ4NzAkbzg2JGcxJHQxNzY5MDA0OTA4JGoyMiRsMCRoNjA5MTg3MjU.&_bhiiv=opp_b48ae8b6-b7aa-43ab-856f-50e524e7a55e_e4221c46&bhcl_id=95610455-5e12-4f49-be6c-9aaee4a10cad_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow">The Rundown AI</a> breaks it all down for you — the latest AI news, tools, and tutorials in one free 5-minute email every morning. </p><p class="paragraph" style="text-align:left;">Trusted by 2M+ professionals at Apple, Google, and NASA.</p><p class="paragraph" style="text-align:left;"><a class="link" href="https://magic.beehiiv.com/v1/4d03390d-2481-4299-b949-ffd8b38b4c38?email={{email}}&utm_campaign=KHPTNYBUED&utm_source=beehiivads&redirect_to=https%3A%2F%2Fsubscribe.therundown.ai%2F%3Fform%3Dopen&redirect_delay=1&_gl=1*o9xsd8*_gcl_aw*R0NMLjE3Njc5NzA2OTQuQ2p3S0NBaUE2NExMQmhCaEVpd0EtUHhndTgtSC1SQm02STdTckdZeVFhaVN4RmFMRDBPNkpnVEJBS0ZUSUZTMlRoYmg0Y01pazJHVE9Sb0NHcTBRQXZEX0J3RQ..*_gcl_au*MTk0MDAyNjczNy4xNzYzOTkyNzA4LjUzMTY2NjUwNC4xNzY4OTMwMTc3LjE3Njg5MzAxNzc.*_ga*NDkxNjYxNDQ5LjE3NjQwODAxOTQ.*_ga_E6Y4WLQ2EC*czE3NjkwMDQ4NzAkbzg2JGcxJHQxNzY5MDA0OTA4JGoyMiRsMCRoNjA5MTg3MjU.&_bhiiv=opp_b48ae8b6-b7aa-43ab-856f-50e524e7a55e_e4221c46&bhcl_id=95610455-5e12-4f49-be6c-9aaee4a10cad_{{subscriber_id}}_{{email_address_id}}" target="_blank" rel="noopener noreferrer nofollow"><i>Sign up to start learning.</i></a></p><p class="paragraph" style="text-align:left;"><br></p><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Newsworthy Reads</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://awsfundamentals.com/blog/aws-outages-2025-multi-region-reality?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow">A Year of AWS Outages</a></span></p></li><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://phpunit.expert/articles/confidence-is-not-transferable.html?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow">Confidence is not transferable</a></span></p></li><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://tapoueh.org/blog/2026/09/ten-years-of-postgres-logical-replication/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow">Ten years of Postgres logical replication</a></span></p></li><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://motherduck.com/blog/why-duckdb-20-is-faster/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow">Why DuckDB 2.0 is faster</a></span></p></li><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://www.sanity.io/engineering/how-we-cut-our-mimir-bill-nearly-in-half?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow">How we cut our Mimir bill (nearly) in half</a></span></p></li><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://www.freecodecamp.org/news/how-to-build-a-deployment-checklist-that-actually-prevents-production-incidents?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow">How to Build a Deployment Checklist That Prevents Production Incidents</a></span></p></li></ul><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/-xbzGngfQEw" width="100%"></iframe><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/vj7hysh0mOI" width="100%"></iframe><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Tutorials of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://www.cncf.io/blog/2026/09/10/kubernetes-disaster-recovery-guidance-from-three-reproducible-failure-scenarios/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow">Kubernetes disaster recovery</a></span></p></li><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://blog.miguelgrinberg.com/post/you-should-be-using-rootless-containers?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow">You Should be Using Rootless Containers</a></span></p></li><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://brettfisher.dev/posts/deploy-blog-on-hetzner/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow">How I deployed my site on Hetzner</a></span></p></li></ul><iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" class="youtube_embed" frameborder="0" height="100%" src="https://youtube.com/embed/4bQeGUzHpOE" width="100%"></iframe><ul><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://blog.logrocket.com/skills-vs-mcp-tools-agent-guide?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow">Skills vs. MCP tools for AI agents</a></span></p></li><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://blog.usebruno.com/curl-to-gui-import-curl-commands?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow">curl to GUI and Back</a></span></p></li></ul><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><b>Projects of the Week</b></span></p><ul><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://github.com/lux-db/lux?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow">Lux</a></span><span style="background-color:#ffffff;"> = DevOps/SRE-minded builders who currently glue Redis, queues, vectors, and realtime plumbing may want a single self-hostable process with familiar Redis clients plus measured concurrency claims</span></p></li><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://github.com/shpitdev/sketchi?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow">Sketchi</a></span><span style="background-color:#ffffff;"> - Install it with npm, prompt a flowchart or mindmap, and get a hosted, editable Excalidraw scene instead of a static image.</span></p></li></ul><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/8684c737-ec99-44e8-b7b8-5c7b624d7d21/sketchi-og-card.png?t=1790094888"/></div><ul><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://github.com/theopenlane/core?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow">Core</a></span><span style="background-color:#ffffff;"> - If your team dreads audit season, you can use Openlane to automate evidence collection, task assignments, and compliance rep</span>orting without writing custom scripts.</p></li><li><p class="paragraph" style="text-align:left;"><a class="link" href="https://github.com/lxc/incus-os?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow">Incus OS</a> - <span style="background-color:#ffffff;">Immutable Linux OS</span></p></li><li><p class="paragraph" style="text-align:left;"><span style="background-color:#ffffff;"><a class="link" href="https://github.com/debpalash/VoiceStudio?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow">VoiceStudio </a></span><span style="background-color:#ffffff;">is the open-source, fully-local ElevenLabs alternative</span></p></li></ul><p class="paragraph" style="text-align:left;"></p><div class="section" style="background-color:transparent;border-color:#dad84b;border-radius:4px;border-style:solid;border-width:2px;margin:0.0px 0.0px 0.0px 0.0px;padding:10.0px 10.0px 10.0px 10.0px;"><p class="paragraph" style="text-align:left;"><span style="color:#4e4a4a;"><b>Join 1,000+ engineers staying ahead of the curve</b></span></p><p class="paragraph" style="text-align:left;"><span style="color:#4e4a4a;">Every week, Uptime Sync brings you:</span></p><ul><li><p class="paragraph" style="text-align:left;"><span style="color:#4e4a4a;">Outage postmortems from Netflix, Cloudflare, Pinterest & more</span></p></li><li><p class="paragraph" style="text-align:left;"><span style="color:#4e4a4a;">Hands-on DevOps & SRE tutorials</span></p></li><li><p class="paragraph" style="text-align:left;"><span style="color:#4e4a4a;">Production-ready tools & open-source projects</span></p></li></ul><p class="paragraph" style="text-align:left;"><span style="color:#403a3a;"><span style="text-decoration:underline;">👉 </span></span><a class="link" href="http://uptime.engineer/subscribe?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow" style="color: #a2a041"><span style="color:#403a3a;"><span style="text-decoration:underline;"><b>Subscribe for free to get it delivered every week</b></span></span></a></p></div><div class="image"><img alt="" class="image__image" style="" src="https://media.beehiiv.com/cdn-cgi/image/fit=scale-down,format=auto,onerror=redirect,quality=80/uploads/asset/file/f95461f9-fa2f-44a6-be85-9fcd3de02ddf/uptime_engineer_logo.png?t=1763277840"/></div><p class="paragraph" style="text-align:center;">👋 Find me on <a class="link" href="https://x.com/AskYoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Twitter</a> | <a class="link" href="https://www.linkedin.com/in/yoshik-karnawat/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Linkedin</a> | <a class="link" href="https://www.instagram.com/askyoshik/?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow">Instagram </a>| <a class="link" href="https://topmate.io/yoshik?utm_source=uptime.engineer&utm_medium=newsletter&utm_campaign=37-uptime-sync-aws-outages-postgres-replication-and-cutting-observability-costs" target="_blank" rel="noopener noreferrer nofollow" style="color: #14928E">Connect 1:1</a></p><p class="paragraph" style="text-align:left;">Thank you for supporting this newsletter. Consider sharing this post with your friends.<br><i><b>Y’all are the best.</b></i></p></div><div class='beehiiv__footer'><br class='beehiiv__footer__break'><hr class='beehiiv__footer__line'><a target="_blank" class="beehiiv__footer_link" style="text-align: center;" href="https://www.beehiiv.com/powered-by?publication_logo=https%3A%2F%2Fmedia.beehiiv.com%2Fcdn-cgi%2Fimage%2Ffit%3Dscale-down%2Cformat%3Dauto%2Conerror%3Dredirect%2Cquality%3D80%2Fuploads%2Fpublication%2Flogo%2Fa6a4d9d8-3769-4355-ab3f-2522724beaaf%2Fuptime_engineer_logo.png%3Fv%3D1796013950&publication_name=Uptime+Engineer&utm_campaign=bd1a71ac-32d4-416b-a362-11850ce2b8b6&utm_medium=post_rss&utm_source=uptime_engineer">Powered by beehiiv</a></div></div>
  ]]></content:encoded>
</item>

  </channel>
</rss>
