Core Banking Concepts
The vocabulary and mechanics of a core banking system: customers and accounts, GL vs sub-ledger, balances and holds, value dates, EOD batch, interest accrual, channels and message standards.
Double-Entry Ledger Design
How to design an immutable double-entry ledger: accounts, journal entries and postings, balance invariants, idempotent posting, concurrency on hot accounts, multi-currency and reversals.
Payments & Card Flows
Who does what in a card payment (cardholder, merchant, PSP, acquirer, scheme, issuer), the authorization-capture-clearing-settlement lifecycle, refunds and chargebacks, 3-D Secure, tokenization, instant A2A payments, wallets, and how to handle unknown outcomes.
Reconciliation & Settlement
Why and how financial systems reconcile: internal vs external sources, settlement files and bank statements, matching strategies, breaks and exception handling, batch vs near-real-time, and the design of a reconciliation service.
Compliance: PCI DSS, KYC/AML, Data Protection
What architects need to know about PCI DSS scope reduction, KYC/eKYC, AML transaction monitoring, sanctions screening, data protection and residency, audit trails, segregation of duties and maker-checker, with a Vietnam context note.
Fraud & Risk Systems
How real-time fraud and risk systems work: rules vs ML scoring, real-time vs post-transaction, features like velocity and device fingerprint, feedback loops, false-positive cost, step-up authentication, and the stream + feature store + decision service architecture inside an authorization latency budget.
E-commerce Platform Overview
The bounded contexts of an e-commerce platform, a reference architecture, how the core flows cross services, peak-traffic engineering for mega-sale days, and how a marketplace differs from a single retailer.
Product Catalog & Search
Modeling products, SKUs and variants; storing attributes with EAV, JSONB or documents; category trees; media; the search indexing pipeline; facets and ranking; and caching product detail pages.
Cart & Checkout
Designing carts (guest vs logged-in, Redis vs DB) and checkout: re-validating price and stock, quotes, orchestration with compensations, payment intents, idempotent place-order, shipping fees and abandoned carts.
Inventory & Flash Sales
Stock models (on-hand, reserved, available), reservations with TTL, oversell prevention with conditional DB updates, Redis Lua and sharded counters, flash-sale architecture with waiting rooms, tokens, rate limits and async orders, and warehouse inventory sync.
Order Management & State Machines
Modeling the order lifecycle as an explicit state machine, splitting orders into seller sub-orders and shipments, running sagas across payment, inventory and shipping, handling cancellations and returns, keeping order history and audit, and integrating with external OMS/WMS/ERP systems.
Pricing & Promotions
Price lists with effective dates, vouchers and coupons, a promotion rule engine with explicit stacking rules, budget caps under concurrency, price consistency between display and checkout, and correct rounding and money representation.