Skip to main content

2 posts tagged with "modular-monolith"

View All Tags

Closing the Books: an Auditable Period Close — and Why the 'Lock' Is a Polite Fiction

· 4 min read
Software & Platform Engineer · AI Systems

The insurance monolith (ktayl-core) could already turn a bound policy into cash and post it to the general ledger — premium → invoice → payment → double-entry Journal Entries in ERPNext. What it couldn't do was answer the question an auditor actually asks: "does the ledger agree with what you billed this month, and is the period closed?"

That's the finance module, now live in production. Two capabilities: a reconciliation (the billing subledger's posted total vs the GL, the drift between them, and the count of stuck postings) and a period close — lock a month, with a tamper-evident record of who closed it and the figures they attested.

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.