Skip to main content

Three Prototypes in a Day: How AI Changes Architecture Decisions

Neil Simpson
ai-engineeringmethodology
User interface wireframes sketched on paper

Architecture decisions used to be high-stakes bets. Choosing microservices over a monolith could define your team's trajectory for years. Picking the wrong database meant a painful migration eighteen months later.

The cost of being wrong was so high that teams spent weeks in analysis. Whiteboards filled with boxes and arrows. Architecture decision records that nobody read. Heated debates over trade-offs that were ultimately theoretical.

That era is over.

Build Both. Measure. Decide.

Here's what changed: when AI collapses the cost of building a prototype from weeks to hours, the rational strategy shifts from "analyze deeply, build once" to "build quickly, compare empirically."

Last month, a client asked us whether their new data pipeline should be a set of microservices or a modular monolith. The traditional approach would have been a two-week analysis phase with a recommendation document.

Instead, we built both. In a single day.

Prototype A was a microservices architecture — three separate services communicating via message queues, each with its own data store. Took about four hours to get functional.

Prototype B was a modular monolith — single deployment, well-separated internal modules, shared database with schema-level isolation. About three hours.

Prototype C was a hybrid nobody had considered — a monolith that published domain events for downstream consumers. Two and a half hours.

By 5pm, we had real performance numbers, actual complexity metrics, and concrete deployment characteristics. No speculation. No theoretical trade-offs. Empirical data.

The Verdict Was Surprising

The team had been leaning toward microservices. The prototype exercise changed their mind. The modular monolith handled their actual data volumes with 40% less infrastructure cost and dramatically simpler deployments.

More importantly, they discovered an edge case in the microservices approach — a cross-service transaction that would have required a saga pattern adding significant complexity. That would have taken weeks to surface in a traditional design review. The prototype surfaced it in hours.

Analysis Paralysis Is Now the Bigger Risk

When building was expensive, over-analysis was a reasonable strategy. The cost of thinking was much lower than the cost of building the wrong thing.

That ratio has inverted. Three days spent debating architecture in a conference room now costs more — in time, in opportunity cost, in team energy — than simply building the candidates and measuring.

This doesn't mean thinking is obsolete. You still need to identify what candidates to prototype. You still need to define what "better" means for your specific context. You still need experienced engineers to evaluate the results.

But the prototyping step replaces speculation with evidence. And evidence wins every argument.

The Key Insight: Prototype to Learn, Not to Ship

A critical distinction: these prototypes are disposable. They exist to answer questions, not to become production code.

Teams get into trouble when they try to "evolve" a prototype into a production system. Prototypes cut corners deliberately — that's what makes them fast. Shipping those corners creates technical debt.

The correct workflow is: prototype to make the decision, then build production code using the architecture you validated. The prototype taught you what works. The production build implements it properly.

Yes, you're "building it twice." But the first build takes hours and prevents months of rework. That's not waste. That's the highest-leverage time your team will spend.

A New Muscle

Most teams haven't developed this muscle yet. They're still in the mindset of "think hard, build once." Shifting to "build fast, learn fast" requires comfort with throwaway code and a willingness to let data override opinions.

Start small. Next time your team is debating a technical approach, propose building two versions in a day. The results will change how you make every subsequent decision.