🏛️ Architecture and production

Why you need an architect,
not just an AI that writes code

AI closes the first 80% of the work well: the prototype, the boilerplate, the main scenario. Production is decided by the last 20%: failures, load, data and cost. You are not paying for code. You are paying for the judgment that catches a plausible-looking but dangerous architectural decision before it reaches production.

In short

AI writes the first 80% of a system well: the prototype, the boilerplate and the main scenario. Production is decided by the last 20%: failures, concurrency, data integrity, load and cost, which the prompt does not describe. A senior architect brings the judgment that catches a plausible but dangerous decision before release, and signs the architecture. That is what our architecture review provides.

⚖️ The honest 80/20

Where is AI strong, and where does it break?

AI is strong wherever the task is fully described in the prompt. It breaks where the answer depends on how the system behaves in production, and the prompt does not describe that.

✅

What AI does well

  • Prototype, demo, happy path
  • Boilerplate: CRUD, forms, controllers
  • Translating a clear specification into code
  • Test scaffolding, type definitions, glue code
  • Code under direct human review

This is the genuine strength of the tool. There is nothing to argue about.

⚠️

Where it breaks

  • Failure modes: what happens when the network drops at byte 12,000?
  • Concurrency: what does this look like under 800 simultaneous writes?
  • Data integrity at scale: cascading deletes, race conditions, data drift
  • Behavior under load: locks, query plans, cost
  • Security beyond the OWASP Top 10: threat modeling for your specific attack surface
  • Decisions you only see at 100,000 users, not at 100

AI responds to the prompt, not to the reality of production.

💡 What you are buying

What are you actually paying a senior architect for?

For judgment, not for typing speed. AI confidently produces code that looks architecturally sound and becomes dangerous six months later. Catching that before release means evaluating the code against a model of the production system, and AI does not have one: concurrent users, data growth, partial failures, deployment cycles, regulatory constraints, cost curves.

In practice, that judgment sounds like this:

  • This query has the wrong shape: under load it will lock the entire orders table.
  • Your retry logic will send payment events a second time: rewrite it before launch.
  • This design is fine for the prototype, and it will need to be replaced before year two.

AI amplifies skill. An expert with AI reaches a maintainable system faster than ever. An amateur with AI reaches a demo that falls apart on real data and real users. Same tool, opposite outcomes.

✍️ Accountability

Who is accountable when the system fails in production?

The team that signed the architecture. When the system goes down at 02:14, someone's name and signature has to be on the design. AI cannot sign anything, and model providers' terms of use leave responsibility for using the output with the customer. SLAtech has been making these decisions in production for 22 years.

Already built a product with AI and it is stuck? How we help vibe-coded projects

📜 Evidence base

What is the judgment based on?

22
years of enterprise system architecture on .NET in healthcare, finance and education
18
years in production for a national medical platform (since 2008)
14
countries, including Israel, the US, the UK and Russia

A large-scale system: many years in continuous production, with no significant outages.

The founder's academic background: the founder, Emil Slavin, holds advanced degrees in applied mathematics and computer science. He is SLAtech's architect: M.Sc. in Applied Mathematics and Computer Science, Tel Aviv University; B.Sc. in Computer Science and Mathematics, Bar-Ilan University; MCPD.

The kind of depth behind it, from projects under NDA: tuning SQL Server query plans under contended load, diagnosing slow degradation in long-running services, and designing payment and notification pipelines that recover from a partial failure without charging or sending twice.

❓ FAQ

Questions people ask before a review

Isn't AI cheaper than a senior architect?

Up to the demo, yes. To production at scale, no. The cost of AI-only delivery is paid in incidents, rewrites and downtime months after launch, exactly when the system is hardest and most expensive to fix.

Why pay for a senior when a junior with AI can already ship?

A junior with AI quickly ships a demo of the main scenario. That combination has no model of failures, concurrency or data integrity, so the problems surface in operation rather than in the demo.

What happens when the system grows?

AI code that looks plausible at 100 users tends to fail silently at 100,000: race conditions, data drift, locks, runaway costs. None of this is visible from the prompt, and catching it before launch takes an architect's judgment.

Who is accountable when the system fails in production?

A contractor that signs off on the result, with a project history and 22 years of production experience. AI signs nothing, and the model provider takes no responsibility for your architecture.

What does AI-generated code miss that breaks in production?

The last 20 percent, where the risk lives: failure modes (retries, idempotency, graceful degradation), concurrency, data integrity, cost at scale, security and compliance, and observability. AI writes the happy path by default because it cannot know what breaks in your particular context.

Why does AI-generated code fail under concurrency?

It works for one user and falls apart on the tenth: race conditions on shared state, double submits, deadlocks under load. Concurrency bugs are invisible in a demo and in code review unless someone looks for them deliberately, so they surface only in production.

How does AI-generated code cause data-integrity bugs?

It writes multi-step operations as separate statements outside a transaction, for example updating a balance and recording the transaction as two calls. In the demo this is flawless. If the process dies between the two calls in production, the money is debited and the transaction is never recorded. Someone has to define the transaction boundary before the code is written, and AI does not ask.

Why do AI projects blow up cloud and LLM costs at scale?

Because of a naive LLM call on every request: no caching, no batching and no model routing, so a heavy model runs where a light one would do. A demo on 10 requests costs pennies, while production on 100,000 brings a month-end bill that can break the product's unit economics. Cost control is an architectural decision, not something added later.

What exactly does an architecture review check?

Failure modes, behavior under concurrent load, data integrity as volume grows, security beyond the OWASP Top 10, and the cost of running at scale. These are the 20 percent that decide whether the system makes it to its second year.

How long does a review take?

The first conversation takes 30 minutes, with no slides and no sales pitch. After that the scope depends on the size of the system, but the goal is the same: find the plausible but dangerous decisions before they reach production.

📥 Free download

The AI pre-production review checklist

22 failure modes that AI generators ship into production code, in 7 categories: concurrency, data integrity, behavior under load, security, cost at scale, recovery and failure modes, long-term evolution. Each comes with detection signals and the architect's mitigations.

🔗 Related

When the code is already written

Audit of an AI-built system

A review of a system built with Lovable, Bolt, Cursor and similar tools: security, data, load and costs, with a recommendation to stabilize or rebuild.

From prototype to production

What to check before real users enter an app built with AI: code, secrets, access, data, money and monitoring.

Before launch, get the design reviewed

A focused architecture review, not a sales pitch. 30 minutes, no slides.