Dang Vuong Binh

How I make and review architecture decisions

The method behind the case studies: how I write decisions down, what I check in a design review, how I run the team around the system, and how a client brief becomes a plan.

Decision records

I write a decision record when a change is expensive to reverse, crosses teams or vendors, or moves the monthly bill. One page, written before the work starts, reopened when its review trigger fires.

Fields of a decision record
FieldWhat goes in it
StatusProposed, accepted, or superseded by a later record.
ContextThe forces at play, including the unwelcome ones: deadlines, budget, skills.
OptionsAt least two real alternatives, and why each was not chosen.
DecisionOne paragraph that starts with "We will".
ConsequencesWhat we gain and what we pay. The cost column is never empty.
Review triggerThe signal that reopens it: a cost line, a traffic level, a date.

Example: Budget guard for the batch workload

Status
Accepted, 2026
Context
The costliest workload is a batch pool whose spend follows the work queue, not traffic. A stuck job could spend a month's budget in days.
Options
  1. Email alerts only: someone has to read them in time.
  2. An account-wide deny policy on breach: stops production too.
  3. A tagged budget with an automatic action on this workload only.
Decision
We will budget the pool at $500 a month, alert at 80%, and at 90% of actual or 100% of forecast spend let a Lambda set a durable flag that scales the pool to zero. Deploys honour the flag.
Gains
The pool is suspended automatically when a budget notification fires, and the suspension survives redeploys.
Costs
A guard, not a hard cap: billing and notifications lag, so spend can pass the threshold before the pool stops, and other resources keep billing. A legitimate spike pauses work until someone lifts the flag.
Review trigger
The workload's normal monthly spend approaches the budget.

In context: the AWS consolidation

Design review checklist

The questions I ask of a design before it ships, grouped by the six pillars of the AWS Well-Architected Framework, with where each shows up in my own work.

Operational Excellence

  • Can a new engineer reach staging on day one?
  • Can every deploy be rolled back from the pipeline?
  • Do alerts reach someone who can act on them?

In practice: Day-one agent onboarding with read-only data access; rollback and preview workflows; daily error and cost reports.

Security

  • Is there a long-lived key anywhere in CI?
  • Can anyone open SSH from the internet?
  • Is personal data encrypted where it is stored?

In practice: GitHub OIDC deploy roles; SSM-only hosts; field-level encryption in central sign-on.

Reliability

  • What is the blast radius, and what is the way back?
  • Does the old path stay until the new one is proven?

In practice: Expand/contract migration; archives verified by checksum and row count before deletion.

Performance Efficiency

  • Does the work run next to its data?
  • Are reads and writes on paths sized for each?

In practice: Ranking inside the database; edge read routes and Node write routes on CarNow.

Cost Optimization

  • Where should a budget act, not just email?
  • Which fixed costs sit idle at night?

In practice: A budget that scales a pool to zero; CI runners on a working-hours schedule; staging on Spot capacity.

Sustainability

  • Does capacity follow demand?
  • What can be deleted today?

In practice: Scale-to-zero workers, scheduled runners, idle IPs and virtual machines retired.

Leadership practices

Hiring
Take-home tests allow AI tools and are scored by hidden test suites. The untouched starter scores below the bar, so effort shows.
Performance reviews
Evidence packs from commits, pull requests, tickets and daily reports, scored on delivery, complexity, quality, ownership and growth against a same-role benchmark. Lines of code never decide a rating.
Daily review
An LLM reads each engineer's daily report and ticket activity and suggests how to balance workload. It is advisory: activity counts are not productivity.
Onboarding
Day one: the agent tooling, the repositories and read-only data access. QA testers and data analysts get their own agent kits.
Cost ownership
Daily cost alerts route to me; a service that exceeds its expected daily AI or infrastructure spend raises an alert before the invoice does.
Teaching
Before infrastructure moved into code, I ran an internal Terraform deep-dive for the team (October 2025).

From brief to proposal

Solution architecture often starts before a contract. In 2026 I scoped, estimated and architected five client engagements: a fintech back office, a B2B marketplace, an eldercare service, a hospitality publishing system, and the replacement of an EV-charging platform.

EV-charging platform replacement

Client confidential · September 2026 · about two weeks from brief to plan

  1. Scope across three products (a driver app, an operations portal and a partner portal) plus charger connectivity.
  2. Adapter first: integrate the existing charger-management system, build a protocol gateway only if its API falls short, and add a roaming sandbox later.
  3. One modular backend on AWS containers: CDN and firewall, load balancer, API and queue workers on ECS Fargate, PostgreSQL on RDS, S3.
  4. The wallet as an append-only ledger; pricing and commission policies versioned.
  5. Cutover per charger cluster with rehearsed rollback, and decision gates A to F that each name the evidence needed to pass.
  6. A six-month delivery plan within a fixed budget, with staffing benchmarked against public salary guides.