Search
Lessons (4)
- Time, Consistency and Distributed Transactions
Reason about clocks, ordering, split brain, locks, CRDTs and transactions without promising impossible global certainty. ![Distributed correctness: clocks …
- Hexagonal Architecture (Ports & Adapters)
… Notifier, private readonly clock: Clock, ) {} async borrow(memberId: string, bookId: string): Promise<Loan { if (!(await this.catalog.isAvailable …
- Small Functions That Do One Thing
… turn the knob on the stove 30 degrees clockwise" . js // ❌ High level and low level mixed together function …
- Clean Architecture in Depth
… calls to reach the outside world: OrderRepository , PaymentGateway , Clock . The control flow goes outward (use case → database), but …