Architecture & Trade-offs
Design decisions, abstractions and the cost of each choice, written down after the fact.
- A Default Is a Decision Nobody Made Every unset value in your stack is still set, by whoever wrote the tool, for hardware and workloads that aren't yours. Most defaults are fine. The ones that read their environment are the ones that will quietly size your system for a machine you don't have.
- SvelteKit Is a Node Server That Happens to Render HTML Most teams treat their meta-framework as "the frontend" and reach for a separate backend the moment anything gets serious. But SvelteKit on the Node adapter is a real application server, and the mistakes people make with it almost all come from forgetting that.
- The Second Implementation Is the Test of Your Abstractions uBixOS ran on x86 for twenty years. Porting it to aarch64 didn't just add an architecture. It told me, file by file, which of my abstractions were designed and which had just accreted. The second implementation is the only honest test there is.
- The Monorepo as an Upgrade-Forcing Function Upgrade debt is a structural problem, not a behavioral one. If shared libraries can be ignored, they will be. uBixCore's monorepo makes ignoring them impossible: every PHP API and every SvelteKit frontend upgrades together, in one commit.
- SOLID in Practice: Lessons From a C++ Emulator's Git History SOLID principles are easy to describe and hard to apply. Here's what applying three of them actually looked like in The 8-Bit Machine, with the git history to prove it.
- Know When to Pivot to General: The 8-Bit Machine at v0.8 The 8-Bit Machine started as something specific. At v0.8 a single commit changed the direction entirely: 'Pivot to general-purpose 8-bit machine designer.' Here's why that decision was right, and how to recognize when you're facing the same one.
- Pragmatic Accuracy: Knowing Which Problems Need Precision The 8-Bit Machine emulates the 1541 disk drive with a cycle-accurate IEC serial bus state machine. It also has a warp load trap that bypasses the whole thing. Both exist. Here's why.
- What Microservices Actually Cost: Lessons From 13 Services XenTask is a 13-service microservice architecture. Building it taught me three things that no microservices tutorial covers: what shared code costs across repos, how to use the platform for service discovery instead of building your own, and what 13 independent pipelines actually feel like to operate.
- SpherePBX: What I Learned Building a Hosted VoIP Company Five years building a hosted VoIP platform from scratch: architecting the stack, raising $400K, growing to 200+ customers, and what I'd do differently with what I know now.
uBixCore: Thirteen Tags in Four Days, and the Rule That Made It Safe
uBixCore went from v0.21 to v0.33 in four days. None of it was planned in advance. Every tag exists because Sowing.me ran into something it couldn't do. That's a good way to build a framework and a fast way to ruin one, and the difference is a single question I ask before anything goes upstream.
uBixCore 0.17: Real-Time Publishing Without a Client Library
PHP-FPM can't hold a WebSocket, and a message posted to one pod can't reach a socket held by another. uBixCore 0.17 adds the framework half of the fix: a NATS publisher that speaks the protocol itself, and signed subject grants a gateway in any language can verify.
uBixCore 0.2: From Monorepo to Framework, Skeleton, and Runtime
uBixCore used to be a monorepo you forked. As of 0.2 it is a framework you install: a Composer package, a create-project skeleton, and a public PHP runtime image, all under github.com/ubixsys. Here is what changed, why the product had to move out first, and what stands between 0.2 and 1.0.
Sowing.me: A Patreon Alternative Built on uBixCore
A few weeks ago I open-sourced uBixCore and called Sowing.me its reference implementation. Here's the product itself: a membership platform for Christian creators, and the real application that proves the framework works.
uBixCore: Building an Open-Source PHP Monorepo Framework
Years of building production PHP platforms at scale taught me what a framework should actually look like. uBixCore is that framework, open-sourced, and Sowing.me is the proof it works.
XenTask: Building a Self-Hosted Project Management Platform
Why buy another SaaS seat when you can build the whole thing? A look at the architecture behind XenTask: 13 microservices, a real-time WebSocket server written in C, and a React frontend that actually does the job.