Series
Tricky Senior Engineer Interview Questions
3 episodes, in order. The code builds on itself, so following from the start leaves you with a complete system rather than a pile of samples.
-
The Java Loop That Is Quietly Quadratic →
It compiles, it passes review, and it is correct. It also gets roughly three times slower every time you double the input, and the reason is a language rule most engineers can recite but do not apply.
-
Design a Digital Wallet: The $100 Transfer That Disappears →
A customer sends $100, the money leaves their wallet, and the system crashes. Idempotency keys, a double entry ledger, the lost update, one atomic transaction and the transactional outbox, worked end to end.
-
Distributed Transactions: What @Transactional Actually Covers →
Rolled back, and the customer is still charged. The measured cost of a remote call inside the boundary, why Kafka is not an XA resource, and the sentence in Spring own documentation that settles the argument.