<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Reading | karalis.io</title>
  <subtitle>Things I read and found worth keeping.</subtitle>
  <link href="https://www.karalis.io/reads/"/>
  <link rel="self" type="application/atom+xml" href="https://www.karalis.io/reads/feed.xml"/>
  <id>https://www.karalis.io/reads/</id>
  <updated>2026-11-15T17:56:52Z</updated>
  <author><name>karalis.io</name></author>
  <entry>
    <title>Building a Serverless ClickHouse</title>
    <link href="https://jordivillar.com/blog/building-a-serverless-clickhouse"/>
    <id>https://www.karalis.io/reads/#417fec298cf1</id>
    <updated>2026-11-15T17:56:52Z</updated>
    <content type="html">&lt;blockquote&gt;Jordi Villar explains how he built ClickHamlet, a serverless ClickHouse that keeps every table in S3 on &lt;code&gt;plain_rewritable&lt;/code&gt; disks. A C++ router using ClickHouse&amp;#x27;s own parser sends each query to a single writer or a reader, and a Python controller starts and stops them on demand. He then covers service isolation, performance tuning and hosting on Kubernetes.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>Probabilistic data structures in Go</title>
    <link href="https://antonz.org/probabilistic-data-structures/"/>
    <id>https://www.karalis.io/reads/#a60c0deec7ad</id>
    <updated>2026-11-15T06:41:06Z</updated>
    <content type="html">&lt;blockquote&gt;Anton Zhiyanov explains how probabilistic data structures trade exact answers for less memory and introduces unsure, his Go package implementing them. He covers a cache-line blocked Bloom filter, a count-min sketch with conservative updates, and HyperLogLog using Otmar Ertl&amp;#x27;s histogram estimator. A merging t-digest and a HeavyKeeper top-k sketch follow, and every structure is benchmarked against other Go libraries.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>Building an Anycast network for fun</title>
    <link href="https://tylerobrien.dev/posts/2022/06/28/building-an-anycast-cdn/"/>
    <id>https://www.karalis.io/reads/#84c27ba7f5e8</id>
    <updated>2026-11-08T11:28:03Z</updated>
    <content type="html">&lt;blockquote&gt;Tyler O&amp;#x27;Brien explains how he built a personal IPv6 Anycast network using BGP sessions from Vultr and BuyVM. He covers choosing hosts that offer IP transit, getting an ASN and IPv6 block through a RIPE sponsoring LIR, and adding IRR and RPKI records. He then configures BIRD, measures latency with RIPE Atlas and steers traffic with BGP communities.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>Inside Replit’s New Sandbox Engine, Part 1: The Path to MicroVMs</title>
    <link href="https://frontier.replit.com/sandbox-engine-microvms-part-1/"/>
    <id>https://www.karalis.io/reads/#083100755f60</id>
    <updated>2026-11-07T18:05:50Z</updated>
    <content type="html">&lt;blockquote&gt;Replit explains how it rewrote its sandbox engine, replacing Docker containers on a shared kernel with Cloud Hypervisor microVMs that run runc containers inside. It covers the VMM choice and guest init, then security through a minimal guest kernel, eBPF monitoring and host-side network controls. It ends with remote copy-on-write block storage and warm pools that keep startup fast.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>Go concurrency distilled</title>
    <link href="https://antonz.org/go-concurrency-distilled/"/>
    <id>https://www.karalis.io/reads/#d556f1ce2ab9</id>
    <updated>2026-09-27T00:38:29Z</updated>
    <content type="html">&lt;blockquote&gt;Anton Zhiyanov&amp;#x27;s Go Concurrency Distilled is an interactive mini-book that serves as a quick refresher on concurrent programming in Go, with runnable examples. It moves from goroutines, channels and select to pipeline patterns, timers and context cancellation. Later sections cover data races and the &lt;code&gt;sync&lt;/code&gt; package&amp;#x27;s locks and signals, then finish with atomics and testing concurrent code using &lt;code&gt;synctest&lt;/code&gt;.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>Anthropic&#x27;s Hidden Vercel Competitor &quot;Antspace&quot;</title>
    <link href="https://aprilnea.me/en/blog/reverse-engineering-claude-code-antspace"/>
    <id>https://www.karalis.io/reads/#33c8275437d7</id>
    <updated>2026-09-14T11:24:30Z</updated>
    <content type="html">&lt;blockquote&gt;AprilNEA&amp;#x27;s write-up reverse-engineers the Claude Code web runtime using standard Linux tools inside a session. It identifies a Firecracker microVM restored from snapshots under a custom init, then reads an unstripped Go binary whose symbols expose an internal deployment platform called Antspace and an app builder called Baku. It argues Anthropic is building its own AI-native hosting stack.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>How Kubernetes probes work</title>
    <link href="https://ngrok.com/blog/probes"/>
    <id>https://www.karalis.io/reads/#25126c6c8bf9</id>
    <updated>2026-08-19T21:41:36Z</updated>
    <content type="html">&lt;blockquote&gt;Sam Rose of ngrok explains Kubernetes startup, readiness and liveness probes using interactive demos on webernetes, his partial TypeScript port of Kubernetes that runs a simulated cluster in the browser. He covers how probes keep traffic off pods that are starting, why liveness checks on shared dependencies cause cascading crash loops, and how probe timing slows Deployment rollouts.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>PostgreSQL for Everything</title>
    <link href="https://www.raphaelbauer.com/posts/postgresql-everything/"/>
    <id>https://www.karalis.io/reads/#a54025b7a8ec</id>
    <updated>2026-08-19T17:56:12Z</updated>
    <content type="html">&lt;blockquote&gt;Raphael Bauer argues that PostgreSQL can replace many specialized systems, keeping a team&amp;#x27;s stack simple. He credits its stability and easy setup, then shows full-text search replacing Elasticsearch, JSON with GIN indexes replacing MongoDB and &lt;code&gt;SKIP LOCKED&lt;/code&gt; tables replacing Kafka queues. Further sections cover Timescale for time series, unlogged tables as a Redis cache and LTREE for hierarchical data.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>Writing a Kubernetes Operator in the Age of AI</title>
    <link href="https://numtide.com/blog/writing-a-kubernetes-operator-in-the-age-of-ai/"/>
    <id>https://www.karalis.io/reads/#a78b1c328946</id>
    <updated>2026-06-27T18:29:42Z</updated>
    <content type="html">&lt;blockquote&gt;Numtide describes how it built a Kubernetes operator for the Multigres distributed Postgres system with AI coding agents. It covers writing the user-facing spec first, turning coding conventions into review skills, and running mechanical work as fresh-context agents whose skills get fixed after every miss. Bug audits get a second verifying agent, while design decisions stay with humans.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>The feedback loops behind Kubernetes</title>
    <link href="https://planetscale.com/blog/the-feedback-loops-behind-kubernetes"/>
    <id>https://www.karalis.io/reads/#a7302573f32d</id>
    <updated>2026-06-18T20:50:16Z</updated>
    <content type="html">&lt;blockquote&gt;PlanetScale explains Kubernetes as a framework for feedback controllers, starting from a Postgres cluster run by hand and a Bash watchdog script that forms a closed control loop. It maps that loop to built-in controllers and to operators written with controller-runtime, then covers level-triggered reconciles, informers with work queues, and how a real database operator observes state.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>Kubernetes Gateway API</title>
    <link href="https://www.romaglushko.com/blog/k8s-gateway-api/"/>
    <id>https://www.karalis.io/reads/#31da4c99499c</id>
    <updated>2026-06-01T07:08:46Z</updated>
    <content type="html">&lt;blockquote&gt;Roman Glushko explains the Kubernetes Gateway API as the successor to Ingress, prompted by the retirement of the NGINX Ingress Controller. He traces how Services led to Ingress and lists its limits, such as annotation-based extensions, blurry ownership and unsafe cross-namespace references. He then walks through &lt;code&gt;GatewayClass&lt;/code&gt;, Gateway listeners and &lt;code&gt;ListenerSet&lt;/code&gt;, and the route types with YAML examples.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>One year of Roto, a compiled scripting language for Rust</title>
    <link href="https://blog.nlnetlabs.nl/one-year-of-roto-the-compiled-scripting-language-for-rust/"/>
    <id>https://www.karalis.io/reads/#62e0697e1afc</id>
    <updated>2026-05-30T18:56:48Z</updated>
    <content type="html">&lt;blockquote&gt;Terts Diepraam of NLnet Labs reviews the first year of Roto, a statically typed, JIT-compiled scripting language for Rust programs. Its new language features include loops, enums and a &lt;code&gt;List&lt;/code&gt; type, and the &lt;code&gt;library!&lt;/code&gt; macro lets Rust types and functions be registered in Rust-like code. It ends with adoption by the Iocaine proxy and plans for hashmaps and tooling.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>How Shamir&#x27;s Secret Sharing Works</title>
    <link href="https://ente.com/blog/how-shamirs-secret-sharing-works/"/>
    <id>https://www.karalis.io/reads/#0af06071aa70</id>
    <updated>2026-05-26T07:28:55Z</updated>
    <content type="html">&lt;blockquote&gt;Ente explains Shamir&amp;#x27;s secret sharing, where a set number of shares recovers a secret and any fewer reveal nothing. The secret sits where a random line crosses the vertical axis, so two points fix it while one fits any value, and higher thresholds use higher degree polynomials. The company uses it as one layer of Legacy Kit recovery.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>How many sandboxed pods can fit in a Pi?</title>
    <link href="https://nubificus.co.uk/blog/runtime_benchmarking_rpi/"/>
    <id>https://www.karalis.io/reads/#01876d253d98</id>
    <updated>2026-05-21T23:29:07Z</updated>
    <content type="html">&lt;blockquote&gt;Nubificus benchmarks plain runc against the sandboxed runtimes gVisor, Kata Containers and urunc on a Raspberry Pi 5 to measure what isolation costs on edge hardware. On single-node K3s with a small C HTTP server, they measure maximum pod density, Kubernetes readiness time and HTTP availability time. They conclude urunc gives VM-level isolation near runc&amp;#x27;s density and startup speed.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>Should I Run Plain Docker Compose in Production in 2026?</title>
    <link href="https://distr.sh/blog/running-docker-in-production/"/>
    <id>https://www.karalis.io/reads/#d62d5b62c569</id>
    <updated>2026-05-05T19:39:25Z</updated>
    <content type="html">&lt;blockquote&gt;Philip Miglinci of Distr argues that plain Docker Compose can run production workloads if operators close the gaps it leaves. He covers removing orphan containers, limiting disk use from images and logs, and adding autoheal since health checks never restart anything. Later sections address pinning images by digest, guarding the Docker socket and updating customer hosts through a pull-based agent.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>How I Use Unspent Tokens</title>
    <link href="https://artisincode.com/essays/how-i-use-unspent-tokens/"/>
    <id>https://www.karalis.io/reads/#36dec2ea55b7</id>
    <updated>2026-04-25T14:49:20Z</updated>
    <content type="html">&lt;blockquote&gt;The author of Artisincode describes continuous-refactoring, a loop that points a coding agent at a target and keeps each small cleanup only if tests pass. It then covers &lt;code&gt;taste.md&lt;/code&gt; preference files built through an agent interview and versioned for upgrades, and a classifier that routes larger jobs to an opt-in migrations workflow with staged plans and human review.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>Migrating from DigitalOcean to Hetzner: From $1,432 to $233/month With Zero Downtime</title>
    <link href="https://isayeter.com/posts/digitalocean-to-hetzner-migration/"/>
    <id>https://www.karalis.io/reads/#93dae31f571f</id>
    <updated>2026-04-19T17:26:18Z</updated>
    <content type="html">&lt;blockquote&gt;Isa Yeter recounts moving a production server running MySQL, Nginx sites and GitLab from DigitalOcean to a Hetzner dedicated machine without downtime. The stack was rebuilt on AlmaLinux and files copied with &lt;code&gt;rsync&lt;/code&gt;, while &lt;code&gt;mydumper&lt;/code&gt; and live replication kept MySQL in sync. Shorter DNS TTLs, a reverse proxy on the old host and scripted record changes handled the cutover.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>LLM Wiki</title>
    <link href="https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f"/>
    <id>https://www.karalis.io/reads/#91fc906a9943</id>
    <updated>2026-04-16T16:22:18Z</updated>
    <content type="html">&lt;blockquote&gt;Andrej Karpathy wrote an idea file for LLM agents describing a knowledge base where the model maintains a wiki of linked markdown pages instead of retrieving raw chunks per query. The design separates immutable sources, the LLM-written wiki and a schema file of conventions. Ingest, query and lint workflows keep the wiki current, aided by an index and a log.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>Building a high-volume metrics pipeline with OpenTelemetry and vmagent</title>
    <link href="https://medium.com/airbnb-engineering/building-a-high-volume-metrics-pipeline-with-opentelemetry-and-vmagent-c714d6910b45"/>
    <id>https://www.karalis.io/reads/#1b0da425dba8</id>
    <updated>2026-04-16T16:00:22Z</updated>
    <content type="html">&lt;blockquote&gt;Airbnb engineers describe moving their StatsD metrics onto a Prometheus-based pipeline built around OpenTelemetry. Services dual-wrote StatsD and OTLP through a shared library, using delta temporality for the highest-volume emitters. A sharded vmagent tier of routers and aggregators drops instance labels, and its aggregators flush a zero for each new counter so &lt;code&gt;rate()&lt;/code&gt; stops undercounting sparse counters.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>SSH certificates: the better SSH experience</title>
    <link href="https://jpmens.net/2026/04/03/ssh-certificates-the-better-ssh-experience/"/>
    <id>https://www.karalis.io/reads/#52a830d4e5bb</id>
    <updated>2026-04-16T15:58:54Z</updated>
    <content type="html">&lt;blockquote&gt;Jan-Piet Mens explains how an SSH certificate authority, built from one key pair and &lt;code&gt;ssh-keygen&lt;/code&gt;, replaces trust on first use and &lt;code&gt;authorized_keys&lt;/code&gt; files. He signs user and host keys, configures the server and the client&amp;#x27;s &lt;code&gt;known_hosts&lt;/code&gt;, and limits certificates by principal, command and source address. He then covers revocation, troubleshooting and a small Python service that signs host keys.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>High-Level Rust: Getting 80% of the Benefits with 20% of the Pain</title>
    <link href="https://hamy.xyz/blog/2026-01_high-level-rust"/>
    <id>https://www.karalis.io/reads/#a3d375cff72c</id>
    <updated>2026-04-16T15:58:10Z</updated>
    <content type="html">&lt;blockquote&gt;Hamy argues that Rust can be written as a high-level language, keeping its expressive types and speed while avoiding most of its learning curve. He proposes type-first domain modeling, functional logic that clones instead of mutating, and services behind traits shared through &lt;code&gt;Arc&lt;/code&gt;. He then covers the cost of deep clones and when the approach fits.&lt;/blockquote&gt;</content>
  </entry>
  <entry>
    <title>Research-Driven Agents: What Happens When Your Agent Reads Before It Codes</title>
    <link href="https://blog.skypilot.co/research-driven-agents/"/>
    <id>https://www.karalis.io/reads/#97063f499e00</id>
    <updated>2026-04-16T15:55:35Z</updated>
    <content type="html">&lt;blockquote&gt;SkyPilot adds a literature search phase to the autoresearch loop so coding agents read papers and competing projects before optimizing code. Applied to llama.cpp CPU inference, the agent ran experiments on cloud VMs and shifted from SIMD tweaks to kernel fusions found in other backends and forks. It also covers failed experiments, noisy benchmarks and setup for other projects.&lt;/blockquote&gt;</content>
  </entry>
</feed>
