<?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 Christian Jensen on Medium]]></title>
        <description><![CDATA[Stories by Christian Jensen on Medium]]></description>
        <link>https://medium.com/@jensenbox?source=rss-8f807e8cf824------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kv8li-_GBRSkCBNZB0Rqbw.jpeg</url>
            <title>Stories by Christian Jensen on Medium</title>
            <link>https://medium.com/@jensenbox?source=rss-8f807e8cf824------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 08:01:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jensenbox/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[Your Message Bus Is the Easy Part]]></title>
            <link>https://medium.com/@jensenbox/your-message-bus-is-the-easy-part-8b23979dd688?source=rss-8f807e8cf824------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b23979dd688</guid>
            <category><![CDATA[infrastructure]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Christian Jensen]]></dc:creator>
            <pubDate>Wed, 17 Jun 2026 20:54:06 GMT</pubDate>
            <atom:updated>2026-06-17T22:46:13.103Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Fat messages, skinny messages and a real-world guide to picking between them.</em></p><p>Teams love to argue about the bus - Kafka or RabbitMQ, SQS or NATS, EventBridge or roll your own. We will burn a whole afternoon on throughput numbers and delivery guarantees and which logo goes on the architecture diagram.</p><p>Almost nobody argues about the part that decides whether the system is pleasant or miserable to live in two years from now. What goes in the messages.</p><p>Here is the thing I keep coming back to. The bus is plumbing. It moves bytes from one place to another and it does not care what those bytes mean. Pick the wrong broker and you can swap it out in a quarter while most of your code never notices. The messages are different. The messages are your contract. They are the API that every other team reads, builds against and quietly depends on. Get those wrong and you are living with it for years.</p><p>So let us talk about the messages.</p><h3>Skinny and Fat</h3><p>There are two basic shapes a message can take and the whole debate lives between them.</p><p>A skinny message says that something happened and points at it. An order was placed, here is the order id, go look it up if you care. Martin Fowler calls this <a href="https://martinfowler.com/articles/201701-event-driven.html">event notification</a>. Think of a text from a friend that just says “call me.”</p><p>A fat message carries the whole story. An order was placed and here are the line items, the customer address, the totals, the payment method and the timestamps. Fowler calls this event-carried state transfer. This is the long voicemail that tells you everything so you never have to call back.</p><p>Same event. Wildly different message. And the choice ripples through the entire system.</p><h3>The quiet superpower of skinny</h3><p>Here is the argument for skinny that does not get enough airtime.</p><p>When your messages are just an id and a verb, every message in your system starts to look the same. A noun, a verb and an identifier. order.placed with an id. user.updated with an id. shipment.dispatched with an id.</p><p>That sameness is worth real money. One envelope shape means one schema to maintain, one validation path, routing that is trivial to write and a log you can read and replay. Your bus stops being a pile of bespoke payloads and becomes a clean, uniform stream of facts. A new consumer shows up and it already knows how to read everything. That is a lovely place to be and I am not alone in leaning this way. Thoughtworks makes a similar case for <a href="https://www.thoughtworks.com/insights/blog/architecture/thin-events-the-lean-muscle-of-event-driven-architecture">thin events as the default</a>.</p><h3>The catch nobody likes to say out loud</h3><p>Skinny has a cost and it is the one your coworker will jump on. If the message only carries an id, every consumer has to turn around and ask the source for the details. Fowler says it plainly in the same article. Event notification <a href="https://martinfowler.com/articles/201701-event-driven.html">often means extra traffic</a> back to the source to get the information you left out.</p><p>This is read amplification. One event fans out to ten consumers and now you have ten queries hitting whatever they call back to. A traffic spike on the event becomes a traffic spike on your database. When people say skinny messages hammer the database, this is what they mean and they are not wrong.</p><p>Hold that thought, because it has a clean answer.</p><h3>What fat is really buying you</h3><p>Fat messages make the read amplification go away. The data is right there in the message so nobody has to call back. That gets you three nice things. Consumers can keep working even when the source is down. They get a point-in-time snapshot of the data as it was when the event fired. And availability goes up because there is no live dependency at read time.</p><p>Then the bill arrives.</p><p>Every consumer now reads your payload, which means every consumer now depends on its shape. Change a field on a popular fat event and you are coordinating a migration across teams you may not even know are listening. These events get heavier over time because it is always easier to add one more field that one more consumer asked for. Derek Comartin describes how events <a href="https://codeopinion.com/thin-vs-fat-integration-events/">start thin and slowly get polluted</a> until the contract is a mess.</p><p>Push this far enough and you get what Particular Software nicely calls a <a href="https://particular.net/blog/putting-your-events-on-a-diet">distributed monolith</a>. A pile of services that look decoupled on the diagram and are welded together in practice. You traded one big ball of mud for a more expensive ball of mud with network calls in the middle.</p><p>So the real tradeoff, stripped of jargon, is this. Fat messages cost you schema. You maintain a big, evolving payload and you validate and version it forever. Skinny messages cost you reads. The message is cheap and the lookups are not.</p><p>And here is the asymmetry that should settle most of the argument. Read amplification is a solved problem. Schema coupling is not.</p><h3>The same event, three sizes</h3><p>The shapes are a contract, not a language. A Go service and a TypeScript service read the same order.placed off the bus, so the definition that matters is the one any of them can implement. Here it is as a plain schema, one shared envelope and three ways the event can carry its data.</p><pre>EventEnvelope:<br>  event_id: uuid<br>  event_type: enum(order.placed, user.updated, shipment.dispatched)<br>  occurred_at: timestamp  # UTC, ISO 8601<br>  subject_id: uuid  # the entity the event is about<br><br># Skinny. The envelope is the whole message.<br>OrderPlaced extends EventEnvelope:<br>  event_type: order.placed<br><br># Fat. The full state rides along. OrderData is the part you own forever.<br>LineItem:<br>  sku: string<br>  quantity: integer<br>  unit_price: decimal<br><br>OrderData:<br>  customer_id: uuid<br>  ship_to: string<br>  currency: string  # ISO 4217<br>  total: decimal<br>  line_items: LineItem[]<br><br>OrderPlacedFat extends EventEnvelope:<br>  event_type: order.placed<br>  data: OrderData<br><br># Claim check. The envelope plus a pointer to where the body lives.<br>PayloadRef:<br>  bucket: string<br>  key: string<br>  size_bytes: integer<br>  content_type: string<br><br>OrderPlacedClaimCheck extends EventEnvelope:<br>  event_type: order.placed<br>  payload: PayloadRef<br></pre><p>Notice where the weight lands. Skinny is the envelope and nothing more. Fat wraps it around an OrderData payload that is now yours to validate and migrate every time the order shape changes. Claim check adds a small reference and leaves the body in storage. Same event, three sizes and you can see exactly where the maintenance burden moves.</p><p>A few choices in that schema matter in any language. Events are facts, so once published the shape is read-only and you add new event types rather than rewriting old ones. event_type is a closed enum, so a typo cannot invent a new event and because every message carries it from the same small set a consumer can route a mixed stream off that one field. And money is a decimal, never a float, so totals do not drift by a cent as they pass through three services.</p><p>Definitions are half the story. Here is what each one carries and claim check is the one worth slowing down for.</p><p>Skinny, on the bus:</p><pre>event_id: 018f9b2a-7c3e-7e1a-9f2a-2b7c5d4e6f10<br>event_type: order.placed<br>occurred_at: 2025-06-01T14:30:00Z<br>subject_id: 4b2f8c9d-7a1e-4c3b-8d6f-9e0a1b2c3d4e</pre><p>Fat, on the bus:</p><pre>event_id: 018f9b2a-7c3e-7e1a-9f2a-2b7c5d4e6f11<br>event_type: order.placed<br>occurred_at: 2025-06-01T14:30:00Z<br>subject_id: 4b2f8c9d-7a1e-4c3b-8d6f-9e0a1b2c3d4e<br>data:<br>  customer_id: 8e7d6c5b-4a39-4827-9f6e-1d2c3b4a5e6f<br>  ship_to: &quot;123 Main St, Victoria BC&quot;<br>  currency: CAD<br>  total: &quot;84.50&quot;<br>  line_items:<br>    - sku: PEPPER-HAB-12<br>      quantity: 2<br>      unit_price: &quot;12.25&quot;<br>    - sku: GRIDDLE-SCRAPER<br>      quantity: 1<br>      unit_price: &quot;60.00&quot;</pre><p>Claim check is two artifacts. The body is written to storage and a pointer to it is what travels.</p><p>On the bus:</p><pre>event_id: 018f9b2a-7c3e-7e1a-9f2a-2b7c5d4e6f12<br>event_type: order.placed<br>occurred_at: 2025-06-01T14:30:00Z<br>subject_id: 4b2f8c9d-7a1e-4c3b-8d6f-9e0a1b2c3d4e<br>payload:<br>  bucket: order-events<br>  key: order.placed/018f9b2a-7c3e-7e1a-9f2a-2b7c5d4e6f12.json<br>  size_bytes: 478<br>  content_type: application/json</pre><p>In storage at key order.placed/018f9b2a-7c3e-7e1a-9f2a-2b7c5d4e6f12.json:</p><pre>customer_id: 8e7d6c5b-4a39-4827-9f6e-1d2c3b4a5e6f<br>ship_to: &quot;123 Main St, Victoria BC&quot;<br>currency: CAD<br>total: &quot;84.50&quot;<br>line_items:<br>  - sku: PEPPER-HAB-12<br>    quantity: 2<br>    unit_price: &quot;12.25&quot;<br>  - sku: GRIDDLE-SCRAPER<br>    quantity: 1<br>    unit_price: &quot;60.00&quot;</pre><p>Skinny and fat are what you would expect. Skinny is the envelope and a subject_id to look up. Fat carries the whole order inline, so the message is as big as the order gets. Claim check is the one that earns a second look. The order body never touches the broker. It goes to storage and the only thing on the bus is the envelope plus a short reference to where the body lives. A consumer reads the pointer, fetches that key and rehydrates the order. You get the frozen snapshot of a fat event, a message small enough that the broker never strains and a payload that can grow to megabytes without anyone rewriting a topic.</p><h3>You probably need both</h3><p>I have <a href="https://medium.com/@jensenbox/you-probably-need-both-a-real-world-guide-to-orchestration-and-choreography-071694436ed8">made this argument before</a> about orchestration and choreography and messages are the same story. The right answer is rarely all skinny or all fat. It is a skinny envelope as your default contract, with two escape hatches for when you need them.</p><p>Escape hatch one. When consumers need the details, let them read from a path built for reading. A replica, a cache or a read model dedicated to queries. Not your transactional primary. Most of the “it hammers the database” complaint quietly assumes your consumers are pounding the same database that handles your writes. A decent read model makes that objection disappear. The lookups still happen, they just stop hurting.</p><p>One ordering detail decides whether this is safe. Do not publish the event until the change is committed and has reached the read side the consumer will query. Publish too early and the consumer outruns replication, reads a replica that has not caught up and acts on data that is not there yet. Holding the event until the write has committed and replicated closes that race. A fat event sidesteps the problem entirely, since the data rides along and the consumer never has to read back at all.</p><p>Escape hatch two. When you truly need the snapshot, or you cannot call back at all, reach for the <a href="https://learn.microsoft.com/en-us/azure/architecture/patterns/claim-check">Claim Check pattern</a>. Drop the payload in something like S3, then send a skinny message that points at it. Your envelope stays uniform, there is no live callback to the database, you get a frozen snapshot and the heavy bytes never touch the broker. It is the best of both and it is the move people forget exists.</p><h3>If you are doing X, you might want Y</h3><p>Enough theory. Here is how I would choose, grouped by what to reach for.</p><p><strong>Reach for skinny (notification) when:</strong></p><ul><li>You have many consumers that each need a different slice of the data. A fat event aimed at all of them becomes a dumping ground. Pair it with a read replica or a dedicated read model so the callbacks never land on your write database.</li><li>Consumers only need the current version of the data. A skinny message plus a read keeps everyone on fresh data and skips the stale-snapshot problem that fat events carry.</li><li>You are not sure yet. It is easy to add fields to an event later and painful to take them away once people depend on them, so start lean.</li></ul><p><strong>Reach for fat (event-carried state transfer) when:</strong></p><ul><li>A consumer needs the value as it was at the moment it happened, the price at checkout or the address at ship time. A fresh read will cheerfully lie to you about the past, so bake the snapshot in.</li><li>A consumer keeps its own copy of your data, a cache, a search index or a read model that it updates from the stream. Shipping the state in the event lets it write straight through instead of calling back on every change.</li><li>You are crossing a company or trust boundary, a partner or a public stream. You may not be allowed to call back and you do not want to hand out your internal API as a side effect.</li><li>Availability beats freshness and downstream has to keep working while the source is down.</li><li>You need to rebuild state by replaying history. The log has to carry enough to rebuild from, which pushes you toward fat events or full event sourcing.</li><li>The producer and consumer belong to the same small team and sit right next to each other. The coupling is cheap because it is all yours and you save a hop. Revisit it the day a third consumer appears.</li></ul><p><strong>Reach for claim check when:</strong></p><ul><li>The payload is big, images, documents, scan files or batch blobs. Put a pointer on the bus and the body in object storage and move on.</li><li>You need a point-in-time snapshot but it is too large to inline. Claim check freezes the payload in storage and keeps your envelope skinny at the same time, the fat benefit without the fat message.</li></ul><h3>Where each one shows up</h3><p>To make it concrete, here is where these tend to land.</p><p>Skinny notifications are the default for user lifecycle events, most internal domain events, cache invalidation, search index updates, high-fanout feeds and product catalog changes where a product.updated carries just the product id and lets each consumer refetch the canonical record. This is comfortable territory for SNS and SQS, RabbitMQ, NATS, EventBridge or Redis streams.</p><p>Fat events earn their keep for order and payment records you need to audit, analytics and event-sourcing pipelines, integration with partners who cannot call your API and Kafka topics with log compaction used as a distributed cache of current state. This is Kafka with a schema registry and Avro or Protobuf, or Kinesis, where the tooling for versioned payloads is mature.</p><p>Claim check is for media processing, document workflows, large model payloads and anything where the body gets close to the broker size limit. A pointer on the bus and the payload in object storage.</p><h3>The part worth your attention</h3><p>Pick your broker, sure. Argue about it for an afternoon if it is fun. Then move on, because you can replace it in a weekend and nobody will write a postmortem about the swap.</p><p>The messages are the part you live with. They are the contract, the coupling and the product all at once. Choose a uniform envelope. Decide per event whether it carries an id or a snapshot. Reach for read models and claim checks before you let your events get fat by accident.</p><p>The bus is the easy part. Spend your design budget on the messages.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b23979dd688" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Monorepos Are Winning in the Age of Services and AI]]></title>
            <link>https://medium.com/@jensenbox/why-monorepos-are-winning-in-the-age-of-services-and-ai-1210d0a184ed?source=rss-8f807e8cf824------2</link>
            <guid isPermaLink="false">https://medium.com/p/1210d0a184ed</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[system-design-concepts]]></category>
            <dc:creator><![CDATA[Christian Jensen]]></dc:creator>
            <pubDate>Tue, 16 Dec 2025 19:49:08 GMT</pubDate>
            <atom:updated>2025-12-16T23:56:38.873Z</atom:updated>
            <content:encoded><![CDATA[<p>Some ideas stick around not because they are correct but because they are comfortable. In an era of deep observability, rapid iteration, and AI assisted development, those comfortable ideas are starting to break down. One of those ideas is that microservices require many repositories. Another is that a repository should map one to one with a deployable unit. Both are convenient mental shortcuts. Both are wrong often enough to cause real harm.</p><p>I will use the term microservices here deliberately because it is the word most people recognize. For most teams today though the more accurate term is simply services.</p><p>The industry has largely learned that ultra-fine grained microservices introduce real costs: coordination overhead, distributed failure modes, and cognitive load. Many organizations are consolidating toward fewer, more cohesive services that own a meaningful slice of the domain. The architectural principles remain the same even if the granularity shifts.</p><p>I am a strong proponent of monorepos even in systems composed of many services including what used to be called microservices. Not as a theoretical exercise but as a practical response to how software actually evolves in teams over time.</p><p>The core benefit is not tooling or trend alignment. It is atomicity.</p><h3>Observability, Debugging, and the Power of Full Context</h3><p>One of the most overlooked advantages of a monorepo is how dramatically it improves observability and root cause analysis.</p><p>Modern observability tools like Sentry, Datadog, Honeycomb, and others already integrate deeply with source control. They link errors, traces, and metrics back to commits, pull requests, and releases. In a multi repo world that linkage is fragmented. An incident may span several repositories, each with its own versioning scheme and release cadence.</p><p>In a monorepo there is one version of the system. One set of commits explains what changed. When a release introduces a regression, the search space collapses. You are not asking which repo changed. You are asking which commit.</p><p>This consistency enables better instrumentation as well. Shared libraries for logging, tracing, and metrics can be enforced and evolved centrally. Telemetry is emitted in a uniform way across all services, which makes dashboards meaningful and alerts actionable.</p><p>Root cause analysis becomes simpler not because bugs disappear, but because the system tells a coherent story. Traces cross service boundaries without context loss. Errors point to code that lives next to its dependencies. The cognitive overhead of reconstruction drops sharply.</p><h3>Monorepos as force multipliers for LLM driven development</h3><p>This advantage compounds in the age of LLM assisted engineering.</p><p>Agentic IDEs and tools like Kiro, Antigravity, Cline and similar systems perform best when they have full context. When the entire application lives in one repository, these tools can reason across services, shared libraries, schemas, and infrastructure code simultaneously.</p><p>Instead of guessing at contracts or hallucinating interfaces, they can see the producer and the consumer. Instead of proposing local fixes, they can suggest system level changes. Refactors become safer. Generated code aligns better with reality.</p><p>Even post incident workflows improve. LLMs are far more effective at identifying root cause when they can analyze the full diff of a release rather than a scattered set of changes across repositories. One commit graph beats a distributed puzzle every time.</p><p>This is not about replacing engineers. It is about amplifying their judgment by reducing missing context.</p><h3>Atomicity Is the Feature That Matters</h3><blockquote><strong><em>Why monorepos matter even more as services get larger</em></strong></blockquote><blockquote><em>As teams move away from ultra fine grained microservices toward fewer, more cohesive services, the surface area of change grows. Larger services tend to share domain models, schemas, and contracts more deeply.</em></blockquote><blockquote><em>In that world, coordinating change across repository boundaries becomes harder, not easier. A monorepo reduces that coordination cost by making shared change explicit, reviewable, and atomic. As service scope increases, the value of a single version of truth compounds rather than diminishes.</em></blockquote><p>A monorepo gives you a single version of the world at any given point in time. One commit represents one coherent system. One release represents one truth.</p><p>In a multi repo world coordinated change is an exercise in choreography. You land a breaking change in one repository. You update consumers in others. You hope CI catches the rest. You tag versions. You wait. You deploy in the right order. You still miss something.</p><p>In a monorepo a cross cutting change is a single commit. A refactor that touches five services is reviewed together. A release either contains all of it or none of it. Rollbacks are meaningful again because they roll back the system not a guess.</p><p>This is especially important for service based systems where interface drift is the norm rather than the exception. Atomicity reduces the blast radius of change not by isolating code but by keeping reality consistent.</p><h3>Local Environments Are Not a Luxury</h3><p>Another underappreciated benefit of a monorepo is the ability to spin up the entire system locally. Not a mocked version. Not a partial stack. The actual thing.</p><p>When all services live together you can codify how they run together. Shared Docker Compose files. Shared dev scripts. Shared fixtures. Shared assumptions.</p><p>This has compounding effects. Onboarding time drops. Debugging becomes faster. Engineers build intuition about the whole system rather than their narrow slice of it.</p><p>It also enables a powerful but rarely discussed workflow. Two engineers working on different parts of the system can collaborate in the same pull request. One changes a producer. Another updates a consumer. The review sees the full story. CI validates the whole system. There is no asynchronous guessing.</p><p>That is not possible when the system is fractured across repositories.</p><h3>Repositories Are Not Services</h3><p>The idea that a repository must map to a single service is a learned constraint not a fundamental one. We confuse deployability with ownership and ownership with isolation.</p><p>A repository is a unit of change not a unit of runtime. A service is a runtime concern. They do not need to align.</p><p>Breaking that mental model is uncomfortable at first. It feels like loss of control. In practice it clarifies responsibility.</p><p>Services can still be built independently. They can still be deployed independently. They can still scale independently. None of that requires separate repositories. It requires clear boundaries in code and in deployment pipelines.</p><p>Those boundaries are easier to enforce when you can see them.</p><h3>The Monorepo as an Organizational Map</h3><p>A well structured monorepo is a direct manifestation of how an organization works. Not how it draws boxes on slides but how work actually flows.</p><p>Ownership is explicit. A CODEOWNERS file becomes a living document of responsibility. Teams are encoded in paths. Review rules follow reality. There is no ambiguity about who owns what.</p><p>This has a subtle but important effect. It aligns incentives. When teams see adjacent code owned by adjacent teams they think twice about change. Conversations happen earlier. Interfaces become intentional rather than accidental.</p><p>In a multi repo world ownership is often implicit and therefore brittle. In a monorepo it is visible and enforceable.</p><h3>Migration Without Drama</h3><p>If you are already living in a multi repo world you do not need a heroic cutover to get the benefits of a monorepo. You need a migration path that preserves history, preserves velocity, and wins hearts early.</p><p>There are two broad patterns that work in practice. Pick based on your risk tolerance and your need for a staged rollout.</p><h3>Option 1: A history preserving merge into a new monorepo</h3><p>This is the cleanest end state and the most common pattern when teams are ready to commit. Each existing repo becomes a directory in the monorepo and you rewrite history so old commits still make sense once they live under that new directory.</p><p>A good default is to create a <strong>new</strong> repository for the monorepo. That keeps the migration mechanically simpler and avoids the political heat of picking a “winner” repo. It also makes it easy to freeze old repos later without rewriting their identity.</p><p>A naming trick that helps adoption is to name the repo after your org. If your GitHub org is widgetco then the monorepo is widgetco. It signals that this repo is the system. Not a service. Not a library. The organization.</p><h4>Step by step with Git commands</h4><p>Below is a repeatable approach using git filter-repo which is the modern replacement for git filter-branch.</p><p><strong>1) Create the new monorepo</strong></p><pre>mkdir widgetco<br>cd widgetco<br>git init<br>git commit --allow-empty -m &quot;Initialize monorepo&quot;</pre><p><strong>2) For each existing repository, rewrite it into a subdirectory</strong></p><p>Example for a service repo named payments:</p><pre># In a temp workspace<br>git clone git@github.com:widgetco/payments.git<br>cd payments</pre><pre># Rewrite history so everything lives under services/payments<br>git filter-repo --to-subdirectory-filter services/payments</pre><p><strong>3) Add the rewritten repo as a remote and merge it into the monorepo</strong></p><pre>cd ../widgetco<br>git remote add payments ../payments<br>git fetch payments</pre><pre># Merge histories without trying to auto reconcile unrelated roots<br>git merge --allow-unrelated-histories payments/main -m &quot;Import payments into monorepo&quot;</pre><pre>git remote remove payments</pre><p>Repeat for each service and each shared library, placing them into a structure such as:</p><ul><li>services/&lt;service-name&gt;</li><li>libs/&lt;library-name&gt;</li><li>infra/&lt;terraform-or-k8s&gt;</li><li>tools/&lt;dev-scripts&gt;</li></ul><p>If you have repos with the same root filenames such as README.md the subdirectory rewrite avoids conflicts.</p><h4>When this option is right</h4><ul><li>you want atomic refactors and atomic releases now</li><li>you want one CI system to own reality</li><li>you can invest in build and test tooling in parallel with the move</li></ul><h3>Option 2: A gradual consolidation using git subtree</h3><p>If you need a staged migration, git subtree can be a pragmatic bridge. It lets you bring another repository into a subdirectory while still having a path to pull upstream changes and optionally push them back.</p><p>A common pattern:</p><ul><li>create the monorepo with its folder structure</li><li>import each service as a subtree</li><li>keep teams working as they do today while you standardize build and test</li><li>later, stop syncing back and make the monorepo the only write target</li></ul><p>Example:</p><pre># From inside the monorepo<br>git remote add payments git@github.com:widgetco/payments.git<br>git fetch payments</pre><pre>git subtree add --prefix=services/payments payments main --squash</pre><p>If you want to keep syncing during transition:</p><pre>git subtree pull --prefix=services/payments payments main --squash</pre><h4>When this option is right</h4><ul><li>you need to migrate team by team</li><li>you want reversibility during early adoption</li><li>your platform team wants time to unify tooling</li></ul><h3>What about git submodules</h3><p>Submodules are a pointer to a specific commit in another repo, which means your monorepo becomes a repo of references rather than a repo of code. That fights the two biggest monorepo promises: atomic change and a single version of the world.</p><p>Submodules also add workflow friction. Clones need extra steps. Commits can update pointers without changing code. CI needs special handling.</p><p>If the goal is a real monorepo treat submodules as a short lived transitional crutch, not the destination. Subtree or a history preserving merge aligns better with the end state.</p><h3>Keeping Tests Fast in a Monorepo</h3><p>Monorepos do not make tests slow. Unscoped testing makes tests slow.</p><p>The trick is to build a test strategy that is dependency aware and change aware. Only run what is affected, cache what you can, and reserve the full system tests for when they are actually informative.</p><h3>The model: test pyramids per package plus system confidence gates</h3><p>A workable structure looks like this:</p><ul><li>unit tests: per package, run on every change that touches that package</li><li>integration tests: per service boundary, run when the service or its dependencies change</li><li>UAT and end to end: run on main, on release candidates, and on high risk changes</li></ul><p>The key is that CI is not a single run everything button. It is a router.</p><h3>Tooling patterns that keep feedback loops tight</h3><p><strong>Bazel for hermetic builds, caching, and selective execution</strong></p><p>Bazel is built around dependency graphs and repeatability. You define targets. Bazel computes what is affected. With caching you avoid rebuilding and retesting unchanged targets. In larger orgs remote caching and remote execution take this further.</p><p><strong>Nx or Turborepo style task graphs for JavaScript and TypeScript</strong></p><p>If your stack leans Node, Nx and Turborepo are popular because they focus on affected logic and task level caching without forcing a full Bazel adoption.</p><p><strong>Language native support when it exists</strong></p><p>Some ecosystems already have strong monorepo primitives. Go workspaces, Rust workspaces, Gradle builds, and .NET solutions can provide dependency graph execution even without a separate build system.</p><h3>Non negotiables for speed</h3><ul><li>define explicit dependency boundaries between packages and services</li><li>run tests by target not by repository</li><li>cache build artifacts and test results keyed by inputs</li><li>kill flaky tests quickly or quarantine them loudly</li><li>make run locally easy and similar to CI so developers trust the loop</li></ul><h3>Scaling, Infrastructure, and the Myth of the Tiny Service</h3><p>Scaling is the area where monorepos are most often misunderstood. The common objection is implicit: if everything lives together, how do I scale independently?</p><p>That objection is rooted in an outdated mental model. The idea that scaling requires a different repository comes from early microservice thinking, not from how infrastructure actually works.</p><h3>Scaling happens at the infrastructure boundary, not the repo boundary</h3><p>In practice, services scale through infrastructure primitives: load balancers, routing rules, autoscaling groups, container schedulers, and metrics. Repositories do not scale. Processes do.</p><p>A monorepo does not prevent independent scaling. It makes it easier to reason about because the code that participates in scaling decisions lives together.</p><p>A common and effective pattern:</p><ul><li>deploy the same codebase to multiple independently scalable clusters</li><li>route traffic at the load balancer or ingress layer based on path, host, or request attributes</li><li>scale each cluster based on metrics that matter for that workload</li></ul><p>For example:</p><ul><li>read heavy endpoints scale on request rate or latency</li><li>write heavy or transactional paths scale on queue depth or CPU</li><li>background processing scales on backlog size</li></ul><p>Each cluster can autoscale independently even though it is built from the same repository and often the same artifact.</p><h3>Fault isolation without service sprawl</h3><p>This approach also enables a powerful form of isolation.</p><p>If a particular class of operations is risky or resource intensive, you can route it to a dedicated cluster. If it locks up, exhausts resources, or is under attack, the blast radius is constrained.</p><p>You get the practical benefits people associate with microservices:</p><ul><li>independent scaling</li><li>isolated failure domains</li><li>targeted operational controls</li></ul><p>Without paying the tax of service sprawl, duplicated pipelines, and version drift.</p><p>From an operational perspective this is often easier. Most engineers are not deeply familiar with autoscaling group tuning, scaling metrics, load balancer rules, or WAF configuration. A smaller number of well understood scaling patterns applied consistently is safer than many bespoke services each with unique infrastructure.</p><h3>Databases, Migrations, and the Cost of Fragmentation</h3><p>Databases are where multi repo systems quietly accumulate debt.</p><p>In a multi repo world, each service tends to define its own view of the data. Over time those views overlap. Then replication appears. Then synchronization jobs appear. Eventually there are multiple sources of truth and nobody is quite sure which one is authoritative.</p><p>Keeping code models aligned with database schemas becomes a coordination problem. Schema changes land in one repo. Consumers update later. Or not at all. Migrations drift from code. Incidents follow.</p><h3>Monorepos enable atomic data evolution</h3><p>With a monorepo you can treat data models, migrations, and code as a single unit of change.</p><p>Common patterns that work well:</p><ul><li>a shared package that defines canonical data models</li><li>migrations that live alongside the models they change</li><li>tooling that enforces compatibility checks at build time</li></ul><p>When a migration changes a schema, the code that depends on it changes in the same commit. Rollbacks are meaningful because schema and code move together.</p><h3>When you truly need multiple databases</h3><p>Sometimes multiple databases are unavoidable. Regulatory boundaries, scale limits, or availability requirements may force it.</p><p>Even then, a monorepo helps.</p><p>You can:</p><ul><li>define shared model packages used by all database clients</li><li>centralize replication logic and validation tooling</li><li>make synchronization contracts explicit and testable</li></ul><p>Most importantly, you avoid accidental data domains. Overlap is intentional. Duplication is visible. Synchronization code is reviewed in context.</p><p>The pain does not disappear, but it becomes tractable.</p><h3>Making the Move Exciting Not Miserable</h3><p>A monorepo move fails socially long before it fails technically. The antidote is to sell outcomes, remove fear, and make the first experience pleasant.</p><h3>Convert developers by solving pain they feel this week</h3><p>Pitch monorepo benefits that map to daily frustration:</p><ul><li>one pull request for producer and consumer changes</li><li>one local environment that matches production topology</li><li>simpler refactors and safer interface evolution</li><li>fewer which repo is the real one moments</li></ul><p>Then prove it early:</p><ul><li>pick one cross repo change that is currently annoying</li><li>migrate just enough to make that change atomic</li><li>celebrate the win publicly with concrete before and after metrics</li></ul><h3>Convert management with risk reduction language</h3><p>Management does not buy monorepo is nicer. They buy:</p><ul><li>fewer release coordination failures</li><li>lower incident rate from version mismatches</li><li>faster lead time for cross cutting work</li><li>clearer ownership and accountability</li></ul><p>Tie it to cost. Duplicated pipelines and duplicated tooling are a tax. Integration failures are hidden schedule slips. Multi repo release choreography is operational risk.</p><h3>Make the migration feel safe</h3><ul><li>keep old repos readable and clearly deprecated for a defined window</li><li>provide a migration playbook with examples</li><li>invest in developer ergonomics on day one: bootstrap scripts, local run targets, fast linting</li><li>do not combine move repos with rewrite the architecture in the same week</li></ul><h3>Ownership Enforcement and Why Full Coverage Matters</h3><p>A monorepo without explicit ownership turns into shared nothingness. Everyone can change everything and nobody is responsible for anything.</p><p>A CODEOWNERS file lets you define who owns which paths. With branch protection you can require code owner review before merges.</p><h3>The rule: every line has an owner</h3><p>If CODEOWNERS does not cover everything you create orphan code:</p><ul><li>security sensitive areas get reviewed by the wrong people or by nobody</li><li>critical shared libraries become drive by change territory</li><li>incidents become blame fog because responsibility is not encoded anywhere</li></ul><p>Practical best practices:</p><ul><li>define a default owner for * then override with narrower rules</li><li>make ownership map to teams not individuals</li><li>treat ownership changes like architecture changes, review them carefully</li><li>enforce code owner approvals on protected branches so CODEOWNERS is not just documentation</li></ul><h3>Closing Thought</h3><p>AI is not going away, the more you can move with the flow the better and a monorepo will accelerate you AI because the context available. Monorepos and services are not opposing philosophies. They solve different problems at different layers. Microservices address runtime isolation and scaling. Monorepos address change management and organizational coherence.</p><p>If you care about atomic releases. If you care about reproducible local environments. If you care about making the structure of your organization explicit in code.</p><p>Then a monorepo is not a compromise. It is an honest representation of reality.</p><p>And reality is usually where the best engineering decisions live.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1210d0a184ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Quick Look at Pidgin]]></title>
            <link>https://medium.com/@jensenbox/a-quick-look-at-pidgin-12d9dc676576?source=rss-8f807e8cf824------2</link>
            <guid isPermaLink="false">https://medium.com/p/12d9dc676576</guid>
            <category><![CDATA[til]]></category>
            <category><![CDATA[language]]></category>
            <category><![CDATA[english]]></category>
            <category><![CDATA[pidgin]]></category>
            <category><![CDATA[interesting]]></category>
            <dc:creator><![CDATA[Christian Jensen]]></dc:creator>
            <pubDate>Sun, 27 Jul 2025 19:01:52 GMT</pubDate>
            <atom:updated>2025-07-27T19:01:52.874Z</atom:updated>
            <content:encoded><![CDATA[<p>Language is wild. Every time we think we’ve wrapped our heads around it, we discover something new and surprising. One of the most fascinating examples of this is Pidgin — a real, living language spoken by millions across the world.</p><p>Pidgin isn’t just some weird slang or broken English. It’s a full-fledged communication system born from necessity. When people from different language backgrounds need to talk — traders, colonizers, workers, neighbors — and no common language exists, Pidgin often emerges.</p><p>At first, it starts simple. Just enough to get the message across: “You bring rice?” “Me pay later.” But over time, it becomes more structured. People start to rely on it. Rules show up. Rhythm develops. And pretty soon, it becomes something people speak natively.</p><p>Pidgin is funny, but it’s serious too. It can carry jokes, news, politics, business — even love. You can flirt in Pidgin and it might even come off sweeter than polished English.</p><p>Dis na how language dey waka. E no dey wait for permission. E just dey happen, like dance for inside market. And Pidgin, e no dey shame. E go enter your ear soft-soft, make you laugh, make you reason, make you sabi say language no get one road.</p><p>So as we dey yarn so, you fit begin feel say this kain talk dey make sense. Na di same way people take build am — small small. Word by word. Vibe by vibe.</p><p>Na why we say, Pidgin no be play. Na real gbege of language wey fit carry world matter for head.</p><p>Make you sabi am. Make you try speak am small. Who know? E go ginger your brain.</p><p>Na so we dey end am — for sweet Pidgin way. No shaking.</p><p><strong>Translation for the Pidgin parts:</strong></p><ul><li><em>Dis na how language dey waka.</em> → This is how language works.</li><li><em>E no dey wait for permission.</em> → It doesn’t wait for permission.</li><li><em>E just dey happen, like dance for inside market.</em> → It just happens, like dancing in a marketplace.</li><li><em>E go enter your ear soft-soft, make you laugh, make you reason, make you sabi say language no get one road.</em> → It slips into your ears gently, makes you laugh, makes you think, makes you understand that there’s no single path for language.</li><li><em>So as we dey yarn so, you fit begin feel say this kain talk dey make sense.</em> → As we’re chatting like this, you might start to feel that this kind of talk makes sense.</li><li><em>Na di same way people take build am — small small. Word by word. Vibe by vibe.</em> → That’s the same way people built it — little by little. Word by word. Feeling by feeling.</li><li><em>Na why we say, Pidgin no be play.</em> → That’s why we say, Pidgin is no joke.</li><li><em>Na real gbege of language wey fit carry world matter for head.</em> → It’s a serious form of language that can carry global conversations.</li><li><em>Make you sabi am. Make you try speak am small.</em> → Get to know it. Try speaking it a little.</li><li><em>Who know? E go ginger your brain.</em> → Who knows? It might energize your thinking.</li><li><em>Na so we dey end am — for sweet Pidgin way. No shaking.</em> → That’s how we end it — in a sweet Pidgin style. No worries.</li></ul><blockquote>Yes, I did use AI to help me with the translations. It helped make sure I got the meanings right while keeping the tone playful and clear.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12d9dc676576" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Wait, there’s an HTTP 307? (Yes, and it actually matters)]]></title>
            <link>https://medium.com/@jensenbox/wait-theres-an-http-307-yes-and-it-actually-matters-e44cc2967234?source=rss-8f807e8cf824------2</link>
            <guid isPermaLink="false">https://medium.com/p/e44cc2967234</guid>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[http-request]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Christian Jensen]]></dc:creator>
            <pubDate>Fri, 25 Jul 2025 16:24:06 GMT</pubDate>
            <atom:updated>2025-07-25T16:24:06.373Z</atom:updated>
            <content:encoded><![CDATA[<p>Okay, confession time. I only recently learned about HTTP status code 307. I know, I know — it’s been around since HTTP/1.1. I’ve seen it in the spec, maybe skimmed over it once or twice (or more), but I never really thought about when or why I’d use it. I figured it was just some obscure variation of 302. Turns out, it’s not so obscure once you actually understand what it does.</p><p>And because I can’t be the only one who’s missed it, here’s a little rundown in case you also want to nerd out over HTTP edge cases.</p><h3>So what is 307?</h3><p>On the surface, it’s a temporary redirect — just like 302.</p><p>But here’s the kicker: <strong>307 guarantees that the client won’t change the HTTP method or request body when it follows the redirect.</strong> That’s it. That’s the whole point. And it’s surprisingly important.</p><h3>Why that matters</h3><p>Let’s say you make a POST request to /submit, but your server temporarily wants to handle that request at /submit2. If you respond with a 302 Found, the client <strong>might</strong> follow the redirect but change the method to GET. That’s what older browsers historically did, and even though modern clients are a bit more standards-compliant, it’s not something you want to gamble on.</p><p>With 307 Temporary Redirect, the client is explicitly told: &quot;Hey, same method, same body — just send it over there instead.&quot;</p><h3>Use cases</h3><ul><li><strong>Load shedding or blue/green deploys</strong>: You want to temporarily redirect POST traffic to a new backend, but you can’t risk mutating the request.</li><li><strong>Authorization proxies</strong>: You receive a PUT, need the client to retry with a token at a new location — but the method must remain PUT.</li><li><strong>Retry patterns</strong>: Some systems use 307 when asking clients to try again with the same payload after a transient failure.</li></ul><h3>Pros</h3><ul><li><strong>Method safety</strong>: You won’t lose the semantics of the original request.</li><li><strong>Better developer guarantees</strong>: If your client respects the spec, you know exactly what’s going to happen.</li><li><strong>Backward compatible fallback for </strong><strong>GET</strong>: A 307 works just like a 302 for GET requests, so no harm there.</li></ul><h3>Cons</h3><ul><li><strong>Not universally supported</strong>: Really old clients might not respect 307 correctly. (We&#39;re talking Internet Explorer 9 and older.)</li><li><strong>Caching behavior can be weird</strong>: Like all redirects, if you’re not careful with cache headers, you’ll end up with clients caching the redirect in places you didn’t expect.</li><li><strong>Server logic has to be intentional</strong>: It’s easy to reach for 302 out of habit — you have to mean it when you use 307.</li></ul><h3>Gotchas</h3><ul><li><strong>It won’t upgrade to </strong><strong>GET</strong>: If your client was doing a POST and hits a 307, it’ll keep doing POST. That’s a feature — but it can bite you if you actually <em>wanted</em> a GET.</li><li><strong>Body forwarding can break things</strong>: Some proxies or intermediate layers may mishandle forwarded request bodies on redirects. Don’t assume it’ll just work through your entire infra stack.</li><li><strong>Testing this can be annoying</strong>: Simulating a redirect with body retention is hard to test with a browser. You’ll usually need to reach for curl or a tool like Postman to really validate it.</li></ul><h3>TL;DR</h3><p>307 is the status code you want when you need to temporarily redirect a request <strong>without changing the HTTP method or body</strong>. It’s the precise tool for a very specific job — and it’s way more useful than I gave it credit for.</p><p>If you’ve ever been bit by a POST turning into a GET mid-flight and wondered what happened, now you know.</p><p>Sometimes the best part of this job is realizing how much you still don’t know. And sharing the surprise with others.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e44cc2967234" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Does It Mean To Be Smart?]]></title>
            <link>https://medium.com/@jensenbox/what-does-it-mean-to-be-smart-600b430876c0?source=rss-8f807e8cf824------2</link>
            <guid isPermaLink="false">https://medium.com/p/600b430876c0</guid>
            <category><![CDATA[emotional-intelligence]]></category>
            <category><![CDATA[intelligence]]></category>
            <category><![CDATA[knowledge]]></category>
            <category><![CDATA[wisdom]]></category>
            <category><![CDATA[emotions]]></category>
            <dc:creator><![CDATA[Christian Jensen]]></dc:creator>
            <pubDate>Thu, 24 Jul 2025 15:54:00 GMT</pubDate>
            <atom:updated>2025-07-24T15:54:00.293Z</atom:updated>
            <content:encoded><![CDATA[<p>When I was younger, I used to think a smart person was someone who always knew the answer. The kind of person who crushed trivia, won arguments and seemed to be three steps ahead in a debate. But over time, I started to see that being smart isn’t one thing. It’s actually a combination of things — and not all of them are obvious at first.</p><p>These days, I think of “smart” as a grid. Two columns, three rows. One side is about facts and data — the kind of thinking we usually associate with intelligence. The other side is about emotion — the stuff we don’t always talk about but deeply affects how we move through the world.</p><p>Each column has three levels:</p><ol><li>Knowledge</li><li>Intellect</li><li>Wisdom</li></ol><p>Let’s break it down.</p><h3>1. Knowledge (Facts &amp; Data)</h3><p>This is where most people start. It’s the stuff you learn in school. Names, dates, formulas, rules. You can acquire knowledge from books, lectures, documentation, Wikipedia, podcasts. It’s accessible to anyone with curiosity and time.</p><p>Some people stop here. They think memorizing a lot of things makes them smart. But without the next level, it doesn’t mean much.</p><h3>2. Intellect (Facts &amp; Data)</h3><p>Intellect is what you’re born with. It’s the horsepower behind your brain. It’s how fast you can process what you’ve learned. It’s the difference between memorizing a formula and actually understanding how and why it works. It’s what lets you synthesize new ideas or spot patterns others miss.</p><p>You can train this a bit, just like you can get better at lifting weights. But for the most part, it’s built-in. And while it’s impressive, it’s still not the whole picture.</p><h3>3. Wisdom (Facts &amp; Data)</h3><p>This is the part that gets earned. You only get wisdom by screwing up. You launch something that crashes. You take a shortcut that backfires. You make a bold claim and turn out to be totally wrong.</p><p>If you’re paying attention, every failure teaches you something deeper than any book ever could. Wisdom is what makes you hesitate before jumping to conclusions. It’s what tells you, “Maybe it’s more complicated than that.”</p><p>And here’s the thing: without wisdom, knowledge and intellect can actually make you dangerous. You can be the smartest person in the room and still be dead wrong. That’s why this row — wisdom — is the only one that really matters.</p><p>Now let’s look at the other side of the grid — the emotional column. Same rows, different focus.</p><h3>1. Knowledge (Emotional)</h3><p>This is learning how people tend to act and react. It’s the basic awareness that people have emotions, needs, baggage and blind spots. It’s knowing what empathy is. It’s being aware that communication is mostly about listening.</p><p>You can read books on leadership, psychology and emotional intelligence. You can watch how people respond to you. You can learn this.</p><p>But again — learning <em>about</em> feelings is not the same as navigating them well.</p><h3>2. Intellect (Emotional)</h3><p>Some people are just naturally gifted at reading a room. They sense tension before anything is said. They can predict how someone will respond before they even speak. These folks often seem emotionally “tuned in” — like they were born with a sixth sense for people.</p><p>This kind of emotional intellect helps with everything from leadership to friendship. It’s powerful. But again — it’s not enough on its own.</p><h3>3. Wisdom (Emotional)</h3><p>This is where the real growth happens. You don’t get emotional wisdom from books. You get it by hurting people. Or being hurt. You get it by messing up a hard conversation, losing a friendship, saying the wrong thing at the worst time — and sitting with the consequences.</p><p>If you pay attention, those failures change you. They soften you. You become more careful, more compassionate, more grounded. You realize people are complex. You learn when to speak and when to just sit quietly with someone in pain.</p><p>Emotional wisdom is what lets you be kind <em>and</em> clear. Honest <em>and</em> gentle. It’s what makes you a good parent, partner, manager, friend.</p><p>And just like on the data side, it’s the wisdom row that really counts.</p><h3>The Full Grid</h3><p>To be truly smart, you need all six. But the two wisdoms — those are the pillars. That’s where the depth is. That’s where trust, leadership and character live.</p><p>You can cram knowledge. You can flex your intellect. But wisdom only comes when you fall down and choose to get back up differently.</p><p>I have a favorite saying:</p><blockquote><strong>To acquire ultimate wisdom, you have to experience ultimate failure.</strong></blockquote><p>It’s a hard truth. But if you’ve lived it, you know — that’s when things finally start to make sense.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=600b430876c0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Local Dev Environment Is a Product. Treat It Like One.]]></title>
            <link>https://medium.com/@jensenbox/your-local-dev-environment-is-a-product-treat-it-like-one-0666eaeed7a8?source=rss-8f807e8cf824------2</link>
            <guid isPermaLink="false">https://medium.com/p/0666eaeed7a8</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Christian Jensen]]></dc:creator>
            <pubDate>Thu, 24 Jul 2025 03:29:43 GMT</pubDate>
            <atom:updated>2025-07-24T03:29:43.081Z</atom:updated>
            <content:encoded><![CDATA[<p>There’s not much more frustrating than sitting down to code and instead of coding you end up spending the next two hours getting your app to boot.</p><p>You pull the latest changes, run the usual commands and suddenly things are broken. The database won’t start. Your migrations are in a weird state. A service is silently failing in the background. You try wiping things manually. You restart Docker. Still broken. You start wondering: do I have to reclone the repo?</p><p>We’ve all been there. And if you’re working on a team, chances are someone else is having the same problem and quietly burning time too.</p><p>Here’s the truth: your local dev setup <em>is</em> part of your product. If it’s slow, brittle, or hard to understand, it will slow your entire team down. And developer hours are not cheap. <strong>For many companies, they’re the most expensive line item in the budget.</strong> Every minute your devs spend debugging their dev environment is money leaking out the door.</p><h3>Clean Resets Save Time and Sanity</h3><p>The first test of any local setup is: <strong>Can I reset it back to a clean state with one command?</strong></p><p>You should be able to wipe the database, kill the containers, clear the cache, remove volumes and rebuild the stack — all in one go. That command should be fast, safe and documented.</p><p>Whatever the mechanism, resetting your local environment should be fast, repeatable and require minimal thought. Whether it’s implemented with Bash, Docker Compose, or a task runner, the important thing is that developers don’t have to hunt down broken state or stack traces just to get back to a clean slate. One command. Back to square one. No questions asked.</p><p>If your answer to “how do I get back to a working state?” is “reclone the repo and good luck,” then you don’t have a real local environment — you have a house of cards.</p><h3>Docker Is Your Friend (Until It Isn’t)</h3><p>Docker Compose makes it easy to bring up multiple services like databases, queues and search engines in one go. It’s especially helpful for teams that want local parity with production. You define your services in a single file and spin up the whole environment with a single command. That kind of repeatability saves hours.</p><p>And for teams using VS Code, Dev Containers take it a step further. With a .devcontainer.json file, you can define not just your services, but also your entire development environment — runtime, dependencies, tools and editor extensions. This lets developers onboard fast and work from a fully isolated, consistent environment without needing to install anything globally. It’s also powerful for remote work and cloud-based development.</p><p>The catch? Startup time can be sluggish. Debugging can feel opaque. And Dev Containers in particular can sometimes add a layer of indirection that makes troubleshooting harder.</p><p>In practice, we often run the core app (Python, Ruby, or Node) directly on the host and let Docker handle the supporting services. It’s the best of both worlds: fast iteration, clean isolation and easy resets.</p><h3>Use a Task Runner</h3><p>To make this concrete, here’s a pared-down example of a Bash-based task runner script. It keeps things portable and easy to understand — the following is a sample of what you might do. This pattern is graciously borrowed from <a href="https://medium.com/@adrian_cooney/introducing-the-taskfile-5ddfe7ed83bd">this article</a>.</p><pre>#!/usr/bin/env bash<br><br>set -o errexit<br>set -o nounset<br>set -o pipefail<br><br>function help() {<br>  echo &quot;$0 &lt;task&gt;&quot;<br>  echo &quot;Tasks:&quot;<br>  compgen -A function | grep -v &#39;^_&#39; | cat -n<br>}<br><br>function up() {<br>  docker compose up web workers<br>}<br><br>function clean() {<br>  rm -rf node_modules tmp log .cache .pytest_cache<br>}<br><br>function reset() {<br>  docker compose down --remove-orphans --volumes<br>  clean<br>}<br><br>function reset-all() {<br>  clean<br>  reset<br>  docker ps -q | xargs -r docker stop<br>  docker system prune -a -f --volumes<br>  docker volume ls -q | xargs -r docker volume rm -f<br>  docker images -q | xargs -r docker rmi -f<br>  docker network ls --filter &quot;type=custom&quot; -q | xargs -r docker network rm<br>}<br><br>function seed() {<br>  echo &quot;Seeding the database...&quot;<br>  docker compose run --rm rails bundle exec rake db:seed<br>  docker compose run --rm django-runner python manage.py loaddata initial_data<br>}<br><br># This final line parses command-line arguments and runs the matching function,<br># defaulting to &#39;help&#39; if none is given. It&#39;s the glue that turns this file into a CLI tool.<br>time &quot;${@:-help}&quot;</pre><p>This approach works on any Unix-like system out of the box — no installation required. It’s a great starting point if your team is hesitant to take on another CLI tool.</p><p>A reliable task runner is one of the most underrated parts of a solid local development experience. Whether you’re starting the stack, seeding the database, or running tests, having well-defined commands you can count on — and not having to remember weird incantations — saves time and avoids frustration.</p><p>There are several good options:</p><ul><li><strong>Bash</strong>: The lowest common denominator. It’s already installed on macOS, Linux and most WSL setups. A simple tasks.sh script with case-switch logic works fine and keeps things dead simple and portable.</li><li><a href="https://just.systems/"><strong>Just</strong></a>: A modern, Rust-based command runner that’s great for organizing tasks. It uses a justfile and feels like Make without the headache. It’s lightweight, readable and shell-native. One caveat - each line in each section runs in its own shell environment - meaning you cannot share variables. You have to resort to multiline bash scripts embedded if you need variable sharing - or calling just again after setting up the variables.</li><li><a href="https://taskfile.dev/"><strong>Taskfile</strong></a>: A more structured, YAML-based task runner written in Go. It adds features like dependencies and parallelism, but only requires the standalone Task binary.</li><li><a href="https://pixi.sh/"><strong>Pixi</strong></a>: If you’re already using Pixi for environment management, it includes a built-in task runner that integrates nicely with its environment definitions. Tasks are defined right alongside your dependencies.</li></ul><p>Choosing the right tool depends on your team’s needs and preferences. If you want zero setup, Bash wins. If you want clarity and structure, just or taskfile are worth exploring. And if you&#39;re using pixi for cross-platform compatibility, you might get everything you need in one place.</p><p>Whatever you choose, the important part is having <em>one place</em> to run your commands — and making sure they work the same way for everyone.</p><h3>Pixi: The End-All Dev Tool?</h3><p>If you’re looking for a more batteries-included solution, pixi is worth a serious look. It combines task running, environment management and reproducible builds into one CLI. You can define all your tasks, dependencies and environment variables in a pixi.toml and share the same config across platforms without worrying about what tools a dev has installed.</p><p>Pixi uses conda under the hood, which means it works great for Python and scientific stacks, but it also handles Node, Ruby, Rust and more. Tasks in Pixi are straightforward and shell-native, similar to just, but with the added bonus of environment isolation built in.</p><p>For teams who want fewer moving parts and better cross-platform consistency, Pixi could be a one-stop shop. It won’t replace Docker, but it might reduce how many things you have to install locally.</p><p>Interesting note on pixi — it has uv baked in — not as a cli but embedded internally as a library. So if you are using uv already, pixi is likely a superset of what you already have.</p><h3>Seed Data Is Developer Fuel</h3><p>Once your stack is running, you want something to click on.</p><p>Seed data should come baked into the experience. You should have test users, orders, messages — whatever your app uses — available with one command or automatically on boot.</p><p>Good seed scripts are fast, idempotent and versioned alongside your schema. Great ones let you load different scenarios or edge cases. And the best ones reflect realistic data so your local UX actually looks like the real product.</p><p>But sometimes seed data just isn’t enough.</p><p>When you’re building features that depend on messy, real-world relationships or a lot of interconnected data, it’s often easier to start from a cleansed copy of production. Tools like <a href="https://www.greenmask.io/"><strong>Greenmask</strong></a> can help anonymize and scrub production databases so they can be safely used in development or testing environments.</p><p>Once you’ve generated a safe version of the production database, you can host it on an cloud bucket and distribute it with a simple sync command. Combine that with a local restore script and you’ve got a powerful shortcut to near-production realism without exposing sensitive data.</p><p>Having this kind of fallback makes local environments feel reliable and valuable — especially for debugging or exploratory work.</p><h3>Bare Metal for Speed, Containers for Consistency</h3><p>There’s no question that running Python, Ruby, or Node directly on your system is faster. You get instant reloads, full control and easier debugging.</p><p>But managing all the right versions, compilers and native dependencies can be painful. That’s where language version managers come in:</p><ul><li><strong>Python</strong>: pyenv is the classic choice, but uv is a new drop-in replacement for pip that brings serious speed improvements. Better yet, uv is integrated directly into pixi as a backend library, giving you fast, isolated environments with no fuss.</li><li><strong>JavaScript/Node</strong>: fnm (Fast Node Manager) is a fantastic option. It’s written in Rust, lightning-fast and supports .node-version or .nvmrc files out of the box. No more waiting around for Node versions to switch.</li><li><strong>Ruby</strong>: I rather not make a recommendation here — I have heard many very strong opinions on what to use and I rather bow out than start a flame-war.</li></ul><p>It is worth mentioning tools like <a href="https://github.com/jdx/mise">mise</a> and <a href="https://asdf-vm.com/">asdf</a> exist and are in common use — I just don’t have enough experience with them to give an opinion.</p><p>Even with these tools, you still hit occasional headaches with native dependencies or mismatched versions. Docker can solve that, but as we said, it slows things down. That’s why we often do both: run the app on bare metal using language managers and everything else (DBs, queues, search engines) in Docker.</p><p>One more thing to keep in mind: avoid packages that require native compilation whenever possible. Compiling libraries can introduce a mess of dependency issues, especially when you’re trying to match what works on your machine with what’s running in CI or production. This becomes even more of a headache when you’re developing on ARM-based machines (like Apple Silicon) and deploying to x86_64 (Intel/AMD) environments.</p><p>Whenever possible, prefer prebuilt binary packages or wheels over source-based ones. This drastically reduces friction for local development and avoids long compile times or obscure build errors that derail new developers on day one.</p><h3>Don’t Make Me Log Into the Cloud</h3><p>Nothing kills momentum faster than being forced to log into a cloud provider just to get your local stack running. If you can’t boot the app without authenticating to AWS, GCP, or Azure, you’re creating a high-friction experience for every developer.</p><p>That said, a one-time login to pull down secrets or configuration that shouldn’t live in source code is a reasonable exception — especially if it helps keep sensitive data out of your Git history. But this should be the first step, not a recurring requirement.</p><p>For apps that depend on cloud-native services like S3, Secrets Manager, SQS, SNS, or DynamoDB, there are solid local emulators that can stand in during development. Tools like <a href="https://www.localstack.cloud/"><strong>LocalStack</strong></a>, <a href="https://github.com/softwaremill/elasticmq"><strong>ElasticMQ</strong></a> (for SQS) and <a href="https://github.com/getmoto/moto"><strong>moto</strong></a> (for mocking AWS services in Python) make it possible to simulate cloud behavior without needing live credentials. This lets you test real workflows while staying offline and keeping your dev environment self-contained.</p><p>Your app might load secrets from Secrets Manager, verify cloud identity, or pull config files from S3 — and that’s fine in production. But for local development, those dependencies should be optional or easily stubbed out. I am a huge fan of <a href="https://github.com/piskvorky/smart_open">smart_open</a> for accessing files in an agnostic way.</p><p>Developers should be able to run the app on a plane. Use .env files, direnv, or dotenv-style loaders to inject secrets locally. Provide sensible fallbacks. Build in mocks where you can.</p><p>Make the happy path work without the cloud. The smoother it is, the more developers will stay in flow.</p><h3>Secrets and Environment Variables: Keep It Simple</h3><p>Use .env files to define local secrets and credentials. Keep them out of Git. Load them automatically when starting your app or containers.</p><p>Use tools like dotenv-linter to keep things clean and catch missing vars. Avoid default values if possible — they’ll bite you someday when the real environment doesn’t behave the way your default assumed. And fail early — if a required env var is missing, the app should crash with a clear error, not some obscure stack trace five minutes later.</p><p>Never bake real secrets into Docker images, justfiles, or source code. Keep things safe and simple.</p><h3>Wrapping Up</h3><p>A solid local development environment isn’t just nice to have — it’s a force multiplier. It reduces onboarding time, prevents wasted hours and helps developers stay in flow.</p><p>It also sends a message: we care about developer experience. We respect your time.</p><p>If you’re a tech lead, ask your team: can a new dev clone the repo and run the whole stack with one command? Can they reset everything with another? Can they work offline?</p><p>If not, it might be time to invest.</p><p>Because your local dev setup is a product. And if it’s broken, your real product probably is too.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0666eaeed7a8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What If the Real Power of MRI Isn’t in the Image at All?]]></title>
            <link>https://medium.com/@jensenbox/what-if-the-real-power-of-mri-isnt-in-the-image-at-all-401c9e00ae1d?source=rss-8f807e8cf824------2</link>
            <guid isPermaLink="false">https://medium.com/p/401c9e00ae1d</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[medical-imaging]]></category>
            <category><![CDATA[knowledge]]></category>
            <category><![CDATA[physics]]></category>
            <category><![CDATA[medicine]]></category>
            <dc:creator><![CDATA[Christian Jensen]]></dc:creator>
            <pubDate>Tue, 22 Jul 2025 16:27:43 GMT</pubDate>
            <atom:updated>2025-07-22T16:27:43.398Z</atom:updated>
            <content:encoded><![CDATA[<p>MRI is often described as a marvel of modern medicine, but if you’ve ever wondered <em>how</em> it works at the level of physics, the answers are stranger and more beautiful than you might expect. Let’s start with a simple question: why do MRI machines listen to <strong>hydrogen</strong> and not something else, like carbon or oxygen? This article is a bit of a journey so buckle up and hold on — it is a twisty path.</p><h3>Why Hydrogen?</h3><p>The key lies in hydrogen’s simplicity. Each hydrogen atom has a single proton in its nucleus. That proton behaves like a tiny spinning magnet, and under a magnetic field, it starts to <a href="https://en.wikipedia.org/wiki/Precession"><strong>precess</strong></a>, just like a spinning top wobbles around a vertical axis. This <a href="https://en.wikipedia.org/wiki/Precession">precession</a> creates a tiny but detectable electromagnetic signal.</p><p>Hydrogen is also everywhere in the body. Because we’re mostly water (H2O), hydrogen nuclei are incredibly abundant, especially in tissues, organs, and fluids. That makes it the perfect candidate for building high-resolution images of the human body.</p><p>And finally, hydrogen has a high <strong>gyromagnetic ratio</strong> (42.58 MHz/Tesla), which means it resonates strongly when exposed to radio waves, giving us strong, clean signals. Carbon and oxygen, while essential to life, either occur in much smaller magnetic-sensitive isotopes or produce weaker signals with more noise.</p><h3>What Frequency Does MRI Listen To?</h3><p>The frequency MRI listens to is not fixed. It’s determined by the <strong>Larmor equation</strong>:</p><pre>f = γ * B</pre><p>Where:</p><ul><li>f is the precession frequency (in MHz)</li><li>γ is the gyromagnetic ratio of hydrogen (42.58 MHz/T)</li><li>B is the strength of the magnetic field (in Tesla)</li></ul><p>So in a 1.5T scanner, hydrogen resonates at <em>about</em> <strong>64 MHz</strong>, and in a 3T scanner, it’s <em>about</em> <strong>128 MHz</strong>. These are radio frequencies, not x-rays or gamma rays, which makes MRI safe for repeated use.</p><p>This relationship is <strong>linear and continuous — </strong>as the magnetic field increases, the precession frequency increases proportionally. It’s not a quantized or step-based system. Even very small changes in magnetic field strength lead to directly proportional changes in frequency. This precision is critical for tuning MRI systems and also underpins spatial encoding during image formation.</p><h3>A Spinning Top on a Tight String</h3><p>Imagine a spinning top attached to a string that’s pulled upward. The top doesn’t spin perfectly vertical. Instead, it wobbles in a circle around the string. That wobble is called <strong>precession</strong>.</p><p>In MRI, the magnetic field is the string. The tighter the string (stronger magnetic field), the faster the top wobbles (faster precession). The MRI machine sends a perfectly timed radio pulse to push the spinning top sideways. As the top wobbles back into alignment, it emits a tiny radio signal that the MRI can detect.</p><h3>What Does the MRI Machine Actually Detect?</h3><p>The MRI machine doesn’t take a picture in the way a camera does. It detects <strong>precessing electromagnetic signals</strong> using <strong>receive coils</strong>. These are loops of copper wire tuned to the Larmor frequency of hydrogen. When hydrogen nuclei relax and wobble, they induce tiny voltages in the coils, which are then amplified, digitized, and stored.</p><p><strong>The raw data isn’t an image</strong>. It’s a bunch of complex-valued signals collected over time. This signal data lives in something called <a href="https://en.wikipedia.org/wiki/K-space_in_magnetic_resonance_imaging"><strong>k-space</strong></a>.</p><h3>What Is k-Space?</h3><p>k-space is not an image. It’s a mathematical space that holds all the <strong>spatial frequency components</strong> of the image. Think of it like this:</p><ul><li>The center of k-space holds low-frequency data (contrast and general structure).</li><li>The edges hold high-frequency data (edges and sharp details).</li></ul><p>Every point in k-space corresponds to a specific combination of frequencies in the x, y, and z directions. You fill k-space line by line using <strong>gradient coils</strong>, which subtly alter the magnetic field to encode spatial position into the frequency of the received signal.</p><p>Once k-space is filled, the image is reconstructed using an <strong>inverse Fourier transform</strong>. That’s it. All that spinning and wobbling and signal detection comes down to a simple but powerful mathematical operation.</p><p>Please have a watch (Credit to <a href="https://www.linkedin.com/in/rafael-o-halloran-85102a43/">Rafael O’Halloran</a>)</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FQHtZR0mtB80%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DQHtZR0mtB80&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FQHtZR0mtB80%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ffd856c06acfc55b7b0acd4fccff08f5/href">https://medium.com/media/ffd856c06acfc55b7b0acd4fccff08f5/href</a></iframe><h3>What’s Stored in a DICOM File?</h3><p>You might wonder: does a <a href="https://en.wikipedia.org/wiki/DICOM">DICOM</a> MRI file contain raw k-space data? The answer is no. DICOM files store the <strong>reconstructed image</strong> — the output <em>after</em> the inverse Fourier transform. That means phase information, coil sensitivity, and high-frequency data might be compressed or discarded.</p><p>If you’re a researcher or machine learning engineer, raw k-space data is gold. With it, you can:</p><ul><li>Reconstruct images with custom filters or algorithms</li><li>Perform artifact correction (motion, aliasing, Gibbs ringing)</li><li>Train AI models to reconstruct undersampled scans</li><li>Extract quantitative maps (like T1, T2, and susceptibility)</li></ul><p>But that kind of data is proprietary and typically only available through research agreements or open datasets like <strong>fastMRI</strong> or <strong>mridata.org</strong>.</p><h3>So What Is “k” in k-Space?</h3><p>“k” stands for <strong>spatial frequency</strong>. It’s how quickly signal intensity changes over distance. Units are in <strong>1/mm</strong> or <strong>radians/meter</strong>. You can think of k-space as a frequency map of the entire image. The sharper the image feature, the more high-frequency content it adds to k-space.</p><p>When you fill in more of k-space, you get a clearer image. When you sample less of it (as in accelerated imaging), you’re taking a gamble — unless you use smart reconstruction techniques like <strong>compressed sensing</strong> or <strong>deep learning</strong>.</p><h3>Why Raw k-Space Matters for AI</h3><p>If you’re working in machine learning or AI for medical imaging, raw k-space isn’t just helpful — it’s foundational. DICOM images, while visually useful, are the result of multiple processing steps: coil combination, filtering, Fourier transformation, and often compression. These steps, though necessary for clinical use, can obscure or eliminate important signals that could otherwise improve a model’s performance.</p><p>Raw k-space data gives models access to the <strong>true source signal</strong>. That means:</p><ul><li>The model can learn to reconstruct from partial or noisy input</li><li>It can capture artifacts like motion or aliasing and learn to correct them</li><li>It retains phase information, which is crucial for advanced reconstructions like quantitative susceptibility mapping (QSM)</li><li>It enables novel architectures like end-to-end image synthesis from frequency space</li></ul><p>Training on images alone is like trying to reverse-engineer music by looking at a waveform snapshot. Training on k-space is like giving the model the actual notes, rhythm, and instrument data.</p><p>For researchers pushing the limits of accelerated imaging, artifact removal, or quantitative diagnostics, <strong>k-space is the source of truth</strong>. It’s where the physics lives — and where the best AI models learn.</p><h3>Conclusion</h3><p>MRI is a brilliant interplay of physics, engineering, and math. It listens to hydrogen because hydrogen is simple, abundant, and resonates cleanly. It detects the tiny RF signals emitted by spinning protons using resonant coils. It collects those signals in frequency space (k-space) and turns them into images with inverse Fourier transforms.</p><p>But if we’re serious about pushing the frontiers of AI in medical imaging, we need to move beyond processed images. Training models on DICOM alone is like asking them to learn from a painting rather than the raw brushstrokes. True innovation in reconstruction, artifact removal, super-resolution, and quantitative diagnostics requires <strong>direct access to k-space</strong>.</p><p>That means more open datasets, more flexible scanner APIs, and broader collaboration between hospitals, vendors, and researchers. The tools already exist — what’s needed now is access.</p><p>Because the real future of MRI won’t just be in producing beautiful images. It’ll be in <strong>teaching machines to understand the signals beneath them</strong> — and that starts in k-space.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=401c9e00ae1d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quantum Won’t Replace Your Computer]]></title>
            <link>https://medium.com/@jensenbox/quantum-wont-replace-your-computer-c6a9bf30fc9c?source=rss-8f807e8cf824------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6a9bf30fc9c</guid>
            <category><![CDATA[classical-computing]]></category>
            <category><![CDATA[human-behavior]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[gpu]]></category>
            <category><![CDATA[quantum-computing]]></category>
            <dc:creator><![CDATA[Christian Jensen]]></dc:creator>
            <pubDate>Sun, 20 Jul 2025 17:35:09 GMT</pubDate>
            <atom:updated>2025-07-20T17:35:09.997Z</atom:updated>
            <content:encoded><![CDATA[<p>Every so often the tech world gets swept up in a wave of excitement of <em>“this changes everything.”</em> The newness feels absolute — until it doesn’t. Only after the gold rush fades does objectivity return and we start to see what actually changed and what quietly stayed the same.</p><p>Quantum is one of those waves — just on the tail of AI.</p><h3>A Brief History of Not-So-Final Upgrades</h3><p>If you look at the history of computing, it’s a story of stacking layers. Mechanical relays gave way to vacuum tubes. Tubes got swapped out for transistors. Transistors scaled into integrated circuits. Those circuits got more complex and started splitting into multi-core CPUs. Then came GPUs, TPUs and everything in between.</p><p>At each step, we didn’t throw away the old layer. We added to it. We pushed it lower in the stack. Sure, vacuum tubes became obsolete in most use cases, but their job didn’t vanish. It just got picked up by something faster, smaller and cheaper. And once in a while, something did get replaced — but even that felt like an evolution, not an erasure.</p><h3>Additive, Not Replacive</h3><p>CPUs didn’t kill GPUs. GPUs didn’t kill FPGAs. FPGAs didn’t kill ASICs. What we got was specialization.</p><ul><li>CPUs are general-purpose workhorses.</li><li>GPUs handle parallel workloads like image rendering and matrix math.</li><li>FPGAs shine when you need custom logic with low latency.</li><li>TPUs? Built for ML inferencing at scale.</li><li>Quantum processors? Designed for massive, tangled problem spaces that choke classical systems — things like optimization, quantum simulation and code-breaking. Not general-purpose, but specialized where weirdness wins.</li></ul><p>Quantum fits into this evolution, but it arrives from a different angle. It’s not another chip slot on your motherboard. It’s more like a new dimension of compute. Where classical hardware executes logic deterministically, quantum hardware explores multiple possibilities at once and collapses them into an answer.</p><p>Its specialization? Problems with huge state spaces, deep entanglement, or quantum behavior at their core. Quantum won’t render your game faster or crunch your billing data better — but it might discover a new material or optimize your global supply chain in ways that were computationally out of reach before.</p><h3>What Quantum Actually Does</h3><p>Quantum computers are good at very specific things:</p><ul><li>Searching massive solution spaces fast (e.g. optimization problems)</li><li>Simulating quantum systems (e.g. chemistry, materials science, human behaviors)</li><li>Breaking certain cryptographic algorithms (e.g. Shor’s algorithm for RSA)</li></ul><p>The key difference is how quantum computers work. Instead of flipping 1s and 0s, they manipulate qubits that can exist in a superposition of both. That opens up a whole new type of computation that isn’t faster than classical — it’s <strong>orthogonal</strong>.</p><p>Think of it like this: classical computers give you the best route from A to B. Quantum computers are more like Nicolas Cage in the movie <em>Next</em> — they explore all the possible futures a few seconds ahead and then choose the one that works. It’s not faster in the traditional sense. It’s a different way of seeing the problem space.</p><h3>The Real Shift: Changing Assumptions</h3><p>What makes quantum powerful isn’t just the math. It’s the challenge it presents to our deepest assumptions. We’re used to thinking of computing progress as a series of final stages: vacuum tubes replaced relays, transistors replaced tubes. Each one felt like <em>the</em> answer — until something better came along.</p><p>Quantum feels like a finish line. It bends logic, breaks encryption and solves problems that once looked unsolvable. But assuming it’s the end is just another assumption to challenge. This may be quantum’s most powerful contribution — not what it computes today, but how it reopens our thinking about what might come next.</p><p>Many believe quantum is the capstone of computation. In reality, it may be the <em>relay</em> of its own story — a first step toward something stranger, smaller, or more scalable. Just as relays gave way to tubes and tubes gave way to transistors, quantum may one day be abstracted, miniaturized, or even displaced by whatever comes after it.</p><p>These shifts won’t erase classical computing. But they do invite us to prepare for another transition we don’t yet fully understand.</p><h3>Quantum + Classical = The Future</h3><p>We won’t be writing web apps on a quantum processor. Not now. Probably not ever.</p><p>But we might run quantum subroutines to optimize shipping routes. We might use quantum chemistry to discover new drugs. We might offload impossible-to-simulate interactions to quantum accelerators the same way we use GPUs for rendering today.</p><p>Quantum could also change how machines understand the world around them. Today’s AI systems try to predict motion, location and outcomes using classical physics approximations. Quantum, with its ability to consider every possible state and outcome simultaneously, could give robots, autonomous vehicles and smart infrastructure a probabilistic awareness that’s far closer to how reality unfolds. Not just calculating where something should be — but where it <em>could</em> be and how confident we should be about that.</p><p>And even more speculatively: quantum may give us new tools to solve crimes. If all known inputs and conditions can be modeled, quantum systems could help explore every viable narrative and surface the most probable explanations — not to replace detectives, but to keep them from chasing red herrings.</p><p>Quantum will live alongside classical compute. And in that way, it follows the same path as every major tech leap before it:</p><ul><li>CPUs didn’t vanish when GPUs arrived.</li><li>On-prem didn’t vanish when the cloud arrived.</li><li>Classical logic won’t vanish when quantum arrives.</li></ul><p>But our assumptions? Those might.</p><h3>Final Thought</h3><p>Every time computing levels up, it doesn’t start over. It stacks. Quantum computing is another layer in that stack — the weirdest one yet. Not a replacement. Just a new context for the world we thought we understood.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6a9bf30fc9c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You Probably Need Both: A Real-World Guide to Orchestration and Choreography]]></title>
            <link>https://medium.com/@jensenbox/you-probably-need-both-a-real-world-guide-to-orchestration-and-choreography-071694436ed8?source=rss-8f807e8cf824------2</link>
            <guid isPermaLink="false">https://medium.com/p/071694436ed8</guid>
            <category><![CDATA[temporal]]></category>
            <category><![CDATA[orchestration]]></category>
            <category><![CDATA[choreography]]></category>
            <category><![CDATA[apache-kafka]]></category>
            <category><![CDATA[event-driven-architecture]]></category>
            <dc:creator><![CDATA[Christian Jensen]]></dc:creator>
            <pubDate>Sat, 19 Jul 2025 18:29:31 GMT</pubDate>
            <atom:updated>2025-07-19T18:29:31.392Z</atom:updated>
            <content:encoded><![CDATA[<p>When you design a system, especially a distributed one, you eventually run into the question: should this be choreographed or orchestrated?</p><p>Most engineers hear those words in passing and nod along. They sound abstract and academic. But your choice here defines how your system behaves in production, how easy it is to debug and how flexible it will be as your product evolves.</p><p>This article is for anyone who’s had to glue services together, add retry logic, or figure out how to run workflows offline on a plane. I’m going to walk through orchestration and choreography from first principles, with real-world tooling and advice. I’ll also link back to a previous post I wrote about <a href="https://medium.com/@jensenbox/make-things-that-are-easy-to-delete-55c4a513a813">making things easy to delete</a> — a topic that overlaps more than you might think.</p><h3>Orchestration and Choreography: Two Ways to Get Work Done</h3><p><strong>Choreography</strong> is when each part of the system listens for signals and acts when it sees something it cares about. There’s no central authority. Think Kafka, EventBridge, or a queue of events where services just do their part.</p><p><strong>Orchestration</strong> is when a central brain tells each part of the system what to do, when and how. It knows the steps, the order and who does what. Think Temporal, AWS Step Functions, Airflow, or Hatchet.</p><p>Orchestration is easier to debug. Choreography is more flexible. Orchestration makes change feel safe. Choreography lets you scale without asking permission.</p><p>There’s no silver bullet. Most production systems use both.</p><p>It’s common to hear an engineer say, “we need a message-based architecture” and then go all-in on choreography. Kafka enters the picture and suddenly everything looks like an event. The hammer is here and every problem becomes a nail. But reality catches up. You need to coordinate workflows. You need consistent error handling and retries. You need to understand what step failed and why. That’s when orchestration reenters the conversation. The best systems aren’t dogmatic — they mix both approaches where they make sense.</p><h3>When to Use Which</h3><p>Use <strong>orchestration</strong> when:</p><ul><li>You need to guarantee the order of steps</li><li>You want to retry failed tasks in a structured way</li><li>You want a clear picture of what’s happening and where things are stuck</li></ul><p>Use <strong>choreography</strong> when:</p><ul><li>You want each service to evolve independently</li><li>You’re building something inherently event-driven</li><li>You want new components to “just work” by listening to existing events</li></ul><p>An e-commerce checkout is often orchestrated. A logging or metrics pipeline is often choreographed.</p><h3>Circuit Breakers and Reliability</h3><p>No matter which you choose, parts of your system will fail. Circuit breakers are how you stop one failure from becoming ten.</p><p>In orchestration, this means catching exceptions and marking workflows as failed (or retryable). In choreography, it means not blindly processing every event forever.</p><p>Tools like Resilience4j (Java), pybreaker (Python) and Envoy/Istio at the network layer help.</p><p>But circuit breakers are only useful if you can trace the failure. So let’s talk observability.</p><h3>Tracing and Debugging</h3><p>When you have a request flowing through dozens of services, logs aren’t enough.</p><p><strong>OpenTelemetry</strong> gives you vendor-neutral hooks. Plug it into Datadog, Honeycomb, or Jaeger. Add a trace ID at the edge of your system and keep it in context through every function and message.</p><p>That said, you don’t have to root everything in OpenTelemetry. Tools like Datadog can handle tracing natively, often with less setup and without the additional overhead of integrating the full OpenTelemetry stack. Especially for smaller teams or legacy systems, native tracing can be faster to roll out and easier to maintain.</p><p>When debugging:</p><ul><li>Start with the trace view</li><li>Correlate to logs by trace ID</li><li>Drill down into timings and errors</li></ul><p>You should also design your systems with this in mind. A trace ID should be passed in every task, every queue, every DB write. If you’re not doing that, you’re flying blind.</p><h3>Queue Management and Flow Control</h3><p>Any system that does orchestration will eventually bump into queue management problems. You have workflows piling up, tasks waiting to be executed and workers pulling jobs at different rates.</p><p>This is where queue theory comes in. Concepts like backpressure, bounded queues and rate limiting aren’t just academic — they directly affect system stability. If your orchestrator pulls too many tasks too quickly, downstream systems collapse. If your queues back up without alerting, you’re flying blind.</p><p>You don’t need to go deep into math to see the impact. If the task rate in exceeds the processing rate out, the queue grows. If the queue grows too long, you need to decide: drop work, alert someone, or scale up.</p><p>Orchestration systems like Temporal or Hatchet can hide some of this with built-in rate control and retries, but understanding the flow at a high level is still critical.</p><p>This article won’t go deep into queue theory, but we’ll come back to it in a future post. For now, know that orchestration means you’re in the business of flow control.</p><h3>Event Replay and Time Travel</h3><p>Sometimes a system needs to rewind. Maybe to reprocess bad data, or because you found a bug.</p><p>In orchestration systems like Temporal, this is built-in. You can reset a workflow and replay it from a point in time.</p><p>In choreography, you’ll need to record events (Kafka, NATS, etc.) and manage offsets yourself. This adds overhead but gives you raw power. Some teams even store events forever just for this reason.</p><p>If you want to make your system easy to debug, test and reprocess, build with replay in mind.</p><h3>Local and Offline Development</h3><p>You shouldn’t need cloud credentials just to run your system.</p><p>Some systems support what I call “airplane mode”:</p><ul><li>Celery with ALWAYS_EAGER=True</li><li>LocalStack to fake AWS services</li><li>Kafka with a local broker</li><li>Docker Compose to wire everything up</li></ul><p>This isn’t about mocking. It’s about running the real thing, just locally. If your architecture requires three VPNs and five cloud accounts to test a feature, you’re going to have a bad time.</p><p>Developer experience matters. Offline systems are easier to understand, test and change. And this isn’t just about convenience — in many companies, the biggest line item is engineering time. Every hour lost to broken tooling, confusing environments, or context switching is money burned. Improving developer experience means less time spent on toil and more time building actual value (future article?).</p><h3>Returning Results from Background Tasks</h3><p>Offloading work to the background is one of the best ways to speed up a request/response cycle. You don’t need to generate a PDF or send an email before you respond to a user.</p><p>But sometimes you <em>do</em> want to show them the result. That’s where <strong>WebSockets</strong> and <strong>Server-Sent Events (SSE)</strong> come in.</p><p>WebSockets let you push updates in real time. SSE is simpler and uses plain HTTP, but only supports one-way communication. SSE has also been around for a long time and usually requires less code and less setup to get working reliably. You don’t need to worry about connection negotiation or complex protocol handling — just push an event over HTTP and you’re done.</p><p>From an infrastructure perspective, both approaches require careful handling of open connections. Long-lived connections increase memory usage, introduce challenges with load balancers and proxies and make retry logic on the frontend more complex. WebSockets amplify this because the bidirectional nature often means custom routing, more state to manage and higher expectations for low latency.</p><p>Use SSE when:</p><ul><li>You only need to push from server to client</li><li>You’re working in a constrained environment (e.g., older browsers or server infra)</li><li>You want the simplest working solution with minimal code</li></ul><p>Use WebSockets when:</p><ul><li>You need two-way comms</li><li>You want fast, low-latency updates</li><li>You can afford the extra complexity and infrastructure</li></ul><p>Both work well to tell the user when a background task finishes. They’re better than polling and keep your UI reactive. But remember that the cost isn’t just in performance — it’s in maintenance and infrastructure as well.</p><h3>Tooling: Language Specific vs Language Agnostic</h3><p>Some tools are deeply integrated with a language:</p><ul><li>Temporal has SDKs for Go, Java, Python and TypeScript</li><li>Celery is Python-native</li><li>Sidekiq is built for Ruby</li><li>Hatchet supports Python and TypeScript with a developer-first workflow engine</li></ul><p>Others work across stacks:</p><ul><li>Kafka</li><li>NATS</li><li>Redis Streams</li></ul><p>Language-specific tools give you nicer DX (developer experience). Language-agnostic tools give you better system-level interoperability. Choose based on your team’s needs and your system boundaries.</p><h3>How to Think About These Systems</h3><p>You should design your system around <em>change</em>, <em>failure</em> and <em>deletion</em>.</p><p>Choreographed systems are easier to extend and harder to debug.<br> Orchestrated systems are easier to understand but can become bottlenecks.</p><p>Both need:</p><ul><li>Good traceability</li><li>Clear retry semantics</li><li>A way to reason about what happens when something breaks</li></ul><p>If you keep that in mind, you’ll make better calls at the edges.</p><p>Also: make things easy to delete. If you haven’t already, <a href="https://medium.com/@jensenbox/make-things-that-are-easy-to-delete-55c4a513a813">read this</a>.</p><h3>Wrap-Up</h3><p>You don’t have to pick orchestration or choreography for your whole system. Most systems use both.</p><p>Pick orchestration where it helps you debug and test. Pick choreography where it helps you scale and adapt.</p><p>And always keep the developer experience in mind. A system that’s painful to run locally or impossible to trace will rot faster than you expect.</p><p>Got a workflow that keeps failing? Try tracing it.<br>Got a slow request? Try offloading it.</p><h3>Rather watch a video about how this?</h3><p>I have a great video that I refer people to for this subject — it really highlights the real world applications of how this all can work together. Thank you <a href="https://www.linkedin.com/in/rkohler/">Robbie Kohler</a>!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FU5GZNt0iMZY%3Fstart%3D2122%26feature%3Doembed%26start%3D2122&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DU5GZNt0iMZY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FU5GZNt0iMZY%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c14fd207c2190eac3f548ae68b0f63c2/href">https://medium.com/media/c14fd207c2190eac3f548ae68b0f63c2/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=071694436ed8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Make things that are easy to delete]]></title>
            <link>https://medium.com/@jensenbox/make-things-that-are-easy-to-delete-55c4a513a813?source=rss-8f807e8cf824------2</link>
            <guid isPermaLink="false">https://medium.com/p/55c4a513a813</guid>
            <category><![CDATA[system-design-concepts]]></category>
            <category><![CDATA[delete]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[mantra]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Christian Jensen]]></dc:creator>
            <pubDate>Sat, 19 Jul 2025 17:27:27 GMT</pubDate>
            <atom:updated>2025-07-19T17:27:27.922Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever tried to clean out an old closet? If the boxes are neatly labelled and packed with similar items, it’s easy to toss the whole thing when you no longer need it. But if those boxes are full of tangled cables, stacks of paperbacks and winter jackets from ten years ago? That cleanup turns into a weekend-long “project”.</p><p>That same idea applies to software.</p><p>Most of what you build will eventually be deleted. Not immediately. Sometimes not for years. <strong>But it will be</strong>. That API endpoint? That queuing system? That big-bet feature no one used? Eventually they go stale, get replaced, or become maintenance burdens. The real trick isn’t just building something that works. It’s building it in a way that’s easy to delete later.</p><h3>Build for the Sunset</h3><p>Before we dive deeper, let’s clarify what makes a system deletion-friendly:</p><ul><li><strong>Loose coupling</strong> — components interact through well-defined interfaces, not hidden side effects.</li><li><strong>Clear ownership</strong> — every system, module and document has an owner.</li><li><strong>Bounded contexts</strong> — group functionality together with strong cohesion and clear boundaries.</li><li><strong>Minimal blast radius</strong> — failure or deletion of one piece shouldn’t ripple across your whole system.</li><li><strong>No clever, hidden dependencies</strong> — clever code is often fragile code. Be boring. Be obvious.</li></ul><p>The best time to think about deletion is <strong><em>before</em></strong> you even start writing code. Sounds backward, but it’s not. It means being honest with yourself that this thing might not last forever. In fact, most things won’t. And that’s okay.</p><p>You might be launching an experiment behind a feature flag. You might be writing the first version of a new money-making feature. You might be working fast and cutting corners, fully aware you’ll optimize later. These are the perfect times to ask: how can I make this easy to delete?</p><h3>Examples Across Domains</h3><ol><li><strong>Limit your dependencies</strong>. Especially upstream ones. If you need to delete something and it’s tied into five other systems, you’re going to regret it.</li><li><strong>Interface everything</strong>. Not just across the network. I mean internally, too. When you hear “API,” don’t just think REST or gRPC. Think good old-fashioned code boundaries: clearly defined data structures and a well-thought-out interface. Something you can stub, override, or rip out.</li><li><strong>Structure your files like you expect to throw them away</strong>. Group them by feature. Keep related pieces close together. Keep unrelated ones apart. This makes it easier to surgically remove something later.</li><li><strong>Use strategy patterns or plugin architectures</strong>. Anything that lets you swap behavior without rewriting your core logic helps.</li><li><strong>Wrap anything you might vary behind a function</strong>. It’s often better to return an implementation from a getter than reference a class directly.</li></ol><h4>Code Structure</h4><ul><li>Keep files small and focused</li><li>Avoid tight coupling between classes</li><li>A feature flag should be deletable without chasing down six different call sites</li></ul><p>Here’s a simple Python example:</p><pre>from enum import StrEnum<br>from abc import ABC, abstractmethod<br><br><br>class ImageProcessorVersion(StrEnum):<br>    v1 = &quot;v1&quot;<br>    v2 = &quot;v2&quot;<br><br><br>class ImageProcessor(ABC):<br><br>    @abstractmethod<br>    def process(self, image: bytes) -&gt; bytes:<br>        pass<br><br><br>class ImageProcessorV1(ImageProcessor):<br>    def process(self, image: bytes) -&gt; bytes:<br>        print(&quot;Processing with V1&quot;)<br>        return image<br><br><br>class ImageProcessorV2(ImageProcessor):<br>    def process(self, image: bytes) -&gt; bytes:<br>        print(&quot;Processing with V2&quot;)<br>        return image[::-1]<br><br><br>def get_image_processor(version: ImageProcessorVersion = ImageProcessorVersion.v2) -&gt; ImageProcessor:<br><br>    # Dictionary mapping versions to their processor classes<br>    processor_map = {<br>        ImageProcessorVersion.v1: ImageProcessorV1,<br>        ImageProcessorVersion.v2: ImageProcessorV2,<br>    }<br><br>    try:<br>        processor_class = processor_map[version]<br>    except KeyError:<br>        raise ValueError(&quot;Unsupported processor version&quot;)<br><br>    return processor_class()</pre><p>This approach makes it easy to plug in new behavior, test in isolation and eventually sunset old logic without a massive rewrite. You can combine this with a feature flag system and get the ability to swap out functionality dynamically even.</p><h4>Infrastructure</h4><ul><li>Can you nuke a service and nothing else breaks?</li><li>Use Terraform modules with clean state separation</li><li>Design infrastructure to be testable and ephemeral</li></ul><h4>Architecture</h4><ul><li>Microservices should be sunsettable without a monolith rewrite</li><li>Event-driven systems should allow independent evolution of producers and consumers</li></ul><h4>Processes</h4><ul><li>Cron jobs or batch jobs shouldn’t cause chaos when removed</li><li>Don’t let legacy tasks live on just because no one remembers why they exist</li></ul><h3>Choreography vs Orchestration</h3><p>As your system grows, the way components communicate becomes a key design decision. It’s also one of the least visible forms of API — and it heavily impacts how easy things are to replace or remove later.</p><p>There are two common patterns:</p><ul><li><strong>Choreography</strong> is decentralized. Services listen for events and react. No single system is in charge. This pattern is often powered by tools like Kafka, NATS, or AWS SQS. It allows for loose coupling and flexibility, making services easier to plug in or delete. The downside? Debugging can get messy. Tracing the path of an event across systems takes discipline and tooling.</li><li><strong>Orchestration</strong> is centralized. A controller dictates what happens and when. Tools like Temporal and AWS Step Functions provide durable workflows with retries and observability. Celery, by contrast, provides task distribution but lacks durability, making it more fragile. Orchestration makes flow control easier to understand and monitor — but introduces a single point of coordination.</li></ul><p>Whichever pattern you choose, treat the coordination logic as just another module. You should be able to version it, refactor it, or delete it. Otherwise, it becomes a hidden liability.</p><p>Use orchestration when you want control and visibility. Use choreography when you want flexibility and decoupling. In practice, many systems blend both. For deletion-friendly design, choreography has the edge — no one piece needs to know who else is listening.</p><h3>API Boundaries and Performance Considerations</h3><p>Let’s tie this back to our earlier section on Choreography vs Orchestration. Those patterns are just higher-level manifestations of the API boundaries we design every day. In fact, they can be mapped directly to some of the structures below — with choreography often implemented using message buses and orchestration handled by workflow engines.</p><p>APIs aren’t just for external consumers. They show up at every layer of your system — and every boundary is a decision point for future deletion and flexibility.</p><ul><li><strong>Abstract Base Classes and Protocols</strong> — The simplest and fastest kind of API. No serialization, no networking. Everything stays in memory and moves by reference. These are excellent for strategy patterns and test doubles and they’re trivially easy to replace or extend.</li><li><strong>Plugin Architectures</strong> — Dynamically loaded logic with well-defined interfaces. You can version or swap plugins independently. Great for optional features or system extensions.</li><li><strong>Message Buses and Background Tasks (Choreography)</strong> — Asynchronous and loosely coupled. They’re harder to debug but allow pieces to evolve independently. A good boundary for long-running or slow operations that don’t require immediate response.</li><li><strong>Workflows (Orchestration)</strong> — Systems like Temporal or Step Functions provide stateful orchestration across time and failures. They’re often built around a central orchestrator and act as a durable API for coordination. These can also be versioned and even deleted when modeled well.</li><li><strong>Network APIs (REST, GraphQL, gRPC)</strong> — More expensive boundaries. You pay in latency, serialization and infrastructure. You often need to hit a database even after a slow network call to instantiate whatever is being called. But they’re valuable when teams or systems are distributed. Just be aware: these are the hardest APIs to change or remove, so design them with care.</li></ul><p>As you move from in-process to cross-network APIs, your flexibility usually drops while your cost (time and as a side effect, money) goes up. That doesn’t mean avoid them — just know what you’re buying. And make sure every API, no matter how small, is designed with deletion in mind.</p><h3>Why It Matters</h3><ul><li>You move faster when systems are cleanly separable</li><li>New developers ramp up quicker</li><li>Refactoring becomes possible</li><li>Long-term ownership becomes cheaper</li></ul><p>And the inverse is just as important:</p><p><strong>If it’s hard to delete, it’s probably a liability.</strong></p><h3>What to Look For Day-to-Day</h3><p>This is not an exhaustive list of places to look but are some pretty easy to spot things that you can get into the habit of looking for.</p><p><strong>Code reviews:</strong></p><ul><li>Could this be removed cleanly in the future?</li><li>Watch for logic that spans multiple layers or relies on global state.</li><li>Prefer code that uses interfaces or factory methods to make swapping implementations trivial.</li></ul><p><strong>Infrastructure:</strong></p><ul><li>Structure Terraform modules for independence. Each should be easy to destroy without impacting others.</li><li>Avoid shared state. Pass outputs downward when needed, never sideways.</li><li>Use naming and tagging that makes teardown obvious.</li></ul><p><strong>Documentation:</strong></p><ul><li>Add ownership and review dates to project documentation for a given area of code. Perhaps even make a ticket with an expiration date so that it gets on the work list.</li><li>Mark temporary systems or experimental features explicitly.</li><li>If a system has outdated or untouched docs, flag it for review or removal.</li></ul><p><strong>General practice:</strong></p><ul><li>Build systems as if no one will remember why they exist in six months.</li><li>Consider success as being able to delete something without anyone noticing.</li></ul><h3>Closing Thoughts</h3><p>Everything you build will rot. The trick is to treat your work as temporary, even when it feels permanent. Design for its replacement. Write like the next person won’t know what you meant. Assume you’ll delete it, because one day you will.</p><p>Deletion is a skill. It takes confidence, discipline and good design up front. But the best engineers I’ve worked with are the ones who knew what not to build and how to make what they did build disappear cleanly.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55c4a513a813" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>