<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Blog · Gilaburu</title>
    <link>https://gilaburu.co/blog/</link>
    <atom:link href="https://gilaburu.co/blog/rss.xml" rel="self" type="application/rss+xml" />
    <description>Notes from Gilaburu on applied AI, software architecture, Kubernetes and the products we build in Estonia.</description>
    <language>en</language>
    <lastBuildDate>Wed, 04 Nov 2026 09:00:00 GMT</lastBuildDate>
    <item>
      <title>AI, ML, DL &amp; Reinforcement Learning: A map</title>
      <link>https://gilaburu.co/blog/ai-machine-learning-deep-learning-reinforcement-learning/</link>
      <guid isPermaLink="true">https://gilaburu.co/blog/ai-machine-learning-deep-learning-reinforcement-learning/</guid>
      <pubDate>Wed, 04 Nov 2026 09:00:00 GMT</pubDate>
      <dc:creator>Gilaburu</dc:creator>
      <category>ai</category>
      <category>machine-learning</category>
      <category>deep-learning</category>
      <category>reinforcement-learning</category>
      <category>foundations</category>
      <description>The four terms are not synonyms. A plain guide to how they fit inside each other, how machines learn, and where language models sit.</description>
      <content:encoded><![CDATA[<p>&quot;AI&quot;, &quot;machine learning&quot;, &quot;deep learning&quot; and &quot;reinforcement learning&quot; are often used as if they meant the same thing. They do not. They describe fields that sit inside each other, plus one way of learning that cuts across them. Once you see the map, most product claims and research headlines become much easier to read.</p>
<p>This is the first post in our <strong>Foundations</strong> series, where we explain the ideas behind the work we do, in our own words, with links to the sources we learned from.</p>
<h2 id="the-short-version"><a href="#the-short-version">The short version</a></h2>
<p><img src="https://gilaburu.co/blog/images/ai-map.png" alt="Nested map: artificial intelligence contains machine learning, which contains deep learning, which contains generative models such as large language models." width="2400" height="1360" loading="lazy" decoding="async"></p>
<ul>
<li><strong>Artificial intelligence</strong> is the goal: software that does things we would call intelligent if a person did them, such as planning, understanding language or recognising objects.</li>
<li><strong>Machine learning</strong> is one way to reach that goal: instead of writing the rules by hand, we let the program learn them from data.</li>
<li><strong>Deep learning</strong> is one family of machine learning methods: it uses neural networks with many layers, which learn their own features from raw input.</li>
<li><strong>Generative AI</strong> and <strong>large language models</strong> are a recent branch of deep learning: models trained to produce new text, images or code.</li>
</ul>
<p>Reinforcement learning does not fit neatly into one ring. It is a <em>way of learning</em> (from trial, error and reward), and it can be used with or without deep neural networks. We come back to it below.</p>
<h2 id="artificial-intelligence-the-goal-not-the-method"><a href="#artificial-intelligence-the-goal-not-the-method">Artificial intelligence: the goal, not the method</a></h2>
<p>The term was coined for the 1956 Dartmouth workshop, and for decades most AI was <strong>symbolic</strong>: experts wrote rules (&quot;if the patient has a fever and a rash, consider measles&quot;) and the program reasoned over them. Chess engines, route planners and the expert systems of the 1980s all worked this way.</p>
<p>Rule-based systems are still everywhere, and they are still AI. Their weakness is that someone has to write and maintain every rule, and many tasks resist being written down. Nobody can list the rules for recognising a cat in a photo.</p>
<h2 id="machine-learning-learning-the-rules-from-examples"><a href="#machine-learning-learning-the-rules-from-examples">Machine learning: learning the rules from examples</a></h2>
<p>Arthur Samuel, who built a self-improving checkers program at IBM in the 1950s, is usually credited with describing machine learning as giving computers the ability to learn without being explicitly programmed. Instead of rules, we give the program <strong>examples</strong> and a way to measure how wrong it is. Training is the process of adjusting the model&#39;s internal numbers (its <strong>parameters</strong>) until that error is small on the examples, and, more importantly, on new data it has never seen.</p>
<p>That last part is the whole game. A model that memorises its training data but fails on fresh data is <strong>overfitting</strong>. This is why every serious project keeps a held-out test set, and why <a href="https://developers.google.com/machine-learning/crash-course" target="_blank" rel="noopener noreferrer">Google&#39;s Machine Learning Crash Course</a> spends so much time on splitting data and on generalisation before it touches fancy models.</p>
<p>Machine learning problems are usually grouped by the kind of feedback the model gets:</p>
<p><img src="https://gilaburu.co/blog/images/learning-paradigms.png" alt="Three ways to learn. Supervised learning maps labelled inputs to answers. Unsupervised learning finds structure in unlabelled data. Reinforcement learning learns actions from rewards." width="2400" height="1140" loading="lazy" decoding="async"></p>
<ul>
<li><strong>Supervised learning.</strong> Every example comes with the right answer (a label). Spam or not spam, the price a house sold for, the word that was spoken. The model learns to map inputs to labels. Most production ML today is supervised.</li>
<li><strong>Unsupervised learning.</strong> There are no labels. The model looks for structure on its own: groups of similar customers, unusual transactions, a compact representation of the data.</li>
<li><strong>Self-supervised learning</strong> is a clever middle ground that powers modern language models: the labels come from the data itself. Hide the next word of a sentence and ask the model to guess it, and you have billions of free training examples.</li>
<li><strong>Reinforcement learning.</strong> There is no answer key at all, only a score that arrives after the model acts. More on this below.</li>
</ul>
<p>We look at each of these in depth, with tasks such as classification, regression, clustering and anomaly detection, in <a href="https://gilaburu.co/blog/how-machines-learn-classification-clustering-and-beyond/">How machines learn: classification, clustering and beyond</a>.</p>
<p>Classic machine learning (decision trees, gradient boosting, linear models) is still the best tool for many business problems with tables of data. It is fast, cheap and easy to explain. Deep learning is not always the answer.</p>
<h2 id="deep-learning-letting-the-model-find-the-features"><a href="#deep-learning-letting-the-model-find-the-features">Deep learning: letting the model find the features</a></h2>
<p>In classic ML, people spend a lot of effort on <strong>feature engineering</strong>: deciding which measurements to feed the model. Deep learning removes much of that work. A <strong>neural network</strong> is a stack of simple layers, each one transforming its input a little. Early layers in an image model learn edges, later ones learn textures and shapes, the last ones learn objects. Nobody tells the network what an edge is.</p>
<p>The idea is old, but it only took off around 2012, when three things came together: large labelled datasets, GPUs fast enough to train big networks, and better training techniques. LeCun, Bengio and Hinton&#39;s review article <a href="https://www.nature.com/articles/nature14539" target="_blank" rel="noopener noreferrer">Deep learning</a> in <em>Nature</em> (2015) is still one of the clearest summaries of why depth helps. IBM&#39;s explainer <a href="https://www.ibm.com/think/topics/ai-vs-machine-learning-vs-deep-learning-vs-neural-networks" target="_blank" rel="noopener noreferrer">AI vs. machine learning vs. deep learning vs. neural networks</a> is a good, short companion to this section.</p>
<p>Deep learning made a series of problems suddenly practical: speech recognition, machine translation, medical imaging, and later image and text generation.</p>
<h3 id="where-large-language-models-fit"><a href="#where-large-language-models-fit">Where large language models fit</a></h3>
<p>In 2017, researchers at Google introduced the <strong>Transformer</strong> in <a href="https://arxiv.org/abs/1706.03762" target="_blank" rel="noopener noreferrer">Attention Is All You Need</a>. Its key idea, <em>attention</em>, lets every word in a sequence look at every other word when building its meaning, and it trains very efficiently on modern hardware.</p>
<p>Large language models are Transformers trained with self-supervision on huge amounts of text, by repeatedly predicting the next token. Scale that up far enough and the models pick up grammar, facts, style and a surprising amount of reasoning. So an LLM is deep learning, which is machine learning, which is AI. All four labels are correct; they just differ in how specific they are.</p>
<h2 id="reinforcement-learning-learning-by-doing"><a href="#reinforcement-learning-learning-by-doing">Reinforcement learning: learning by doing</a></h2>
<p>Reinforcement learning (RL) is the odd one out, because it is defined by its <em>feedback loop</em>, not by its model. An <strong>agent</strong> observes the <strong>state</strong> of an <strong>environment</strong>, takes an <strong>action</strong>, and receives a <strong>reward</strong> and a new state. Its job is to learn a <strong>policy</strong>, a way of choosing actions, that collects as much reward as possible over time.</p>
<p><img src="https://gilaburu.co/blog/images/rl-loop.png" alt="The reinforcement learning loop: the agent sends an action to the environment, and the environment returns a new state and a reward." width="2400" height="1160" loading="lazy" decoding="async"></p>
<p>Two things make RL hard and interesting:</p>
<ol>
<li><strong>Delayed reward.</strong> A move in chess may only pay off twenty moves later. The agent has to work out which of its earlier actions deserve the credit.</li>
<li><strong>Exploration versus exploitation.</strong> Should the agent repeat what has worked so far, or try something new that might be better? Too little exploration and it gets stuck; too much and it never cashes in.</li>
</ol>
<p>Richard Sutton and Andrew Barto&#39;s textbook <a href="http://incompleteideas.net/book/the-book-2nd.html" target="_blank" rel="noopener noreferrer">Reinforcement Learning: An Introduction</a> is the standard reference, and the authors make it freely available online. Its first chapter is very readable even without the maths.</p>
<p>When RL is combined with deep neural networks we call it <strong>deep reinforcement learning</strong>. That is how DeepMind&#39;s <a href="https://deepmind.google/research/breakthroughs/alphago/" target="_blank" rel="noopener noreferrer">AlphaGo</a> learned to beat the world&#39;s best Go players in 2016. RL also matters for language models: after pre-training, models are often tuned with <strong>reinforcement learning from human feedback (RLHF)</strong>, where people rank the model&#39;s answers and those rankings become the reward. OpenAI&#39;s <a href="https://arxiv.org/abs/2203.02155" target="_blank" rel="noopener noreferrer">InstructGPT paper</a> describes the method in detail.</p>
<h2 id="why-the-distinction-matters-in-practice"><a href="#why-the-distinction-matters-in-practice">Why the distinction matters in practice</a></h2>
<p>When someone tells you a product &quot;uses AI&quot;, the map gives you better questions to ask:</p>
<ul>
<li><strong>Is it learned or hand-written?</strong> Rules are predictable and easy to audit. Learned models adapt, but need data, testing and monitoring.</li>
<li><strong>What data was it trained on, and how is it evaluated?</strong> A model is only as good as its examples and its test set.</li>
<li><strong>Does it need deep learning?</strong> For many structured-data problems, a well-tuned classic model is cheaper, faster and good enough.</li>
<li><strong>Where does the feedback come from?</strong> If the system learns from rewards, what exactly is it rewarded for? A badly chosen reward is one of the most common ways RL systems go wrong.</li>
</ul>
<p>At Gilaburu we build AI into everyday products, and these questions shape almost every design decision we make. In the next posts of this series we will go one level deeper: how a neural network actually learns, what a Transformer does with your prompt, and how RL is used to make models more helpful.</p>
<h2 id="sources-and-further-reading"><a href="#sources-and-further-reading">Sources and further reading</a></h2>
<ul>
<li>Google, <a href="https://developers.google.com/machine-learning/crash-course" target="_blank" rel="noopener noreferrer">Machine Learning Crash Course</a></li>
<li>IBM, <a href="https://www.ibm.com/think/topics/ai-vs-machine-learning-vs-deep-learning-vs-neural-networks" target="_blank" rel="noopener noreferrer">AI vs. machine learning vs. deep learning vs. neural networks</a></li>
<li>Y. LeCun, Y. Bengio, G. Hinton, <a href="https://www.nature.com/articles/nature14539" target="_blank" rel="noopener noreferrer">Deep learning</a>, <em>Nature</em> 521 (2015)</li>
<li>A. Vaswani et al., <a href="https://arxiv.org/abs/1706.03762" target="_blank" rel="noopener noreferrer">Attention Is All You Need</a> (2017)</li>
<li>R. Sutton, A. Barto, <a href="http://incompleteideas.net/book/the-book-2nd.html" target="_blank" rel="noopener noreferrer">Reinforcement Learning: An Introduction</a>, 2nd edition (2018)</li>
<li>L. Ouyang et al., <a href="https://arxiv.org/abs/2203.02155" target="_blank" rel="noopener noreferrer">Training language models to follow instructions with human feedback</a> (2022)</li>
<li>Google DeepMind, <a href="https://deepmind.google/research/breakthroughs/alphago/" target="_blank" rel="noopener noreferrer">AlphaGo</a></li>
</ul>
]]></content:encoded>
    </item>
    <item>
      <title>How Kubernetes works: Desired state and reconciliation</title>
      <link>https://gilaburu.co/blog/kubernetes-desired-state-and-reconciliation/</link>
      <guid isPermaLink="true">https://gilaburu.co/blog/kubernetes-desired-state-and-reconciliation/</guid>
      <pubDate>Wed, 04 Nov 2026 09:00:00 GMT</pubDate>
      <dc:creator>Gilaburu</dc:creator>
      <category>kubernetes</category>
      <category>devops</category>
      <category>platform-engineering</category>
      <category>foundations</category>
      <description>Kubernetes is not a script runner. It is a set of control loops that compare what you asked for with what is running, and fix the gap.</description>
      <content:encoded><![CDATA[<p>Most people meet Kubernetes through YAML and <code>kubectl apply</code>, and it can feel like a very verbose way to start containers. The real idea is simpler and more powerful than that: <strong>you describe the state you want, and the system works continuously to make reality match it.</strong> Everything else in Kubernetes follows from that one design choice.</p>
<p>This post is part of our <strong>Foundations</strong> series. It is the mental model we wish we had when we started, and the one behind <a href="https://gilaburu.co/kelp/">Kelp</a>, our CLI for working across many namespaces.</p>
<h2 id="imperative-versus-declarative"><a href="#imperative-versus-declarative">Imperative versus declarative</a></h2>
<p>There are two ways to run software on a fleet of machines.</p>
<p><strong>Imperative:</strong> you give orders. &quot;Start three copies of the web server on these hosts. If one dies, start another.&quot; A script or a person carries out each step, and if something fails halfway, someone has to notice and clean up.</p>
<p><strong>Declarative:</strong> you describe the result. &quot;There should always be three copies of the web server running, version 1.4.&quot; You do not say how to get there or what to do when a machine dies. The system figures that out, and keeps figuring it out forever.</p>
<p>Kubernetes is declarative. Here is what that looks like:</p>
<pre tabindex="0"><code class="language-yaml">apiVersion: apps/v1
kind: Deployment
metadata:
  name: web
spec:
  replicas: 3            # desired state: three copies
  selector:
    matchLabels: { app: web }
  template:
    metadata:
      labels: { app: web }
    spec:
      containers:
        - name: web
          image: ghcr.io/example/web:1.4
</code></pre>
<p>When you apply this file, nothing &quot;runs&quot; it from top to bottom. It is stored as a record of intent. Then a set of independent processes notice the new record and start moving the cluster towards it.</p>
<h2 id="the-pieces-of-a-cluster"><a href="#the-pieces-of-a-cluster">The pieces of a cluster</a></h2>
<p><img src="https://gilaburu.co/blog/images/kubernetes-architecture.png" alt="Kubernetes architecture. The control plane holds the API server, etcd, the scheduler and the controller manager. Each worker node runs a kubelet, a container runtime and kube-proxy, and hosts pods. Everything talks through the API server." width="2400" height="1440" loading="lazy" decoding="async"></p>
<p>A cluster has two halves. The official <a href="https://kubernetes.io/docs/concepts/overview/components/" target="_blank" rel="noopener noreferrer">Kubernetes components overview</a> describes each one in detail; here is the short tour.</p>
<p><strong>The control plane</strong> is the brain:</p>
<ul>
<li><strong>API server</strong> (<code>kube-apiserver</code>). The front door. Every read and write, from <code>kubectl</code>, from your CI pipeline and from Kubernetes&#39; own components, goes through it. It validates requests and stores them.</li>
<li><strong>etcd.</strong> A consistent, distributed key-value store. It holds the whole state of the cluster: every Deployment, Pod, Service and Secret. If etcd is healthy and backed up, the cluster can be rebuilt.</li>
<li><strong>Scheduler</strong> (<code>kube-scheduler</code>). Watches for Pods that have no node yet, and picks the best node for each one based on resources, affinity rules and constraints.</li>
<li><strong>Controller manager</strong> (<code>kube-controller-manager</code>). Runs dozens of built-in controllers, each responsible for one kind of object. More on these in a moment.</li>
</ul>
<p><strong>Worker nodes</strong> are the muscle:</p>
<ul>
<li><strong>kubelet.</strong> An agent on every node. It asks the API server &quot;which Pods should be on me?&quot;, starts them through the container runtime, and reports back how they are doing.</li>
<li><strong>Container runtime.</strong> The software that actually runs containers, such as containerd or CRI-O.</li>
<li><strong>kube-proxy.</strong> Programs the node&#39;s networking so that a Service&#39;s stable address reaches the right Pods.</li>
</ul>
<p>Notice what is missing: no component tells another component what to do. They do not call each other directly. They all read and write shared state through the API server, and each one reacts to what it sees.</p>
<h2 id="the-reconciliation-loop"><a href="#the-reconciliation-loop">The reconciliation loop</a></h2>
<p>The core pattern is the <strong>controller</strong>. The <a href="https://kubernetes.io/docs/concepts/architecture/controller/" target="_blank" rel="noopener noreferrer">Kubernetes documentation</a> compares it to a thermostat: you set the temperature you want (desired state), the thermostat measures the room (actual state), and it switches the heating on or off to close the gap. It never &quot;finishes&quot;. It just keeps checking.</p>
<p><img src="https://gilaburu.co/blog/images/reconciliation-loop.png" alt="The reconciliation loop: observe the actual state, compare it with the desired state, act to reduce the difference, then observe again." width="2400" height="1280" loading="lazy" decoding="async"></p>
<p>Every controller runs the same loop:</p>
<ol>
<li><strong>Observe.</strong> Watch the API server for changes to the objects it owns.</li>
<li><strong>Diff.</strong> Compare the desired state (the object&#39;s <code>spec</code>) with the actual state (its <code>status</code>, and the world).</li>
<li><strong>Act.</strong> Make one change that moves reality closer to the spec: create a Pod, delete a Pod, update a record.</li>
<li><strong>Repeat.</strong> Write the new status back, and go around again.</li>
</ol>
<p>Follow our Deployment through the system and you can see several loops hand work to each other:</p>
<ol>
<li>You apply the Deployment. The API server stores it in etcd.</li>
<li>The <strong>Deployment controller</strong> sees a Deployment with no ReplicaSet, and creates one.</li>
<li>The <strong>ReplicaSet controller</strong> sees a ReplicaSet that wants three Pods and has zero, and creates three Pod records.</li>
<li>The <strong>scheduler</strong> sees three Pods with no node, and assigns each one to a node.</li>
<li>The <strong>kubelet</strong> on each chosen node sees a Pod assigned to it, and starts the container.</li>
</ol>
<p>Now pull the power cable on one node. Its kubelet stops reporting. The node controller marks the node as not ready and, after a grace period, its Pods are evicted. The ReplicaSet controller now counts two healthy Pods instead of three, and creates a new one. The scheduler places it elsewhere. <strong>Nobody wrote a &quot;recover from node failure&quot; script.</strong> Recovery is just the normal loop seeing a gap.</p>
<p>This is also why changes are safe to repeat. Applying the same file twice does nothing the second time, because there is no difference to fix. Engineers call this property <em>idempotence</em>, and it is what makes GitOps tools such as Argo CD and Flux possible: they simply keep the cluster&#39;s desired state in sync with a Git repository.</p>
<h2 id="where-the-idea-came-from"><a href="#where-the-idea-came-from">Where the idea came from</a></h2>
<p>Kubernetes was open-sourced by Google in 2014, built by engineers who had spent a decade running Google&#39;s internal cluster managers, Borg and Omega. The paper <a href="https://research.google/pubs/pub44843/" target="_blank" rel="noopener noreferrer">Borg, Omega, and Kubernetes</a> (Burns, Grant, Oppenheimer, Brewer and Wilkes, <em>ACM Queue</em>, 2016) explains which lessons they carried over. Two stand out:</p>
<ul>
<li><strong>Put all state behind one API</strong>, and let many small, independent controllers work on it, instead of one big central brain. It is easier to extend and survives partial failures better.</li>
<li><strong>Use labels, not fixed groupings.</strong> A ReplicaSet does not own a list of Pods; it owns &quot;whatever Pods carry the label <code>app: web</code>&quot;. That loose coupling is what lets the controllers above cooperate without knowing about each other.</li>
</ul>
<h2 id="extending-kubernetes-with-your-own-loops"><a href="#extending-kubernetes-with-your-own-loops">Extending Kubernetes with your own loops</a></h2>
<p>Because the pattern is so regular, you can add your own. A <strong>Custom Resource Definition (CRD)</strong> teaches the API server a new kind of object, say <code>Database</code> or <code>Tenant</code>. An <strong>operator</strong> is a controller you write that reconciles those objects: it sees a <code>Database</code> with <code>replicas: 3</code> and does whatever it takes to make that true, including backups and upgrades. Tools such as <a href="https://book.kubebuilder.io/" target="_blank" rel="noopener noreferrer">Kubebuilder</a> generate most of the boilerplate.</p>
<p>This is the foundation of much of modern <strong>platform engineering</strong>: teams wrap their company&#39;s best practices in custom resources, so a developer can ask for &quot;a production-ready service&quot; in ten lines of YAML and the platform&#39;s controllers do the rest. We will write about that in a later post.</p>
<h2 id="takeaways"><a href="#takeaways">Takeaways</a></h2>
<ul>
<li>Kubernetes stores <strong>intent</strong>, not commands. You declare the desired state; you do not script the steps.</li>
<li>Many small <strong>controllers</strong> each run an observe, diff, act loop against the API server. Self-healing is a side effect of that loop, not a separate feature.</li>
<li>Components never call each other. They coordinate through <strong>shared state</strong> in etcd, behind the API server.</li>
<li>You can add your own resources and controllers, and that is how most platforms on Kubernetes are built.</li>
</ul>
<p>Next in this series: namespaces, multi-tenancy and how to give many teams one cluster without letting them step on each other.</p>
<h2 id="sources-and-further-reading"><a href="#sources-and-further-reading">Sources and further reading</a></h2>
<ul>
<li>Kubernetes documentation, <a href="https://kubernetes.io/docs/concepts/overview/components/" target="_blank" rel="noopener noreferrer">Kubernetes components</a></li>
<li>Kubernetes documentation, <a href="https://kubernetes.io/docs/concepts/architecture/controller/" target="_blank" rel="noopener noreferrer">Controllers</a></li>
<li>B. Burns, B. Grant, D. Oppenheimer, E. Brewer, J. Wilkes, <a href="https://research.google/pubs/pub44843/" target="_blank" rel="noopener noreferrer">Borg, Omega, and Kubernetes</a>, <em>ACM Queue</em> 14(1) (2016)</li>
<li>A. Verma et al., <a href="https://research.google/pubs/large-scale-cluster-management-at-google-with-borg/" target="_blank" rel="noopener noreferrer">Large-scale cluster management at Google with Borg</a>, EuroSys (2015)</li>
<li>The Kubebuilder Book, <a href="https://book.kubebuilder.io/" target="_blank" rel="noopener noreferrer">Kubebuilder</a></li>
</ul>
]]></content:encoded>
    </item>
    <item>
      <title>How machines learn: Classification, Clustering and Beyond</title>
      <link>https://gilaburu.co/blog/how-machines-learn-classification-clustering-and-beyond/</link>
      <guid isPermaLink="true">https://gilaburu.co/blog/how-machines-learn-classification-clustering-and-beyond/</guid>
      <pubDate>Wed, 04 Nov 2026 09:00:00 GMT</pubDate>
      <dc:creator>Gilaburu</dc:creator>
      <category>ai</category>
      <category>machine-learning</category>
      <category>supervised-learning</category>
      <category>unsupervised-learning</category>
      <category>reinforcement-learning</category>
      <category>foundations</category>
      <description>A closer look at supervised, unsupervised, self-supervised and reinforcement learning, with the tasks, algorithms and metrics behind each one.</description>
      <content:encoded><![CDATA[<p>In <a href="https://gilaburu.co/blog/ai-machine-learning-deep-learning-reinforcement-learning/">our map of AI, ML, deep learning and reinforcement learning</a> we grouped machine learning by the kind of feedback a model gets: right answers, no answers, answers hidden in the data itself, or a score after acting. This post opens each of those boxes. For every one we look at the typical <strong>tasks</strong>, a few well-known <strong>algorithms</strong>, and how you would <strong>measure</strong> whether it works.</p>
<p>You do not need any maths to follow along. Where a formula would normally go, we use a picture.</p>
<h2 id="supervised-learning-learning-from-the-answer-key"><a href="#supervised-learning-learning-from-the-answer-key">Supervised learning: learning from the answer key</a></h2>
<p>In supervised learning every training example is a pair: an <strong>input</strong> (an email, a photo, a row of numbers about a house) and the <strong>label</strong> we want the model to produce (spam or not, &quot;cat&quot;, a sale price). Training adjusts the model until its outputs match the labels as closely as possible. Then we hope it does the same on inputs it has never seen.</p>
<p>Supervised problems come in two main shapes, depending on what the label is.</p>
<p><img src="https://gilaburu.co/blog/images/supervised-classification-regression.png" alt="Two kinds of supervised learning. Classification draws a boundary between two groups of points. Regression fits a line through points to predict a number." width="2400" height="1160" loading="lazy" decoding="async"></p>
<h3 id="classification-predicting-a-category"><a href="#classification-predicting-a-category">Classification: predicting a category</a></h3>
<p>The label is one of a fixed set of classes.</p>
<ul>
<li><strong>Binary classification</strong> has two classes: fraud or not fraud, will churn or will stay, tumour or healthy tissue.</li>
<li><strong>Multi-class classification</strong> has more than two, but each example belongs to exactly one: which digit is in this image, which language is this sentence in.</li>
<li><strong>Multi-label classification</strong> lets an example carry several labels at once: a photo can contain both &quot;beach&quot; and &quot;dog&quot;.</li>
</ul>
<p>Common algorithms include <strong>logistic regression</strong> (despite the name, a classifier), <strong>decision trees</strong> and their ensembles such as <strong>random forests</strong> and <strong>gradient boosting</strong> (XGBoost, LightGBM), <strong>support vector machines</strong>, <strong>k-nearest neighbours</strong>, and <strong>neural networks</strong> for images, audio and text. On tabular business data, gradient-boosted trees are very often the strongest choice.</p>
<p><strong>How to measure it.</strong> Accuracy, the share of correct predictions, is the obvious metric and often a misleading one. If 1% of transactions are fraud, a model that always says &quot;not fraud&quot; is 99% accurate and completely useless. That is why teams look at the <strong>confusion matrix</strong> and two numbers from it:</p>
<ul>
<li><strong>Precision:</strong> of everything the model flagged, how much was really positive? Low precision means many false alarms.</li>
<li><strong>Recall:</strong> of everything that was really positive, how much did the model catch? Low recall means missed cases.</li>
</ul>
<p>The two pull against each other, and the right balance is a product decision. A spam filter should favour precision (never hide a real email); a cancer screening tool should favour recall (never miss a case). Google&#39;s <a href="https://developers.google.com/machine-learning/crash-course/classification" target="_blank" rel="noopener noreferrer">Machine Learning Crash Course</a> has a good interactive section on this trade-off.</p>
<h3 id="regression-predicting-a-number"><a href="#regression-predicting-a-number">Regression: predicting a number</a></h3>
<p>The label is a continuous value: the price a flat will sell for, tomorrow&#39;s electricity demand, how many minutes a delivery will take.</p>
<p><strong>Linear regression</strong> fits a straight line (or a flat surface, in many dimensions) through the data and is still the first model to try. Trees, gradient boosting and neural networks also do regression, and can capture curves and interactions a straight line cannot. <strong>Time-series forecasting</strong> is a special case of regression where the order of the data matters.</p>
<p><strong>How to measure it.</strong> Typical metrics are <strong>mean absolute error</strong> (on average, how far off are we, in the same units as the label) and <strong>root mean squared error</strong> (similar, but punishes large misses more). Always compare against a naive baseline, such as &quot;predict last week&#39;s value&quot;. A complex model that cannot beat the baseline is not worth shipping.</p>
<h3 id="the-catch-labels-are-expensive"><a href="#the-catch-labels-are-expensive">The catch: labels are expensive</a></h3>
<p>Supervised learning works extremely well, but someone has to produce the labels. Doctors annotating scans, lawyers tagging contracts, crowd workers drawing boxes around cars: labelling is often the slowest and most expensive part of a project. That cost is exactly what the other paradigms try to avoid.</p>
<p>A middle path worth knowing is <strong>semi-supervised learning</strong>: label a small part of the data, then let the model use the structure of the large unlabelled part to improve. Many real systems quietly work this way.</p>
<h2 id="unsupervised-learning-finding-structure-without-answers"><a href="#unsupervised-learning-finding-structure-without-answers">Unsupervised learning: finding structure without answers</a></h2>
<p>In unsupervised learning there are no labels at all. The model is given raw data and asked to describe it: what groups exist, what is normal, what can be summarised. The results are usually less &quot;correct or wrong&quot; and more &quot;useful or not&quot;, which makes them harder to evaluate but often very valuable for exploration.</p>
<h3 id="clustering-grouping-similar-things"><a href="#clustering-grouping-similar-things">Clustering: grouping similar things</a></h3>
<p>Clustering puts examples that are alike into the same group, without being told what the groups are. Typical uses are customer segmentation, grouping news articles by topic, or finding similar products.</p>
<p>The classic algorithm is <strong>k-means</strong>, and it is simple enough to explain in three steps:</p>
<p><img src="https://gilaburu.co/blog/images/kmeans-steps.png" alt="K-means in three steps. Start with k random centres. Assign every point to its nearest centre. Move each centre to the middle of its points. Repeat until nothing changes." width="2400" height="1160" loading="lazy" decoding="async"></p>
<ol>
<li><strong>Pick k centres</strong> at random (you choose k, the number of clusters).</li>
<li><strong>Assign</strong> every point to its nearest centre.</li>
<li><strong>Move</strong> each centre to the average position of its points, then go back to step 2. Stop when the assignments no longer change.</li>
</ol>
<p>K-means is fast, but it assumes round clusters of similar size and needs k up front. Other methods relax those assumptions. <strong>Hierarchical clustering</strong> builds a tree of nested groups, so you can choose the level of detail afterwards. <strong>DBSCAN</strong> finds clusters of any shape as dense regions of points, and labels isolated points as noise. Google&#39;s free <a href="https://developers.google.com/machine-learning/clustering" target="_blank" rel="noopener noreferrer">clustering course</a> and the <a href="https://scikit-learn.org/stable/modules/clustering.html" target="_blank" rel="noopener noreferrer">scikit-learn clustering guide</a> compare these well, with pictures of where each one succeeds and fails.</p>
<p><strong>How to measure it.</strong> Without labels there is no accuracy. Teams use internal scores such as the <strong>silhouette score</strong> (are points closer to their own cluster than to others?), but the real test is whether the groups make sense to people and lead to better decisions.</p>
<h3 id="anomaly-detection-spotting-what-does-not-fit"><a href="#anomaly-detection-spotting-what-does-not-fit">Anomaly detection: spotting what does not fit</a></h3>
<p>Anomaly detection learns what &quot;normal&quot; looks like and flags what is far from it: an unusual card payment, a server whose metrics suddenly drift, a faulty part on a production line. Because real anomalies are rare and varied, it is often impossible to label enough of them, which makes this a natural unsupervised task.</p>
<p>Approaches range from simple statistics (how many standard deviations from the mean?) to <strong>isolation forests</strong>, which exploit the fact that odd points are easier to separate from the rest, and to <strong>autoencoders</strong>, neural networks that learn to compress and rebuild normal data and struggle to rebuild anything unusual.</p>
<h3 id="dimensionality-reduction-keeping-what-matters"><a href="#dimensionality-reduction-keeping-what-matters">Dimensionality reduction: keeping what matters</a></h3>
<p>Real data often has hundreds or thousands of columns. Dimensionality reduction squeezes it into a few while keeping as much of the structure as possible. <strong>Principal component analysis (PCA)</strong> finds the directions along which the data varies most. <strong>t-SNE</strong> and <strong>UMAP</strong> are popular for drawing high-dimensional data, such as text embeddings, as 2D maps where similar items land near each other. Reduced data is also faster and often easier for other models to learn from.</p>
<h3 id="association-rules-what-goes-together"><a href="#association-rules-what-goes-together">Association rules: what goes together</a></h3>
<p>The last classic family looks for items that tend to appear together: people who buy pasta often buy tomato sauce. This &quot;market basket analysis&quot; drives simple recommendations and shop layouts, and algorithms such as <strong>Apriori</strong> have been around since the 1990s.</p>
<h2 id="self-supervised-learning-the-data-writes-its-own-labels"><a href="#self-supervised-learning-the-data-writes-its-own-labels">Self-supervised learning: the data writes its own labels</a></h2>
<p>Self-supervised learning is the idea behind almost every modern foundation model. It uses unlabelled data, like unsupervised learning, but trains the model with a supervised-style task whose answers come from the data itself. You hide part of the input and ask the model to fill it in.</p>
<p><img src="https://gilaburu.co/blog/images/self-supervised.png" alt="Self-supervised learning creates labels from raw text. In next-word prediction the model sees the start of a sentence and guesses the next word. In masked prediction a word in the middle is hidden and the model guesses it from both sides." width="2400" height="1160" loading="lazy" decoding="async"></p>
<ul>
<li><strong>Next-token prediction.</strong> Show the start of a sentence, ask for the next word. This is how GPT-style language models are pre-trained, on enormous amounts of text.</li>
<li><strong>Masked prediction.</strong> Hide a word in the middle and ask the model to recover it from both sides. Google&#39;s <a href="https://arxiv.org/abs/1810.04805" target="_blank" rel="noopener noreferrer">BERT</a> made this popular in 2018. The same idea works for images, by hiding patches.</li>
<li><strong>Contrastive learning.</strong> Show two altered versions of the same photo (cropped, recoloured) and teach the model that they belong together while other photos do not. <a href="https://arxiv.org/abs/2002.05709" target="_blank" rel="noopener noreferrer">SimCLR</a> is a well-known example.</li>
</ul>
<p>None of these tasks is useful in itself. Nobody needs a machine to guess hidden words. The point is that, to do them well, the model has to learn grammar, facts, shapes and context. The result is a general-purpose <strong>representation</strong> that can then be <strong>fine-tuned</strong> for a real task with only a small labelled dataset. That two-step recipe, <em>pre-train with self-supervision, then adapt with a little supervision</em>, is the main reason AI capabilities jumped so quickly in recent years.</p>
<h2 id="reinforcement-learning-learning-from-consequences"><a href="#reinforcement-learning-learning-from-consequences">Reinforcement learning: learning from consequences</a></h2>
<p>Reinforcement learning (RL) has no answer key and no fixed dataset. An <strong>agent</strong> acts in an <strong>environment</strong> and receives a <strong>reward</strong>. Its job is to learn a <strong>policy</strong>, a rule for choosing actions, that collects the most reward over time. We introduced the loop in the <a href="https://gilaburu.co/blog/ai-machine-learning-deep-learning-reinforcement-learning/#reinforcement-learning-learning-by-doing">first post</a>; here are the main families of methods.</p>
<ul>
<li><strong>Multi-armed bandits</strong> are the simplest case: one decision, no long-term state. Which of four headlines should we show? Try them, watch the clicks, gradually show the winner more often. Bandits are widely used for testing and recommendations.</li>
<li><strong>Value-based methods</strong> learn how good each action is in each situation, then pick the best one. <strong>Q-learning</strong> is the classic example. DeepMind&#39;s <a href="https://www.nature.com/articles/nature14236" target="_blank" rel="noopener noreferrer">DQN</a> combined it with a deep neural network and learned to play dozens of Atari games from raw pixels.</li>
<li><strong>Policy-based methods</strong> skip the scores and adjust the policy directly in the direction that earned more reward. <strong>Policy gradient</strong> methods, and their popular stable variant <strong>PPO</strong>, are common in robotics and in tuning language models.</li>
<li><strong>Model-based methods</strong> first learn how the environment behaves, then plan inside that learned model. They need far fewer real-world trials, which matters when each trial is slow or expensive.</li>
</ul>
<p>Every RL method has to balance <strong>exploration</strong> (trying new actions to learn more) and <strong>exploitation</strong> (using what already works). A simple, widely used rule is <em>epsilon-greedy</em>: usually pick the best known action, but now and then pick a random one.</p>
<p>RL is powerful but fussy. It needs a reward that really captures what you want, a lot of trial and error, and usually a simulator. In practice it shines in games, robotics, resource scheduling, and in <strong>reinforcement learning from human feedback (RLHF)</strong>, where human preferences become the reward that makes chat assistants more helpful. Sutton and Barto&#39;s <a href="http://incompleteideas.net/book/the-book-2nd.html" target="_blank" rel="noopener noreferrer">Reinforcement Learning: An Introduction</a> remains the best place to go deeper.</p>
<h2 id="choosing-an-approach"><a href="#choosing-an-approach">Choosing an approach</a></h2>
<p>Most real projects start from the data you have and the decision you need to make. This rough guide covers the common cases:</p>
<p><img src="https://gilaburu.co/blog/images/choosing-ml-approach.png" alt="A decision guide. If you need to choose actions and get feedback over time, use reinforcement learning. Otherwise, if you have labels, predict a category with classification or a number with regression. Without labels, use clustering to find groups, anomaly detection to find outliers, or dimensionality reduction to simplify. With lots of raw data and few labels, pre-train with self-supervision and fine-tune." width="2400" height="1260" loading="lazy" decoding="async"></p>
<p>Scikit-learn&#39;s <a href="https://scikit-learn.org/stable/machine_learning_map.html" target="_blank" rel="noopener noreferrer">Choosing the right estimator</a> map is a longer version of the same idea, and worth bookmarking.</p>
<p>A few habits matter more than the choice of algorithm:</p>
<ul>
<li><strong>Start with a baseline.</strong> A simple rule or a linear model tells you how much the fancy approach is really adding.</li>
<li><strong>Keep a test set the model never sees</strong> during training, and evaluate on it only at the end.</li>
<li><strong>Pick the metric with the people who will use the model.</strong> Precision or recall, average error or worst case: these are product questions, not just technical ones.</li>
<li><strong>Watch it after launch.</strong> Data changes over time, and a model that was right last year can quietly drift.</li>
</ul>
<h2 id="summary"><a href="#summary">Summary</a></h2>
<table tabindex="0">
<thead>
<tr>
<th>Paradigm</th>
<th>Feedback</th>
<th>Typical tasks</th>
<th>Example algorithms</th>
</tr>
</thead>
<tbody><tr>
<td>Supervised</td>
<td>Correct answer for every example</td>
<td>Classification, regression, forecasting</td>
<td>Logistic and linear regression, gradient boosting, neural networks</td>
</tr>
<tr>
<td>Unsupervised</td>
<td>None</td>
<td>Clustering, anomaly detection, dimensionality reduction, association rules</td>
<td>K-means, DBSCAN, isolation forest, PCA, UMAP</td>
</tr>
<tr>
<td>Self-supervised</td>
<td>Labels made from the data itself</td>
<td>Pre-training language and vision models</td>
<td>Next-token prediction, masked prediction, contrastive learning</td>
</tr>
<tr>
<td>Reinforcement</td>
<td>Reward after acting</td>
<td>Games, robotics, recommendations, RLHF</td>
<td>Bandits, Q-learning, policy gradient, PPO</td>
</tr>
</tbody></table>
<p>In the next post in this series we will open the most popular box of all: how a neural network actually learns from its mistakes.</p>
<h2 id="sources-and-further-reading"><a href="#sources-and-further-reading">Sources and further reading</a></h2>
<ul>
<li>Google, Machine Learning Crash Course: <a href="https://developers.google.com/machine-learning/crash-course/classification" target="_blank" rel="noopener noreferrer">Classification</a></li>
<li>Google, <a href="https://developers.google.com/machine-learning/clustering" target="_blank" rel="noopener noreferrer">Clustering</a> course</li>
<li>scikit-learn, <a href="https://scikit-learn.org/stable/modules/clustering.html" target="_blank" rel="noopener noreferrer">User guide: clustering</a> and <a href="https://scikit-learn.org/stable/machine_learning_map.html" target="_blank" rel="noopener noreferrer">Choosing the right estimator</a></li>
<li>J. Devlin et al., <a href="https://arxiv.org/abs/1810.04805" target="_blank" rel="noopener noreferrer">BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding</a> (2018)</li>
<li>T. Chen et al., <a href="https://arxiv.org/abs/2002.05709" target="_blank" rel="noopener noreferrer">A Simple Framework for Contrastive Learning of Visual Representations</a> (2020)</li>
<li>V. Mnih et al., <a href="https://www.nature.com/articles/nature14236" target="_blank" rel="noopener noreferrer">Human-level control through deep reinforcement learning</a>, <em>Nature</em> 518 (2015)</li>
<li>R. Sutton, A. Barto, <a href="http://incompleteideas.net/book/the-book-2nd.html" target="_blank" rel="noopener noreferrer">Reinforcement Learning: An Introduction</a>, 2nd edition (2018)</li>
</ul>
]]></content:encoded>
    </item>
    <item>
      <title>SLIs, SLOs and error budgets: The heart of SRE</title>
      <link>https://gilaburu.co/blog/sre-slis-slos-and-error-budgets/</link>
      <guid isPermaLink="true">https://gilaburu.co/blog/sre-slis-slos-and-error-budgets/</guid>
      <pubDate>Wed, 04 Nov 2026 09:00:00 GMT</pubDate>
      <dc:creator>Gilaburu</dc:creator>
      <category>sre</category>
      <category>devops</category>
      <category>reliability</category>
      <category>foundations</category>
      <description>100% reliability is the wrong target. How SRE teams pick a number users feel, turn the gap into an error budget, and decide when to ship.</description>
      <content:encoded><![CDATA[<p>Ask a team how reliable their service should be and the first answer is usually &quot;always up&quot;. It sounds right, and it is wrong. Users cannot tell 99.999% from 100%, because their own Wi-Fi, phone and browser fail far more often than that. Chasing the last fraction of a percent costs a fortune and freezes every release.</p>
<p>Site Reliability Engineering (SRE), the discipline Google described in its <a href="https://sre.google/sre-book/table-of-contents/" target="_blank" rel="noopener noreferrer">Site Reliability Engineering</a> book, starts from a different question: <strong>how unreliable can we afford to be before users notice?</strong> The answer becomes a number, and that number becomes a budget you can spend. This post, part of our <strong>Foundations</strong> series, explains the three ideas that make it work.</p>
<h2 id="three-letters-three-layers"><a href="#three-letters-three-layers">Three letters, three layers</a></h2>
<p><img src="https://gilaburu.co/blog/images/sli-slo-sla.png" alt="Three layers of reliability targets. The SLI is a measurement, such as the share of requests served successfully in under 300 ms. The SLO is the internal target for it, such as 99.9% over 30 days. The SLA is the external contract with consequences, such as 99.5% or a refund." width="2400" height="1220" loading="lazy" decoding="async"></p>
<p><strong>SLI, service level indicator.</strong> A measurement of something users care about, expressed as a ratio of good events to all events. For example: <em>the share of HTTP requests that returned successfully in under 300 ms.</em> Good SLIs measure what the user experiences, not what the server feels. CPU usage is not an SLI; a slow checkout page is.</p>
<p><strong>SLO, service level objective.</strong> The target for an SLI over a time window. For example: <em>99.9% of requests are good, measured over a rolling 30 days.</em> This is an internal goal, set by the team together with the product owner.</p>
<p><strong>SLA, service level agreement.</strong> A contract with customers that says what happens if you miss a target, usually credits or refunds. SLAs are a business and legal decision. A sensible SLA is looser than the SLO, so the team gets an early warning long before money is at stake.</p>
<p>Common SLIs, grouped by the kind of service, are listed in the <a href="https://sre.google/sre-book/service-level-objectives/" target="_blank" rel="noopener noreferrer">SLO chapter of the SRE book</a>:</p>
<ul>
<li><strong>Request-driven services</strong> (APIs, websites): availability, latency, quality.</li>
<li><strong>Pipelines</strong> (batch jobs, data processing): freshness, correctness, coverage.</li>
<li><strong>Storage</strong>: durability, plus availability and latency of reads and writes.</li>
</ul>
<h2 id="what-the-nines-mean"><a href="#what-the-nines-mean">What the nines mean</a></h2>
<p>It helps to translate percentages into time. Over a 30-day window:</p>
<table tabindex="0">
<thead>
<tr>
<th>SLO</th>
<th>Allowed &quot;bad&quot; time per 30 days</th>
</tr>
</thead>
<tbody><tr>
<td>99%</td>
<td>7 hours 12 minutes</td>
</tr>
<tr>
<td>99.5%</td>
<td>3 hours 36 minutes</td>
</tr>
<tr>
<td>99.9%</td>
<td>43 minutes 12 seconds</td>
</tr>
<tr>
<td>99.95%</td>
<td>21 minutes 36 seconds</td>
</tr>
<tr>
<td>99.99%</td>
<td>4 minutes 19 seconds</td>
</tr>
</tbody></table>
<p>Every extra nine cuts the room for error by ten. Going from 99.9% to 99.99% means a single bad deploy that takes five minutes to roll back already breaks the target. That level is possible, but it needs automated rollouts, redundancy across regions and a lot of engineering time, so it should be reserved for services that truly need it.</p>
<h2 id="the-error-budget"><a href="#the-error-budget">The error budget</a></h2>
<p>Here is the idea that makes SLOs useful rather than decorative. If the target is 99.9%, then <strong>0.1% of requests are allowed to fail.</strong> That 0.1% is the <strong>error budget</strong>. It is not a failure to be ashamed of; it is a resource the team can spend.</p>
<p><img src="https://gilaburu.co/blog/images/error-budget.png" alt="Error budget burn-down over a 30-day window. The budget starts at 100% and falls with each incident. A steady burn would land at zero on day 30. A bad deploy on day 12 causes a sharp drop, and the team slows releases until the budget recovers." width="2400" height="1160" loading="lazy" decoding="async"></p>
<p>What do you spend it on? Mostly on <strong>change</strong>: new features, migrations, experiments and the risk that comes with them. The SRE book&#39;s chapter on <a href="https://sre.google/sre-book/embracing-risk/" target="_blank" rel="noopener noreferrer">embracing risk</a> frames it as a way to settle the old argument between developers who want to ship fast and operators who want nothing to change:</p>
<ul>
<li><strong>Budget left:</strong> ship. Releases, experiments and risky migrations are fine.</li>
<li><strong>Budget running low:</strong> slow down. Smaller changes, more testing, extra review.</li>
<li><strong>Budget gone:</strong> stop feature releases and spend the time on reliability work until the service is back within its SLO.</li>
</ul>
<p>The important part is that this is agreed <strong>in advance</strong>, in a written error budget policy. When the budget runs out, nobody has to win an argument in the middle of an incident. The numbers decide. The <a href="https://sre.google/workbook/implementing-slos/" target="_blank" rel="noopener noreferrer">SRE Workbook</a> has a sample policy you can adapt.</p>
<h2 id="alerting-on-burn-rate-not-on-every-blip"><a href="#alerting-on-burn-rate-not-on-every-blip">Alerting on burn rate, not on every blip</a></h2>
<p>SLOs also fix noisy paging. Instead of waking someone up whenever errors cross an arbitrary threshold, you alert on how fast the budget is being used, the <strong>burn rate</strong>.</p>
<p>A burn rate of 1 means you are spending budget at exactly the speed that would use it all by the end of the window. A burn rate of 14.4 means that, at this speed, a 30-day budget would be gone in about two days. Sustained for one hour, it has already eaten 2% of the month&#39;s budget. That deserves a page. A burn rate of 1.5 deserves a ticket for tomorrow, not a 3 a.m. phone call.</p>
<p>The <a href="https://sre.google/workbook/alerting-on-slos/" target="_blank" rel="noopener noreferrer">Alerting on SLOs</a> chapter of the workbook walks through several designs and recommends <strong>multiwindow, multi-burn-rate alerts</strong>: page only when the burn rate is high over both a long window (to prove it is significant) and a short one (to prove it is still happening). It is one of the most practical pages in the whole book.</p>
<h2 id="how-to-start-without-a-big-project"><a href="#how-to-start-without-a-big-project">How to start, without a big project</a></h2>
<p>You do not need a reliability team or new tools to begin.</p>
<ol>
<li><strong>Pick one user journey</strong> that matters, such as signing in or checking out.</li>
<li><strong>Choose one or two SLIs</strong> for it that you can already measure from your load balancer or application logs.</li>
<li><strong>Set an SLO slightly below</strong> what you achieve today. You can tighten it later; an SLO you miss every month teaches nothing.</li>
<li><strong>Write a one-page error budget policy</strong> and get the product owner to sign it.</li>
<li><strong>Review it monthly.</strong> If users complain while you are within the SLO, the SLI is measuring the wrong thing. If nobody notices when you miss it, the SLO is too strict.</li>
</ol>
<h2 id="takeaways"><a href="#takeaways">Takeaways</a></h2>
<ul>
<li><strong>100% is the wrong target.</strong> Pick the level users actually notice, and stop there.</li>
<li>An <strong>SLI</strong> measures user experience, an <strong>SLO</strong> sets the internal target, an <strong>SLA</strong> is the external promise. Keep the SLA looser than the SLO.</li>
<li>The gap between 100% and the SLO is an <strong>error budget</strong>. Spend it on shipping; protect it when it runs low.</li>
<li>Alert on <strong>burn rate</strong>, so people get paged for things that threaten the SLO and nothing else.</li>
</ul>
<p>In a later post we will look at how SRE fits together with DevOps and platform engineering, and why the three are complementary rather than competing.</p>
<h2 id="sources-and-further-reading"><a href="#sources-and-further-reading">Sources and further reading</a></h2>
<ul>
<li>B. Beyer, C. Jones, J. Petoff, N. R. Murphy (eds.), <a href="https://sre.google/sre-book/table-of-contents/" target="_blank" rel="noopener noreferrer">Site Reliability Engineering</a>, O&#39;Reilly (2016), especially <a href="https://sre.google/sre-book/service-level-objectives/" target="_blank" rel="noopener noreferrer">Service Level Objectives</a> and <a href="https://sre.google/sre-book/embracing-risk/" target="_blank" rel="noopener noreferrer">Embracing Risk</a></li>
<li>B. Beyer et al. (eds.), <a href="https://sre.google/workbook/table-of-contents/" target="_blank" rel="noopener noreferrer">The Site Reliability Workbook</a>, O&#39;Reilly (2018), especially <a href="https://sre.google/workbook/implementing-slos/" target="_blank" rel="noopener noreferrer">Implementing SLOs</a> and <a href="https://sre.google/workbook/alerting-on-slos/" target="_blank" rel="noopener noreferrer">Alerting on SLOs</a></li>
<li>Google Cloud blog (Medium), <a href="https://medium.com/google-cloud/how-to-alert-on-slos-2a5ce8c4e7dd" target="_blank" rel="noopener noreferrer">How to alert on SLOs</a></li>
</ul>
]]></content:encoded>
    </item>
    <item>
      <title>Welcome to the Gilaburu Blog</title>
      <link>https://gilaburu.co/blog/welcome-to-the-gilaburu-blog/</link>
      <guid isPermaLink="true">https://gilaburu.co/blog/welcome-to-the-gilaburu-blog/</guid>
      <pubDate>Wed, 04 Nov 2026 09:00:00 GMT</pubDate>
      <dc:creator>Gilaburu</dc:creator>
      <category>company</category>
      <category>ai</category>
      <description>Why we are starting a blog, and what we will write about: applied AI, software architecture, Kubernetes and the products we build in Estonia.</description>
      <content:encoded><![CDATA[<p>Gilaburu builds AI-first software from Tallinn, Estonia. Until now our website has said what we make. This blog is where we will say <strong>how</strong> we make it, and what we learn along the way.</p>
<h2 id="what-we-will-write-about"><a href="#what-we-will-write-about">What we will write about</a></h2>
<ul>
<li><strong>Applied AI.</strong> What works when you put AI into an everyday product, and what does not.</li>
<li><strong>Software architecture and DevOps.</strong> Notes from client work and from running our own systems.</li>
<li><strong>Kubernetes.</strong> Practical tips, and the thinking behind <a href="https://gilaburu.co/kelp/">Kelp</a>, our open source CLI for managing many namespaces.</li>
<li><strong>Our products.</strong> Updates on <a href="https://gilaburu.co/siple/">Siple</a>, SerialChoice, Paralel and the <a href="https://gilaburu.co/tasavvur/">Tasavvur</a> community.</li>
</ul>
<h2 id="how-often"><a href="#how-often">How often</a></h2>
<p>We would rather publish one useful post a month than four thin ones. If you want to know when a new post is out, follow the <a href="https://gilaburu.co/blog/rss.xml">RSS feed</a> or find us on <a href="https://x.com/gilaburuou" target="_blank" rel="noopener noreferrer">X</a> and <a href="https://www.instagram.com/gilaburuou/" target="_blank" rel="noopener noreferrer">Instagram</a>.</p>
<p>Have a topic you would like us to cover? <a href="https://gilaburu.co/get-in-touch/">Tell us</a>.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
