Justified Code/Banking on Change — Architecture Blueprint
  • $59

Banking on Change — Architecture Blueprint

  • Download
  • 5 files

A Dubai bank wants a digital channel for 520,000 users, in front of an AS/400 it cannot replace. Its core services are slow, sometimes down, and owned by another team. And the platform must never show a wrong balance, never report a failed transfer as done, and never execute a transfer twice.

This is the complete architecture, designed stage by stage in a workshop where every decision was challenged before it was accepted. Use it to prepare a design review, a senior interview, or your move into architecture.

📄 Architecture document with 43 decisions
💬 Workshop record: every challenge, every reversal
📊 18-slide architecture deck (PowerPoint)
📁 13 editable Excalidraw diagrams
🤖 Constraints and decision records your AI assistant can follow

Not ready yet? Get the free sample →

Contents

banking-on-change-architecture.pdf
  • 9.4 MB
banking-on-change-architecture-deck.pptx
  • 17.8 MB
banking-on-change-workshop-record.pdf
  • 401 KB
banking-on-change-diagrams.zip (13 Excalidraw files)
  • 323 KB
banking-on-change-decisions-and-constraints.zip (rules for developers and their AI assistants, plus 43 decision records as Markdown)
  • 54 KB

Inside the blueprint

Decisions, not just diagrams

Every diagram answers a hard question. The blueprint gives you the reasoning, the options rejected, and the decision record behind each answer.

Why four services, not microservices?

Two teams of four to six developers. The split follows the data each service owns, and one service owns the whole payment lifecycle. See why, and the split it replaced.

How is a transfer never executed twice?

Saved as Pending with its outbox message in one transaction, then executed with a reference the bank's services must honour. See who owns retries, failures and reversals.

Where do you recover when AWS has one UAE region?

Customer data can't leave the UAE. See why recovery runs at the bank's own data center, and what that changed in every AWS choice.

What does a customer see when the core is down?

The last known balance, labelled “as of”, but only within a freshness period; after that, “unavailable”. See why the platform never guesses a balance.

From the workshop record

Every decision was argued, both ways

Some proposals were wrong and got caught. Others held under pressure.

Not everything managed

Bank team: I don’t like managing the gateway software ourselves. I would rather embrace what the cloud can give, otherwise we go back to on premises.
Architect: Agreed for the gateways and the queue. Not for customer identity. AWS’s own service won’t let you export customers’ passwords. Lose a region, and every customer registers again.

Core Integration is middleware

Bank team: Core Integration is our middleware to the bank. Shouldn't the payment worker sit inside the Payment Service?
Architect: Agreed. Retries, statuses and expiry are payment decisions; one owner for the whole lifecycle.

Justify it, or remove it

Bank team: A distributed cache has to be justified. If it’s only for balances, use the database.
Architect: Two real uses: posted history, to spare the slow core at payday peaks, and session state shared across instances.
Bank team (at the ADR review): Both can live in the database. Nothing here needs that kind of scale. Justify it properly, or remove it.
Architect: After thinking it over, I reconsidered. A peak of a few thousand reads a second fits a sized database, which already shares session state and keeps history durably. Removed, until measured load says otherwise.

Audit trail

Bank team: Isn’t stdout logging, shipped by agents, tamper-proof enough? Justify a separate audit trail.
Architect: No. Collection is best effort, a setting can silence it, and the people running the logs can edit them.
Bank team: Then no audit code in our business logic.
Architect: Agreed: a shared interceptor writes it, in the same transaction.

Who it’s for

Built for anyone who has to defend their design

  • Senior engineers asked to present a backend architecture in an interview.

  • Senior developers moving into architecture who want to see a full design end to end.

  • Architects preparing a design review with a CTO or a security team.

  • Teams modernizing around a legacy core they cannot replace.

FAQ

Frequently asked questions

Before you buy.

Is this a real bank?

The bank is fictional, the situation is not. Banking on Change is an original JustifiedCode kata built from years of architecture work with clients. The legacy system no one can replace, services that go down, a security team that challenges every choice. The pushbacks in the record happened and you will recognize them from your own experience.

Which cloud?

AWS, Middle East (UAE) region with a DR site at the bank's own data center.

Can I edit the diagrams?

Yes. Download the .excalidraw files. Open them at excalidraw.com. They use the free Software Architect Toolbox library.

Is it tied to a programming language?

No. The blueprint works at architecture level. The tech stack is left to delivery team. The hexagonal code structure applies to any stack.

Free sample

Still deciding?

Read the free sample first: the brief, the use cases and system context, 8 slides from the architecture deck, 3 full ADRs, and the index of all 43 decisions.

Get the free sample →