<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tatiana Bakharevskaya on Medium]]></title>
        <description><![CDATA[Stories by Tatiana Bakharevskaya on Medium]]></description>
        <link>https://medium.com/@tatiana.e30?source=rss-21140c3e1917------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*lj42u2Kdk8T9Mt4q</url>
            <title>Stories by Tatiana Bakharevskaya on Medium</title>
            <link>https://medium.com/@tatiana.e30?source=rss-21140c3e1917------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 07:34:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tatiana.e30/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How We Scaled Yandex in mid-2000s: Building 99.99% Reliability at 2× Year-Over-Year Growth]]></title>
            <link>https://medium.com/@tatiana.e30/how-we-scaled-yandex-in-mid-2000x-building-99-99-reliability-at-2-year-over-year-growth-d8a69c053e9d?source=rss-21140c3e1917------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8a69c053e9d</guid>
            <category><![CDATA[site-reliability-engineer]]></category>
            <category><![CDATA[disaster-recovery]]></category>
            <category><![CDATA[scale]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[leadership]]></category>
            <dc:creator><![CDATA[Tatiana Bakharevskaya]]></dc:creator>
            <pubDate>Mon, 14 Sep 2026 22:02:13 GMT</pubDate>
            <atom:updated>2026-10-25T18:25:51.505Z</atom:updated>
            <content:encoded><![CDATA[<p>Result: 99.99% service reliability (approximately one hour of downtime per year) across 200+ public and internal-facing projects.</p><p>Originally published in the <a href="https://habr.com/en/companies/yandex/articles/243033/">Yandex corporate blog on Habr on November 17, 2014</a>. This is an English translation and adaptation of the original Russian article.</p><p>The goal wasn’t simply to keep systems running. We had to build an engineering organisation and infrastructure capable of supporting 2× year-over-year growth in employees, customers, traffic, and data while maintaining delivery velocity. And we had to do it for a 24×7, geographically distributed, high-load platform. That combination of scale, reliability, budget and speed was the real challenge. The period between 2004 and 2007 was a defining era for Yandex. The company was evolving from a successful Russian search portal into a highly scalable technology platform serving millions of users and an increasingly diverse ecosystem of services.</p><p>At the time, Russia’s internet market was growing extremely quickly. Yandex already had a dominant position in search:</p><ul><li>2004–2005: approximately 53–55% of the Russian search market.</li><li>2006–2007: approximately 56–60%.</li></ul><p>In the mid-2000s, Yandex typically talked about daily and monthly unique visitors or “attendance.” The numbers were already significant.</p><ul><li>In 2002, daily search queries had already crossed 1 million.</li><li>By 2004–2005, daily unique users on the portal had reached approximately 2.5–3.5 million.</li><li>By 2006–2007, daily unique visitors across Yandex’s integrated services regularly exceeded 5–7 million and Yandex was processing approximately 25–40 million search queries every day.</li></ul><p>By 2007, Yandex’s multi-service portal was reaching a significant share of the active Russian internet population, with an estimated 10–12 million monthly unique users. For perspective, this puts Yandex in a category that international readers might recognise today as Big Tech scale.</p><p>At that time a small number of large technology companies were beginning to move beyond traditional Disaster-Recovery exercises and deliberately test their production systems by introducing real failures. Amazon had its GameDay programme, where engineers deliberately introduced failures into production to test the resilience of systems and teams. Google developed DiRT (Disaster Recovery Testing), using controlled production failures to uncover weaknesses before real incidents did. Netflix famously introduced Chaos Monkey in 2011, deliberately terminating production instances to test whether its services could survive failures. Netflix’s approach was influenced directly by the reliability practices its engineers had encountered at Amazon.</p><p>In other words, what we were doing at Yandex in 2007 was far from standard practice at the time.</p><p>A note on context:. It is a historical account, so the details described here may no longer reflect how Yandex operates today.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KYNkoOuDMZrxWcbgbecZfg.png" /></figure><h4><strong>Bi-weekly, Yandex started deliberately taking one of its data centres offline.</strong></h4><p>We called it a “drill” — a hands-on operational exercise designed to test whether our systems and teams could keep critical services running when something went seriously wrong.</p><p>In practice, we simulated the loss of an entire data centre: taking it offline and observing what happened to our services, infrastructure, data, and operations. The goal was to test how quickly the system could adapt, how effectively teams responded, and whether we could continue serving customers without a major disruption.</p><p>One important detail: we didn’t switch off the power. Instead, we simulated the disappearance of a data centre by disconnecting it from the network and disabling the virtual network interfaces on the perimeter equipment.</p><p>Physically powering down tens of thousands of servers would have created a completely different experiment and a lot of unnecessary risk. It would have required people on site to bring everything back up, some hardware might not have restarted correctly, and experience showed that after a complete power-down, up to 5% of disks could fail to be recognised by the operating system.</p><p>More importantly, network isolation gave us something essential: control. If something unexpected happened, we could reconnect the data centre quickly.</p><p>Why would a technology company deliberately create such a serious failure? Wasn’t that risky? Could it cause an outage? Wasn’t it essentially sabotage? I was asked these questions many times, both inside and outside the company.</p><p>The answer was simple: Yes, it was risky. And no, it wasn’t sabotage. It was reliability engineering: deliberately testing how systems and teams responded to failure so that, when a real incident happened, the business was prepared.</p><p>The purpose wasn’t just to test technology. It was also to test people, processes, and decision-making. A good disaster recovery drill should have answered questions such as:</p><ul><li>Roles &amp; responsibilities: Did everyone know exactly what they owned, or were people solving the same problem?</li><li>Runbooks &amp; DR plans: Were they accurate, current, and simple enough to follow under pressure?</li><li>Access &amp; permissions: Could engineers actually access the systems they needed in an emergency?</li><li>Escalation: Did alerts reach the right people automatically, or did someone have to figure out who to call?</li><li>Business continuity: Could the business keep operating while the incident was being resolved?</li></ul><p>At Yandex, we also looked at the technology itself:</p><ul><li>Traffic: Was traffic redirected correctly?</li><li>Dependencies: Could applications cope when critical dependencies disappeared?</li><li>Data: Did databases, replication, and failover behave as expected?</li><li>Observability: Could we see what was happening quickly enough to make the right decisions?</li><li>Automation: Could the system detect the failure, fail over, recover, and stabilise without human intervention?</li></ul><p>And perhaps the most important question: What happened to the dependencies we didn’t know we had?</p><p>Ultimately, the goal wasn’t to build a process that required a room full of engineers to keep the business alive. The goal was to build systems that failed safely and recovered automatically — so that when something broke, the response was smooth, predictable, and, ideally, boring.</p><p>Having a disaster recovery plan on paper was one thing. Proving that your technology, processes, and people actually worked under pressure was something else entirely.</p><p>The principle was simple: Don’t wait for a disaster to discover whether your systems can survive one.</p><h4><strong>The 2004 Outage</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dQm-rWpjx1puAw_wd05FQA.png" /></figure><p>To understand why we started doing this, we had to go back to November 12, 2004, when the power suddenly went out. The cause was a failure in the power supplier’s equipment. At the time, Yandex was growing rapidly. Our infrastructure, however, had an obvious weakness: too much of it depended on a single location.</p><p>By then, we already had two data centres. So surely we were redundant? Not quite. Our second data centre was up and running, but the network equipment connecting our infrastructure to the outside world was still concentrated in the first one. When that data centre lost power, the second site was still there, but our users couldn’t reach us.</p><p>The outage happened just five minutes before a major international search competition organised by Yandex. The competition brought together people competing to see how quickly they could find answers to tricky questions using search engines — a little like “Trivial Pursuit”, but with search skills instead of a board and dice.</p><p>We had organised the event, and Yandex Search was at the heart of the competition.</p><p>Then the service went down. Customers were disappointed. The event was disrupted. And for us, it was a very public reminder that reliability wasn’t just an engineering concern. It was a reputation problem.</p><p>Unfortunately, that wasn’t our last outage.</p><p>We soon discovered that reality was much more creative than any disaster-recovery plan. For example:</p><ul><li>Cottonwood fluff clogged air conditioners, causing them to heat rather than cool the data centre.</li><li>Data centres lost power for various reasons — including a building owner forgetting to pay the electricity bill.</li><li>Data centres flooded.</li><li>And, of course, there was the legendary “excavator operator” who somehow managed to dig exactly where our fibre-optic cable was running and cut the line.</li></ul><p>Yandex was providing much more than search. Businesses were using our services for corporate websites, email and other communication services, while consumers were increasingly using our marketplace and other online services.</p><p>That meant an outage didn’t affect only Yandex. It could affect other businesses that depended on us, their employees and customers, and familes trying to communicate with each other.</p><p>When our infrastructure failed, we weren’t just disrupting our own business. We could be disrupting the businesses, communications and everyday lives of people who depended on our services.</p><p>At scale, you eventually discover that someone, somewhere, will find a new and creative way to break your infrastructure. The lesson was becoming obvious: We couldn’t prevent every failure. We had to learn to operate through failure.</p><p><strong>This wasn’t just a technical challenge.</strong></p><p>When a major digital platform went down for several hours, the consequences extended far beyond the engineering team. For a company operating at Yandex’s scale, availability directly affected the business.</p><ul><li>Financial impact: When critical services were unavailable, customers couldn’t use the product, transactions and other revenue-generating activities could stop, advertising might not be delivered, and business partners could be affected. Even when the immediate revenue loss was relatively small, the operational cost of recovering from a major incident could be substantial.</li><li>Operational impact: Employees could lose access to internal systems. Dependent services could stop working. Data might be delayed or temporarily unavailable. Synchronisation processes could fall behind. Engineering teams were pulled away from planned work to deal with the incident, while customer support volumes increased.</li><li>Recovery itself carried risk: Bringing a large distributed system back online wasn’t simply a matter of switching it on. Systems had to return to a consistent state, dependencies had to reconnect, and data had to be reconciled.</li><li>And then there was something much harder to measure: trust. Customers didn’t usually care why a data centre had failed. They cared that the service they relied on wasn’t available.</li></ul><p>For a public company, the stakes could be even higher. A serious outage wasn’t just an engineering incident. It could become a business-continuity, governance and investor-confidence issue. Management would have to answer questions from customers, partners, employees, regulators and investors:</p><ul><li>How dependent was the business on the availability of its technology?</li><li>What was the financial impact of a prolonged outage?</li><li>How quickly could critical services recover?</li><li>How much data could be lost?</li><li>What controls were in place to prevent the same incident from happening again?</li><li>And, perhaps most importantly, how confident were we that our resilience actually worked?</li></ul><p>This changed the conversation. Reliability could no longer be treated as an engineering team’s internal concern or simply as an infrastructure cost. It became part of protecting the value of the business.</p><p>The infrastructure needed enough capacity, redundancy and fault tolerance to absorb the loss of a major component without taking the entire service down.</p><p>In 2004, achieving that required changing almost everything. We had to rethink our network architecture, infrastructure redundancy, application design, databases, monitoring, deployment processes and, ultimately, the way engineers thought about failure.</p><p>The objective was to make sure that when something inevitably broke, the failure stopped at the boundary of the component that failed rather than propagating across the entire platform.</p><p>That became one of the fundamental principles behind the next several years of Yandex infrastructure development: Protect the business from the failure of the technology it depends on.</p><h4><strong>Turning Reliability into a Company-Wide Programme</strong></h4><p>After the November 2004 outage, we launched a company-wide reliability programme. This wasn’t a project owned by the infrastructure team alone. Many engineering teams were involved because the problem crossed almost every layer of the technology stack. We turned it into a structured programme with:</p><ul><li>clear dependencies between teams;</li><li>shared objectives;</li><li>quarterly deliverables;</li><li>defined ownership; and</li><li>a roadmap for tackling the biggest reliability risks first.</li></ul><p>The idea was simple: we couldn’t fix everything at once. We broke the problem down into manageable pieces and worked through it systematically: one dependency, one service, one failure mode at a time.</p><p>A lot of problems were visible without any sophisticated analysis. We could see obvious single points of failure that had to go. The first step was to remove the most obvious ones.</p><h4><strong>Step One: Fix the Infrastructure</strong></h4><p>Our first data centre was equipped with a diesel generator — a primary emergency backup power source designed to keep critical infrastructure running when the external power supply failed.</p><p>The second data centre was given an independent connection to the external power supply, rather than relying entirely on infrastructure in the first data centre.</p><p>Eventually, every Yandex data centre was equipped with backup generators and multiple options for power supply. And they saved us more than once.</p><p>But power was only the first layer of the problem. A resilient data centre needed redundancy across multiple dimensions: power, network connectivity, compute, storage, applications, data, and the operational processes around them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*acS2j2Pz-fV6ztQI8GoEiA.png" /></figure><h4><strong>Building a Network That Could Survive Losing a Data Center</strong></h4><p>A resilient network should have worked on a simple principle: If one data centre or network path went down, traffic should automatically reroute through an available alternative.</p><p>But redundancy wasn’t just about having two cables. The physical paths mattered too. If two fibre-optic cables left a data centre through the same trench, they weren’t really redundant. One construction crew, roadworks project, or one particularly unfortunate excavator could cut both at the same time.</p><p>So we designed the backbone connecting our data centres with no single points of failure. That meant ensuring that network links were not only logically independent, but also physically diverse. Where possible, fibre routes needed to follow different physical paths so that a single incident couldn’t take both connections down.</p><p>Our first redundant network topology was a ring. At the time, the network connected three of our data centres, together with two traffic exchange points connected to MSK-IX, at IKI and M9. The architecture then evolved into a double ring, providing additional resilience and alternative routes between sites.</p><p>Eventually, the Moscow-region data centres were essentially connected using a full-mesh topology, giving each site multiple independent paths to the others.</p><p>The underlying principle remained the same throughout: One broken cable shouldn’t make the service unavailable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o5mmMYkBXX6CaPKxB8Ozmw.png" /></figure><h4><strong>ReArchitecture Components</strong></h4><p>A huge amount of the work moved up the stack: from physical infrastructure and networking into the components themselves. The objective wasn’t to make every component redundant. It was to make sure that the failure of one component didn’t become a business outage.</p><p>Back then, we were solving the same fundamental problems we still solve today:</p><ul><li>How did we remove single points of failure?</li><li>How did we design components to tolerate failure?</li><li>How did we distribute and replicate the state?</li><li>How did we fail over?</li><li>And, most importantly, how did we keep the critical parts of the business running when something inevitably broke?</li></ul><p>Component redundancy was one of the basic principles of high availability. Instead of relying on a single server or component instance, we ran multiple instances so that if one failed, another could continue serving users. There were several common models:</p><ul><li>Active-active: multiple instances handled traffic simultaneously. A load balancer distributed requests between them and redirected traffic when one became unhealthy.</li><li>Active-passive: a secondary instance was kept ready to take over if the primary failed. Data was synchronised, and a failover mechanism promoted the standby when required.</li><li>N+1: we had enough capacity to handle the required workload, plus at least one additional independent component that could take over if one failed.</li></ul><p>But simply having duplicate servers wasn’t enough. We modified applications to store user data on multiple servers. If one server became unavailable, the application had to decide whether to:</p><ul><li>postpone the operation and retry later;</li><li>continue using another available server;</li><li>synchronise the data when the failed server returned; or</li><li>gracefully degrade the functionality.</li></ul><p>We also modified our load-balancing infrastructure, including the IPVS kernel module, so that traffic could be redirected when individual servers or parts of the infrastructure became unavailable. This required reliable health checks. A load balancer could only redirect traffic if it knew that a server was unhealthy. Monitoring and automated health checks therefore became an essential part of the architecture.</p><p>Data replication meant keeping copies of important data on multiple servers and, where necessary, in different data centres. Depending on the system, replication could be synchronous or asynchronous, with different trade-offs between consistency, performance and recovery. This was where what we now describe using the CAP theorem became relevant. In a distributed system, when a network partition occurred, we couldn’t simultaneously guarantee both strong consistency and availability while also tolerating the partition. We had to make trade-offs based on what mattered most for a particular service.</p><p>For us, that meant designing different failure strategies.</p><ul><li><strong>Option A:</strong> temporarily switch the service to read-only mode, allowing customers to continue accessing existing data while writes were paused.</li><li><strong>Option B:</strong> quickly promote another server in another data centre to become the new primary and resume normal operation.</li></ul><p>These weren’t simply database configuration choices. They were system-design decisions with direct business consequences. The questions were:</p><ul><li>Did we temporarily sacrifice the ability to write in order to protect data consistency?</li><li>Or did we prioritise availability and fail over to another database?</li></ul><p>Different services had different requirements, so there was no single answer for the entire platform.</p><p><strong>Making the Trade-offs Explicit</strong></p><p>This was where two other concepts became important: RTO and RPO.</p><ul><li>RTO — Recovery Time Objective: how quickly did the service need to recover?</li><li>RPO — Recovery Point Objective: how much data could the business afford to lose?</li></ul><p>For a critical service, we might have wanted an RTO close to zero, with essentially no noticeable downtime, and an RPO close to zero, meaning little or no data loss.</p><p>But getting close to zero on both metrics was expensive and technically difficult. Not every service needed it. A critical customer-facing transaction might have justified significant investment in redundancy and automated failover. A non-critical feature might not have.</p><p>We duplicated components where duplication made sense. But redundancy had a cost, so we also had to make deliberate trade-offs.</p><p>If a non-critical feature couldn’t survive a data-centre failure economically, we designed for graceful degradation sacrificing less important functionality while keeping the core product available.</p><p>There were dozens, probably hundreds, of similar decisions across the platform. And every component ultimately had to answer the same question: What happened when the thing I depended on disappeared?</p><p>High availability wasn’t about making everything infinitely redundant. It was about making the right things resilient enough. The goal was to prevent one failure from becoming a business outage.</p><p>By the autumn of 2007, we had spent almost three years redesigning our infrastructure and applications.</p><h4><strong>“First Launch”</strong></h4><p>On October 25, 2007, we ran Yandex’s first data-centre drill.</p><p>We deliberately disconnected one of our data centres and operated without it for approximately 40 minutes. It actually felt a lot like mission control during a spaceship launch.</p><p>Dashboards were open everywhere. Engineers watched traffic graphs, service health, infrastructure metrics, logs, alerts and automated recovery processes. Different teams monitored different parts of the system, trying to understand what was happening in real time.</p><p>Then the data centre disappeared. These were no longer theoretical system-design questions. We were watching a live production environment respond to a deliberately created failure.</p><p>The first drill wasn’t about proving that we had built a perfect system. It was about finding out where we were wrong. We found unexpected failure modes. We discovered gaps in monitoring. We fixed bugs, created follow-up tasks and improved the architecture. And then we did it again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3L3GUsHnI16KNQzM9KJ6mA.png" /></figure><h4><strong>The Best Drill Is a Boring Drill</strong></h4><p>Once the first drill had proved the concept, it became a regular part of engineering life at Yandex.</p><p>We normally ran it bi-weekly, in the evening — a practical compromise: there was enough traffic to exercise the systems properly, but less risk than during peak hours. The timing and duration could vary, and sometimes a drill was combined with planned data-centre or network maintenance. Every drill was planned in advance. Engineering teams knew which data centre would be disconnected, when it would happen, how long it was expected to last, which services might degrade and what required special attention.</p><p>Then came hour X. The data centre disappeared from the network. And, once again, it looked a little like mission control: engineers watching dashboards, traffic graphs, logs, alerts and recovery processes in real time.</p><p>But the drill didn’t end when the data centre came back.</p><h4><strong>Every drill needed a post-mortem.</strong></h4><p>If a service behaved differently from what we expected, the team investigated.</p><p>Perhaps there was an undocumented dependency. Perhaps monitoring hadn’t detected the failure. Perhaps traffic hadn’t been distributed correctly. Perhaps a database had failed over incorrectly.</p><p>Whatever we found became a task. Then we fixed it.</p><p>And the next time we ran the drill, we checked whether the fix actually worked. Over time, fewer and fewer unexpected problems appeared. Eventually, we could disconnect some of our largest data centres without generating a single bug ticket.</p><h4><strong>Why Keep Doing It?</strong></h4><p>Because the system never stopped changing. Every day, code changed, services evolved, traffic patterns shifted, databases grew, infrastructure moved, new dependencies appeared, old data centres disappeared and new ones were built.</p><p>At Yandex, we were making approximately 1,000 code changes every day. A system that had worked perfectly six months earlier could easily have contained a new single point of failure.</p><p>Redundancy wasn’t a permanent property. It decayed as systems evolved. That’s why we kept asking the same question as the platform changed: If this data centre disappeared today, would we still be able to serve our customers?</p><p>And then we had the courage to find out.</p><h4><strong>The Key Outcome</strong></h4><p>Eventually Yandex.ru had become something of an unofficial Internet health check. A number of IT companies had incorporated checks of Yandex.ru availability into their own monitoring systems: if Yandex.ru was reachable, it was often a useful indication that their Internet connectivity was working.</p><p>One night, I received a call from the monitoring team. They had escalated an issue: one of our data centres was down.</p><p>My first question was: “What are we seeing in the monitoring system?”</p><p>Then I asked a few more questions.</p><ul><li>Availability? Green.</li><li>Service quality? Green.</li><li>Customer impact? None.</li></ul><p>I told the team: “Keep calm. There’s no problem. It’s boring.”</p><p>And that was exactly the outcome we had been working towards for years. A data centre was down. But the business was still running.</p><p>Customers didn’t notice. Traffic had been rerouted. Services continued operating. Monitoring confirmed that the critical systems were healthy. That was the real measure of reliability. Not that infrastructure never failed. It was that failure had become boring. And that was exactly what success looked like.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8a69c053e9d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From idea to 1,000 users in 30 days. Solo.]]></title>
            <link>https://medium.com/@tatiana.e30/from-idea-to-1-000-users-in-30-days-solo-2c58a675e1a9?source=rss-21140c3e1917------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c58a675e1a9</guid>
            <category><![CDATA[product-development]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[ai-software-engineering]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Tatiana Bakharevskaya]]></dc:creator>
            <pubDate>Wed, 02 Sep 2026 15:40:33 GMT</pubDate>
            <atom:updated>2026-09-02T15:40:33.461Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Why</strong><a href="https://www.free-from.cc/"><strong> Free From</strong></a></p><p>Food has always been personal to me: family recipes, cooking for people I love, and the rituals around sharing a meal. But when food restrictions enter the picture, every meal can become a research project. My husband is lactose intolerant, and I also went through a period of avoiding lactose and gluten. I know the label-checking, uncertainty and the frustration of not being able to find food that’s both suitable and enjoyable.</p><p>And it’s a bigger problem than just my own kitchen: around 2.4 million adults in the UK have a clinically confirmed food allergy, with many more experiencing adverse reactions to food without a formal diagnosis.</p><p>That’s why I built <a href="https://www.free-from.cc/">Free From</a>: to help people enjoy British classics, Eastern European comfort food and family recipes without the constant guesswork.</p><p>My initial idea felt almost too obvious for the AI era: Let AI generate the recipes. Let AI identify the allergens. Let AI personalise everything.</p><p>What could possibly go wrong?</p><p><strong>The AI experiment failed first</strong></p><p>My original architecture let AI generate recipes and make the allergen decisions. It didn’t take long to find hallucinated ingredients, missed allergens and incorrect classifications — sometimes in recipes that looked perfectly plausible.</p><p>I could have kept tuning prompts, or I could rethink the architecture. I chose the latter: AI can create the experience. AI cannot make the safety decision<strong>. </strong>AI helps with recipes, personalisation, search and meal planning. But the safety layer is deterministic: manually reviewed recipes, structured allergen data and database-level filtering across <a href="https://www.allergyuk.org/about-allergy/types-of-allergies/food-allergy/top-14/">14 UK/EU allergens</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nAhBZd7imAlFswOx9VSNaA.png" /></figure><ul><li>The key question wasn’t “Which AI model should I use?”</li><li>It was “Where should AI be allowed to make decisions at all?”</li></ul><p>I think that question will matter even more as AI moves from generating content to driving decisions.</p><p><strong>From MVP to production</strong></p><p>The first version of <a href="https://www.free-from.cc/">Free From</a> was deliberately tiny: recipe browsing, allergen filtering, search. Then it started to grow: user accounts, favourites, meal planning, nutrition targets, shopping lists, leftover tracking, onboarding, pantry tracking, Google sign-in.</p><p>Every new feature had to fit underneath the same safety model, and that constraint turned out to be useful.</p><p>It forced me to separate product velocity from risk velocity. Just because AI made a feature easy to add didn’t mean I should add it. Just because something could be automated didn’t mean it should be.</p><p><strong>What does one person actually need to build a product now?</strong></p><p>I’ve spent most of my career leading large engineering teams, with real budgets and headcount. This time: one person, one product, a tiny budget, and AI as an engineering multiplier.</p><p>I already knew AI could generate code. The bigger revelation was how much the engineer’s role changes when implementation becomes cheap.</p><p>The valuable questions move upstream: What should we build? What could go wrong? Where should AI stop? What needs human judgement? And what shouldn’t we build at all?</p><p>If AI can handle more implementation, engineers can spend more time on architecture, validation and business decisions. If AI can modify production systems, governance becomes more important. And if software becomes cheaper to create, deciding what deserves to exist becomes more valuable.</p><p>I deliberately resisted building anything complicated. After years of managing infrastructure and technology costs, Free From reinforced a principle I already believed: Architecture should reflect the business requirements, not the engineer’s ego.</p><p><strong>The real AI bottleneck wasn’t code. It was context.</strong></p><p>My CLAUDE.md eventually grew to around 1,400 lines. I thought more context would make AI better. Instead, I was drowning it in noise. I cut the core instructions to roughly 75 lines, about a 95% reduction and moved the rest into smaller, focused documents.</p><p>The lesson was simple: More context doesn’t necessarily make AI better. Better-structured context does.</p><p><strong>AI became my engineering multiplier</strong></p><p>I used different AI models/tools for different jobs: Claude Haiku for development, infrastructure and debugging; GPT-5.5 for recipes, images and design; Codex for test coverage.</p><p>The models changed, but one rule didn’t: AI-generated code gets treated like code written by another engineer: reviewed, tested, challenged and understood. AI didn’t eliminate engineering judgement. It dramatically shortened the feedback loop:</p><p>describe → generate → inspect → test → challenge → iterate.</p><p>The result wasn’t less engineering. It was faster engineering.</p><p><strong>The Friday evening launch</strong></p><p>Naturally, I decided to build the production foundation on a Friday evening despite spending most of my career telling teams never to do Friday releases. 😄 Within a few hours, I had a working production setup. The initial infrastructure bootstrap took around 20 minutes:</p><ul><li>Hetzner VPS + Ubuntu</li><li>k3s</li><li>ArgoCD + GitOps</li><li>Traefik + Let’s Encrypt</li><li>GitHub Actions + GHCR</li><li>Prometheus + Grafana</li><li>Kubernetes namespaces + NetworkPolicies</li></ul><p>Today, the platform runs on one Hetzner node:</p><p><strong>GitHub Actions → GHCR → ArgoCD → k3s</strong></p><p>Push to main, wait a few minutes, and the code is live. A typical cached build takes under three minutes.</p><p>The application has three Flask services:</p><ul><li><strong>Recipe app: </strong>frontend + API, PostgreSQL</li><li><strong>Auth service: </strong>registration, sessions, Google OAuth, password recovery</li><li><strong>Meal planner: </strong>weekly planning and nutrition targets</li></ul><p>Each service has its own container and Kubernetes deployment, communicating through in-cluster DNS, never localhost. CI runs formatting, linting, security scanning and real database-backed tests before anything is deployed.</p><p>The node is already around 75% CPU and 80% memory, and observability running on the same node isn’t ideal. But that’s fine, I know where the risks are and when the architecture needs to change.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*75i1I4SqQLDbUu_4xoUkzg.png" /></figure><p>It’s deliberately boring infrastructure: one node, simple storage, automated backups and clear trade-offs. Enough infrastructure to run a real product</p><p><strong>I broke production</strong></p><p>No honest version of this story skips this part. My first significant production incident caused around two hours of downtime. The bigger lesson was organisational: AI can help fix incidents, but it doesn’t remove the need to manage them. Three patterns kept appearing:</p><ul><li>Local assumptions break in production.</li><li>Silent failures are the worst.</li><li>AI doesn’t prevent incidents.</li></ul><p>AI helped me investigate logs, trace root causes, generate fixes and strengthen tests much faster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KeKG6yHmTFoz9-pe4M-4FQ.png" /></figure><p>I also introduced an AI-assisted incident management process: restore first, identify the root cause, build short- and long-term prevention plans, then turn those learnings into tests, monitoring and guardrails.</p><p>AI helped with the investigation and implementation. I remained accountable for the engineering decision.</p><p>As AI becomes more autonomous, human accountability becomes more important, not less.</p><h3>Summary</h3><p>I want AI to generate, explore, prototype, code, test, debug, analyse, create, challenge and automate. But I don’t want it making safety-critical decisions, changing critical business rules or taking irreversible actions without strong controls and human accountability.</p><p>The biggest lesson? When software becomes dramatically cheaper and faster to build, engineering judgement becomes more valuable not less.</p><p>The hard part isn’t necessarily building the thing anymore. It’s knowing what to build, what not to build, what to automate and what never to delegate.</p><p>And the experiment worked: I compressed idea-to-production from a team-sized effort into a solo operation, reaching ~1,000 users at roughly £30/month of OPEX.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c58a675e1a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>