Skip to main content

5 posts tagged with "architecture"

View All Tags

Database Isolation Is Not Operational Isolation — When Postgres Apps Should Share a Cluster

· 5 min read
Software & Platform Engineer · AI Systems

While wiring up a desktop SQL client across the platform's ~20 Postgres instances, I hit a small surprise: two servers host many databases at once. Backstage keeps 13 of them (one per plugin — backstage_plugin_catalog, _auth, _scaffolder, …); the shared AI server keeps 6 (one per tool — openwebui, litellm, ragdb, vaultwarden, flowise, mlflow). Everything else uses one database per server.

That's a UI curiosity. But it forced the actual design question behind it: when should apps share a Postgres cluster, and when should each get its own? The answer rests on a distinction that's easy to collapse — and expensive when you do.

Crossplane Without a Cloud — Why I Deferred It for a Year, and What Finally Earned Its Place

· 5 min read
Software & Platform Engineer · AI Systems

For about a year, my platform's architecture doc had a page titled "Phase 11 — Crossplane (Deferred)." The reasoning on it was, I thought, sound: Crossplane provisions external infrastructure as Kubernetes resources — AWS RDS instances, GKE clusters, Azure subscriptions — and my cluster is six laptops in a cupboard. No cloud account, no cloud resources, nothing to provision. So Crossplane had no job to do. Defer it.

That page even predicted its own ending: "the most likely home for Crossplane is the Backstage / developer portal, where Compositions are the templates a developer clicks create on."

Last week I deleted the word "Deferred" from the title. Here's what I'd gotten wrong, and what finally made Crossplane earn its weight.

API Management Is Two Halves — and You Already Own the Important One

· 6 min read
Software & Platform Engineer · AI Systems

Someone asks you to "put API management in place," and the reflex is to open a browser and compare products: Kong, Gravitee, WSO2, Apigee, Tyk. Pick one, deploy it, call it done.

I didn't buy anything. Not out of frugality — out of a realisation that saves a lot of footprint and regret: "API management" is not one thing. It's two halves, and most teams already own the half that actually matters for their internal APIs.

This is the decision I made for my simulated insurer's platform, what I actually built, the one question that tells me when the other half becomes necessary — and, honestly, the two things I got wrong on the way.

Modular-Monolith-First: Sizing Architecture to the Problem, Not the Fashion

· 7 min read
Software & Platform Engineer · AI Systems

There's a reflex in our industry, and I had it too: a new business domain shows up, and the hand reaches for "…so that's a new microservice." It feels modern. It feels scalable. It feels like what serious engineers do.

On the ktayl-solution information system — a six-node Kubernetes platform running a simulated insurer's entire IS — I'd built four domains exactly that way: policy, claims, underwriting, identity, each its own repo, CI pipeline, database, promotion track. Then I stopped and asked the question that matters more than any framework choice: is this the right architecture, or just the fashionable one?

This post is the answer I arrived at — modular-monolith-first — and, honestly, the more valuable half: the decision I deliberately didn't make.

Bare Metal First, Cloud at the Edge — Our Hybrid Architecture Decision

· 10 min read
Software & Platform Engineer · AI Systems

Most Kubernetes tutorials start with eksctl create cluster or gcloud container clusters create. A managed control plane, auto-scaling node groups, load balancers that appear with a single annotation. The cloud abstracts the hardware entirely.

We went the other direction. Five physical machines — four ThinkPad laptops and a 2012 MacBook Pro — running k3s, with every workload scheduled and operated by us. No managed control plane. No auto-scaling node group. No cloud load balancer. Just Linux, containerd, and Flannel on iron we can touch.

But we do use cloud services. AWS delivers our email. Cloudflare sits in front of every HTTP request. A Lightsail instance relays our video call UDP traffic. Tailscale connects us to the cluster from anywhere.

This post explains how we decided what goes where, and why the resulting architecture is not a compromise — it is a deliberate design.