Database Isolation, Production Latency Triage, and DDD vs CQRS
Medium · Software Engineering Fundamentals · Software Engineer · Technical Screen
Prompt
Walk through the three backend engineering topics below, grounding each explanation in concrete production mechanisms and trade-offs:
-
Relational database concurrency & transaction isolation
- How do relational engines coordinate concurrent reads and writes, prevent lost updates, and enforce transaction isolation?
- How do the standard SQL isolation levels (
READ UNCOMMITTED,READ COMMITTED,REPEATABLE READ,SERIALIZABLE) map to classic concurrency anomalies — including dirty reads, non-repeatable reads, phantom reads, and multi-row anomalies?
-
Investigating a live latency regression
- Customers report that a backend API is responding noticeably slower than normal. Which telemetry signals do you inspect in the first few minutes?
- How do you systematically isolate whether the slowdown originates in CPU / runtime, database queries or locks, network transport, external downstream services, or a recent code / configuration rollout?
-
Domain-Driven Design (DDD) and Command Query Responsibility Segregation (CQRS)
- Define DDD and CQRS clearly, distinguishing strategic boundaries from tactical building blocks and write models from read projections.
- When does each pattern justify its added complexity, and what failure modes or anti-patterns frequently hurt teams in production?
Scope & Expectations
- Concrete concurrency mechanics: Contrast locking with Multi-Version Concurrency Control (MVCC), illustrate how naive read-modify-write loses updates, show practical SQL/application fixes, and note real engine nuances (such as snapshot isolation and write skew).
- Structured incident triage: Prioritize scoping blast radius, latency percentiles (
p50/p95/p99) over averages, end-to-end distributed traces, and queueing/saturation intuition across every infrastructure layer before jumping to premature fixes. - Pragmatic architecture judgment: Explain both strategic and tactical DDD alongside synchronous/asynchronous CQRS, clearly stating when simpler CRUD + indexed SQL suffices and calling out pitfalls like anemic models, stale read-your-own-writes, and dual writes.
Step-by-step walkthrough
Concurrency control: how locks and MVCC isolate transactions
A database runs thousands of transactions (all-or-nothing groups of reads and writes) concurrently. Isolation (the "I" in ACID) means concurrent transactions should not corrupt each other's view of the data. Relational engines combine two core mechanisms to achieve this:
- Locks (blocking conflicting access): A shared lock (read lock) lets multiple readers inspect a row simultaneously while blocking writers; an exclusive lock (write lock) blocks everyone else until the writer finishes. Under strict two-phase locking (2PL), a transaction acquires locks as needed and holds them until
COMMITorROLLBACK. The trade-off is waiting and deadlocks — for example, Transaction 1 locks Row A and waits for Row B while Transaction 2 locks Row B and waits for Row A. The database detects this cycle in its waits-for graph and aborts one transaction so the other can finish. - MVCC (Multi-Version Concurrency Control — keeping multiple timestamped versions of a row): Instead of overwriting a row in place and blocking readers, an
UPDATEcreates a new version stamped with the writer's transaction ID. Readers view a consistent snapshot (the versions already committed when their snapshot was taken):
Row id=1 starts at balance=100 (committed v1) Time Writer T1 Reader T2 (MVCC snapshot) ---- ------------------------------------ ------------------------------------------- t1 BEGIN; UPDATE balance = 70; (v2) BEGIN; SELECT balance -> sees v1 (100), (holds exclusive write lock on id=1) zero lock wait! t2 COMMIT; (v2 is now live) (under REPEATABLE READ, still sees 100; under READ COMMITTED, next SELECT sees 70)Under MVCC, readers never block writers and writers never block readers, though two writers updating the same row still queue behind each other on that row's write lock. (PostgreSQL stores old row versions in the main table heap and reclaims dead ones via
VACUUM; MySQL InnoDB updates the primary index in place and reconstructs older snapshots from its undo log.)- Locks (blocking conflicting access): A shared lock (read lock) lets multiple readers inspect a row simultaneously while blocking writers; an exclusive lock (write lock) blocks everyone else until the writer finishes. Under strict two-phase locking (2PL), a transaction acquires locks as needed and holds them until
Prevent lost updates with four concrete patterns
A lost update happens when two transactions read the same value into application memory, compute a new value independently, and both write back — silently erasing the first update:
Account #1 starts with balance = 100 GBP. Two 30 GBP withdrawals arrive together: Time Transaction T1 Transaction T2 ---- ------------------------------------ ------------------------------------ t1 SELECT balance -> reads 100 SELECT balance -> reads 100 t2 computes 100 - 30 = 70 computes 100 - 30 = 70 t3 UPDATE balance = 70; COMMIT; t4 UPDATE balance = 70; COMMIT; <-- overwrites T1! Result: balance is 70 GBP instead of 40 GBP (one 30 GBP withdrawal vanished).Note that wrapping
SELECT+UPDATEinBEGIN ... COMMITat defaultREAD COMMITTEDdoes not stop this! Use one of four standard patterns:-- 1. Single atomic UPDATE: database reads and modifies under one exclusive row lock. UPDATE accounts SET balance = balance - 30 WHERE id = 1 AND balance >= 30; -- 0 rows updated means insufficient funds -- 2. Pessimistic locking: lock the row at read time so T2 waits at SELECT until T1 commits. BEGIN; SELECT balance FROM accounts WHERE id = 1 FOR UPDATE; -- run complex multi-step business checks in application code, then: UPDATE accounts SET balance = 70 WHERE id = 1; COMMIT; -- 3. Optimistic locking (compare-and-set): check a version counter on write; retry if 0 rows match. UPDATE accounts SET balance = 70, version = version + 1 WHERE id = 1 AND version = 7;- Conflict-detecting isolation (
REPEATABLE READ/SERIALIZABLEin PostgreSQL): PostgreSQL automatically aborts T2'sUPDATEwithERROR: could not serialize access due to concurrent update, forcing the app to retry. Watch out for engine differences: MySQL InnoDB'sREPEATABLE READperforms a "current read" duringUPDATEand still allows the lost update above unless you use options 1–3!
Here is clean application retry logic for optimistic locking:
def withdraw_optimistic(conn, account_id: int, amount: int, max_attempts: int = 3) -> int: """Withdraw amount using an optimistic version column, retrying on concurrent writes.""" for _ in range(max_attempts): row = conn.execute( "SELECT balance, version FROM accounts WHERE id = ?", (account_id,), ).fetchone() if row is None: conn.rollback() raise KeyError(f"account {account_id} does not exist") balance, version = row if balance < amount: # Close the read transaction cleanly before raising. conn.rollback() raise ValueError("insufficient funds") new_balance = balance - amount cursor = conn.execute( "UPDATE accounts SET balance = ?, version = version + 1 " "WHERE id = ? AND version = ?", (new_balance, account_id, version), ) # Commit even when rowcount == 0 so the next attempt reads a fresh snapshot. conn.commit() if cursor.rowcount == 1: return new_balance raise RuntimeError("concurrent update contention; please retry")Use atomic
UPDATEor pessimisticFOR UPDATEon hot rows with short transactions; use optimisticversionchecks when conflicts are rare or when work spans user think-time or external API calls (never hold a DB lock across a network call!).- Conflict-detecting isolation (
Map SQL isolation levels to read anomalies and write skew
The SQL standard defines four isolation levels according to three read anomalies:
- Dirty read: T1 updates balance
100 -> 0without committing; T2 reads0and declines a payment; T1 rolls back. T2 acted on uncommitted data that never existed. - Non-repeatable read: T2 reads Account 1 (
100); T1 commits an update (100 -> 70); T2 re-reads Account 1 in the same transaction and sees70(the same row changed). - Phantom read: T2 queries
SELECT COUNT(*) FROM transfers WHERE amount >= 1000and gets3; T1 inserts a fourth£1,500transfer and commits; T2 re-runs the query and gets4(a new row entered the search range).
SQL standard level Dirty read Non-repeatable read Phantom read Write skew ------------------ ---------- ------------------- ------------ ---------- READ UNCOMMITTED Allowed Allowed Allowed Allowed READ COMMITTED Prevented Allowed Allowed Allowed REPEATABLE READ Prevented Prevented Allowed* Allowed SERIALIZABLE Prevented Prevented Prevented Prevented *PostgreSQL's REPEATABLE READ uses full snapshot isolation, preventing phantom reads too.Know write skew, the classic multi-row bug that snapshot isolation (
REPEATABLE READin PostgreSQL) still permits: - Business rule: a user's Checking (£100) + Savings (£100) combined balance must stay>= £0. - T1 readsChecking + Savings = £200and withdraws£150from Checking (-> -£50). Simultaneously, T2 readsChecking + Savings = £200and withdraws£150from Savings (-> -£50). - Because T1 and T2 modify different rows, row-level conflict checks pass and both commit, leavingChecking + Savings = -£100! Prevent write skew withSERIALIZABLE(PostgreSQL tracks read-write dependency cycles via Serializable Snapshot Isolation) or by locking a shared parent row / both account rows withSELECT ... FOR UPDATEin deterministic ID order.- Dirty read: T1 updates balance
Triage a slow service: scope the blast radius and read the first signals
When users report "the service is slower than usual", resist restarting servers blindly. Spend the first 3–5 minutes narrowing the blast radius:
- Scope what and who is slow: Is it one endpoint (
POST /transfer) or every endpoint? One region, mobile app version, or large merchant account, or all traffic? One endpoint points to query/code logic; all endpoints point to shared infrastructure (DB, auth, network, CPU). - Correlate the start time with changes: Overlay deployments, feature-flag flips, config changes, DB schema migrations, cron jobs, and traffic spikes onto the latency timeline.
- Check the Four Golden Signals using percentiles, never averages:
- Latency (
p50,p95,p99): Ifp50stays at35 mswhilep99jumps from180 msto2,500 ms,99%of requests are fast and a tail issue (lock contention, garbage-collection pauses, cold cache, one slow shard) is hitting1%. Ifp50rises too, the whole pipeline slowed down. - Traffic (requests/sec): Did request rate or payload size spike?
- Errors & timeouts: Rising timeouts trigger client retries, multiplying load into a retry storm.
- Saturation: CPU throttling, memory/GC pressure, thread pools, and DB connection pools.
- Latency (
- Inspect one slow distributed trace: Compare a
2,000 mstrace against a healthy50 mstrace to see exactly which span ate the wall-clock time:
Request trace: POST /payments (total 1,200 ms) |-- Auth middleware ............. 15 ms |-- App validation .............. 25 ms |-- Acquire DB connection ....... 1,100 ms <-- BOTTLENECK: pool exhausted, waiting in line! |-- SQL INSERT + UPDATE ......... 60 ms <-- DB query execution itself is healthyWithout that trace breakdown, teams waste hours tuning a
60 msSQL query when requests actually waited1,100 msfor a free connection from the pool.- Scope what and who is slow: Is it one endpoint (
Isolate CPU, DB, network, dependency, or code bottlenecks with numbers
Apply Brendan Gregg's USE method (Utilization, Saturation / queue length, Errors) to each suspect layer:
Suspect layer First metrics & tools to check Classic root causes ------------- ------------------------------------------------------ ------------------------------------------ CPU / runtime Container CPU throttling (cfs_throttled), CPU flame Catastrophic regex, huge JSON parsing, graph, GC pause duration, async event-loop lag heap exhaustion causing stop-the-world GC Database pg_stat_statements (total & mean time), lock waits in Missing index after table growth, planner pg_stat_activity, connection pool wait, EXPLAIN ANALYZE flip from stale stats, hot-row lock queue Network Client vs server latency gap, TCP retransmits, DNS Cross-AZ packet loss, missing HTTP keep- lookup time, TLS handshake count alive reopening TLS on every call Dependencies Downstream call latency/error rate, circuit breakers, Slow partner bank API holding worker retry count per incoming request threads, cascading retry amplification Code / config Canary vs baseline pods, git diff / flag history New N+1 query inside a loop, bypassed cacheThree quick back-of-the-envelope formulas immediately reveal hidden bottlenecks: - Little's Law (
L = λ × W— average concurrency equals arrival rate times average hold time): If a service has a pool ofL = 20DB connections and each request holds a connection forW = 0.05 s(50 ms), maximum steady-state throughput isλ_max = 20 / 0.05 = 400 req/s(at300 req/s,15connections are busy on average). If traffic rises to450 req/s,50excess requests pile up every second: after10 s,500requests sit in the queue, adding500 / 400 = 1.25 sof pure queue wait even though every SQL query still runs in50 ms! - Non-linear queueing near saturation: In a basic single-queue model (M/M/1, random arrivals and service times), average response time scales asservice_time / (1 - utilization). At50%utilization latency is2×service time; at90%it jumps to10×; at95%it explodes to20×— long before a dashboard hits100%. - Retry amplification: Three microservice tiers each configured with1initial try +3retries (4attempts) multiply a downstream stall into4 × 4 × 4 = 64calls at the bottom tier.Always mitigate user pain first (roll back the bad deploy, disable the flag, shed non-critical load, or scale replicas if downstream isn't the bottleneck), then verify the permanent fix with
EXPLAIN (ANALYZE, BUFFERS)or a load test on staging.Understand Domain-Driven Design (DDD)
Domain-Driven Design (DDD) is a software modelling approach for complex business domains where code structure, types, and boundaries mirror how domain experts actually run the business. It splits into two halves:
-
Strategic DDD (architecture & team boundaries — the highest-leverage half):
- Ubiquitous language: Engineers and product/compliance experts use identical, unambiguous terms in conversations and class names (
LedgerEntry,ChargebackDispute,SettlementBatch— neverDataProcessororStatusFlag3). - Bounded context: An explicit boundary inside which one domain model and vocabulary have a single meaning. For example,
"Account"in Onboarding/KYC means identity documents and verification tier, whereas"Account"in Core Ledger means currency, balance, and postings — keeping separate models prevents one tangled 80-columnaccountsgod-table. - Anti-corruption layer (ACL): An adapter at a boundary that translates legacy or third-party data structures into your clean domain types so external quirks do not leak inward.
- Ubiquitous language: Engineers and product/compliance experts use identical, unambiguous terms in conversations and class names (
-
Tactical DDD (code patterns inside one bounded context):
- Entity: Defined by a persistent identity across state changes (e.g.,
Cardwithcard_id = 991). - Value object: Immutable and defined purely by its attributes, enforcing local rules on creation — e.g.,
Money(amount_minor=1050, currency="GBP")refusesMoney(1050, "GBP") + Money(500, "EUR")at the type/method level instead of silently adding1550. - Aggregate & Aggregate Root: A small cluster of entities/value objects treated as a single consistency unit guarded by one root object (
Walletenforcingavailable_balance >= 0). One database transaction modifies one aggregate; side effects on other aggregates happen asynchronously via domain events (TransferCompleted) persisted through repositories.
- Entity: Defined by a persistent identity across state changes (e.g.,
-
Understand CQRS (Command Query Responsibility Segregation)
CQRS separates the code path and data model that mutates state (Commands) from the code path and data models that read state (Queries):
+---> [Write Model / Domain Aggregate] ---> [Primary Normalized DB] Command | (enforces business invariants) | (TransferMoney) -----+ [Transactional Outbox] | (async events) Query v (GetMonthlySpend) <------- [Read Model / Denormalized Projection] <-- [Projector Worker] (fast single-row lookup; ~200ms lag)- Commands express user intent (
FreezeCard,AuthorizePayment), validate invariants against the authoritative write store, and return success/error (or the new entity version) without complex view payloads. - Queries read from tailored projections (read models) with zero business logic — ranging from a SQL view or summary table in the same database (strongly consistent) to an asynchronous Elasticsearch index or pre-aggregated analytics table (eventually consistent).
Concrete numeric example: instead of a mobile "Monthly Spending Breakdown" screen scanning and grouping
10,000raw card transactions on every app open (180 msDB CPU), a projector consumes eachTransactionSettledevent, increments(user_id, year_month, category)byamount_gbp, and serves the screen in a1 msprimary-key read — trading away ~200–500 msof eventual consistency (brief staleness while the projection catches up). Note that CQRS is often paired with event sourcing (storing immutable domain events as the source of truth rather than current state), but neither requires the other.- Commands express user intent (
Decide when to use DDD and CQRS — and avoid their pitfalls
Neither pattern is a default template for every microservice; apply them selectively where complexity or scale pays back their overhead:
Pattern Use when... Skip when... ------- ----------------------------------------------------- ---------------------------------------------- DDD Rich, evolving business invariants (payments, credit, Simple CRUD services, thin data pipelines, or fraud, compliance) and multiple teams sharing a domain internal admin forms with minimal logic CQRS Heavy read/write asymmetry (e.g., 100:1 read-to-write) Reads map cleanly to indexed queries on the or complex multi-entity dashboards slowing write locks write tables at acceptable latencyWatch out for the classic production pitfalls: - Tactical DDD cargo-culting & anemic models: Adding
Repository,Factory, and DTO boilerplate without bounded contexts, or putting bare getters/setters on entities while scattering validation across 15 service classes (anemic domain model). - Oversized "god aggregates" & shared DBs: Putting a customer's profile, 5 wallets, and 10,000 transactions inside oneCustomeraggregate causes constant lock contention; letting two bounded contexts read/write each other's tables destroys independence. - Breaking read-your-own-writes in async CQRS: A user transfers£50, lands on the home screen80 mslater while projection lag is300 ms, and panics seeing their old balance. Fix: return the writeversionto the client so the read API either queries the primary or waits briefly ifprojection_version < client_version, or optimistically update client UI state. - Dual-write data loss & non-idempotent projectors: Updating the DB and publishing a Kafka event in two separate network calls loses events if the process crashes in between — use the transactional outbox pattern (insert the event row in the same DB transaction, then relay it) and make projection handlers idempotent (trackinglast_processed_event_idso duplicate deliveries never double-count money).
Intuition & how it works
Think of a high-traffic digital bank as a busy branch with ledger clerks, a highway feeding customers to the doors, and specialized back-office desks:
- Database concurrency lets thousands of clerks work on the ledger simultaneously: MVCC (Multi-Version Concurrency Control, storing timestamped versions of each row) hands readers a consistent snapshot photocopy so reading never blocks writing, while row locks and optimistic version counters prevent two clerks from overwriting each other's balance edits.
- Performance debugging works like investigating a sudden highway jam: before rebuilding engines, you check which exits backed up and when (scoping + deployments), follow one delayed car end-to-end (distributed tracing), and check queue math because resources above 90% utilization build huge waiting lines even when individual work takes milliseconds.
- DDD (Domain-Driven Design) and CQRS (Command Query Responsibility Segregation) keep complex codebases sane by giving each department its own clean vocabulary (bounded contexts) and separating the strict teller desk that validates transfers (write model) from pre-computed summary boards (read projections).
Naive shortcuts fail across all three areas. Wrapping SELECT balance then UPDATE balance inside a default READ COMMITTED transaction still loses money when two withdrawals overlap; checking average latency hides severe p99 tail stalls while blaming "slow SQL" misses exhausted connection pools; and applying async CQRS to a simple CRUD form creates stale-UI bugs and operational overhead for zero gain.
Walk through three tiny concrete traces to anchor each topic:
- Concurrency: Account 1 has £100. T1 and T2 both read balance = 100, version = 7 to withdraw £30. T1 runs UPDATE ... SET balance = 70, version = 8 WHERE id = 1 AND version = 7 (1 row updated, commits). T2 runs the same WHERE version = 7 (0 rows updated!), detects the conflict, re-reads balance = 70, version = 8, and updates cleanly to £40.
- Slowness: A trace for a 1,200 ms POST /payments call shows 40 ms in app code, 1,100 ms waiting for a free DB connection, and 60 ms running SQL: 20 pooled connections held 50 ms each cap throughput at 20 / 0.05 = 400 req/s, so a spike to 450 req/s queues 500 requests in 10 s (1.25 s pool wait).
- CQRS: Instead of summing 10,000 raw ledger rows on every mobile dashboard open, a background projector adds each TransactionSettled event into a monthly_category_spend row so queries become 1 ms single-row lookups.
Key points
- Locks + MVCC work together: MVCC serves point-in-time snapshots so readers and writers do not block one another, while exclusive row locks still serialize concurrent writers touching the same row.
- Prevent lost updates explicitly: Use single-statement atomic updates (
SET balance = balance - 30 WHERE balance >= 30), pessimistic row locks (SELECT ... FOR UPDATE), optimisticversioncolumns with retries, or PostgreSQLREPEATABLE READ/SERIALIZABLEconflict errors (remembering MySQL InnoDB'sREPEATABLE READstill overwrites onUPDATEwithout options 1–3). - Know SQL anomalies and engine realities:
READ COMMITTEDstops dirty reads (reading uncommitted changes),REPEATABLE READstops non-repeatable reads (a re-read row changing), andSERIALIZABLEstops phantom reads (new rows appearing in a range) and write skew (two transactions reading overlapping invariants and updating disjoint rows). - Investigate slowness top-down with percentiles and traces: Scope affected endpoints/regions and recent deploys, inspect latency percentiles (
p50,p95,p99), traffic, errors, and saturation, inspect one slow distributed trace (end-to-end span breakdown across services), and apply the USE method (Utilization, Saturation, Errors) across CPU, DB, network, dependencies, and code changes. - Quantify capacity and queueing: Little's Law (
concurrency = arrival_rate × hold_time) sets connection/thread pool ceilings, M/M/1 queueing (1 / (1 - utilization)) explains why latency jumps10×at90%utilization, and chained retries multiply load exponentially. - Use DDD for domain complexity and CQRS for read/write asymmetry: Strategic DDD (ubiquitous language and bounded contexts) prevents tangled god-models while tactical DDD (entities, immutable value objects, and invariant-enforcing aggregates) protects business rules; CQRS decouples write invariants from read projections at the cost of eventual consistency (temporary read lag) when stores are asynchronous.
Common mistakes
- Assuming
BEGIN ... COMMITalone prevents lost updates: Under defaultREAD COMMITTED(and InnoDBREPEATABLE READ), application-side read-modify-write inside a transaction still overwrites concurrent updates. - Confusing non-repeatable reads, phantom reads, and write skew: Non-repeatable reads mutate an existing row, phantoms add/remove rows matching a predicate, and write skew breaks a multi-row invariant by writing to different rows under snapshot isolation.
- Holding database locks across external HTTP calls or user think-time: A slow partner API call inside
SELECT ... FOR UPDATEpins DB connections, exhausts the pool, and cascades into a full outage. - Relying on average latency or changing three knobs at once during an incident: Averages mask
p99lock/GC stalls, and simultaneous restarts + config edits + deploys destroy evidence of what actually broke. - Cargo-culting tactical DDD or applying async CQRS everywhere: Writing repositories and factories around an anemic domain model (dumb data bags with scattered service logic), or adding async Kafka projections to simple CRUD endpoints without solving read-your-own-writes and dual-write crashes.
Follow-up questions
- In a ledger or inventory service, when do you prefer optimistic version checks over pessimistic row locking? Choose optimistic locking (a
versioncolumn checked onUPDATE) when write collisions on the same row are rare or when validation spans user interaction, because zero DB locks are held while thinking and happy-path reads stay lock-free. Choose pessimistic locking (SELECT ... FOR UPDATE) or a single atomicUPDATEwhen contention on a hot row is frequent — such as a merchant settlement wallet receiving hundreds of concurrent credits per second — because making writers queue briefly in the DB beats burning CPU and DB round-trips on repeated retry failures. - How does a relational engine detect and resolve deadlocks internally, and what coding habits prevent them? The database tracks a directed waits-for graph of which transaction is waiting on which lock; when a cycle forms (
T1 -> T2 -> T1), the deadlock detector aborts one transaction as the deadlock victim so the other commits. Prevent deadlocks in code by always acquiring locks in a canonical order (for a transfer between Account7and Account3, always lockid = 3beforeid = 7), keeping transactions tiny with zero external I/O insideBEGIN ... COMMIT, indexing foreign keys and filter columns soUPDATEs do not escalate to broad index scans, and wrapping transactions in a bounded retry handler for deadlock/serialization errors. - When CQRS read projections update asynchronously, how do you prevent lost events and duplicate counting? Avoid dual writes by using the transactional outbox pattern: insert the domain event into an
outboxtable inside the exact same local DB transaction as the write-model state change, and have a relay process publish committed outbox rows to the message broker (at-least-once delivery). On the consumer side, make every projection handler idempotent (safe to run multiple times with the same result) by recording thelast_applied_versionorevent_idin the same transaction that updates the read row, partition events by aggregate ID so per-entity updates arrive in order, monitor projection lag (p99event age), and keep a replay job ready to rebuild projections from scratch after schema changes or bugs.
Follow-up questions
- In a ledger or inventory service, when do you prefer optimistic version checks over pessimistic row locking?
- How does a relational engine detect and resolve deadlocks internally, and what coding habits prevent them?
- When CQRS read projections update asynchronously, how do you prevent lost events and duplicate counting?
Similar questions
- Thread-Safe Dining Reservation Service Without Overlapping Bookings
- Evaluate the Ultra Tier Rollout and Build SQL Fraud Rules
- First-Month Metrics for Ultra and Rule-Based FinCrime Scoring
- Automated Location-Based Travel Insurance Enrollment
- Global Banking Ledger and Account Sync Across Regions
- Bounded-Capacity Uniform Random Node Router
More Revolut interview questions
- Evaluate the Ultra Tier Rollout and Build SQL Fraud Rules Hard
- First-Month Metrics for Ultra and Rule-Based FinCrime Scoring Easy
- Thread-Safe Dining Reservation Service Without Overlapping Bookings Medium Pro
- Automated Location-Based Travel Insurance Enrollment Medium Pro
- Global Banking Ledger and Account Sync Across Regions Medium Pro
- Bounded-Capacity Uniform Random Node Router Medium Pro
- Deadlock-Free Concurrent Account Ledger Transfers Medium Pro