Implementing Domain-Driven Design with Spring and vFabric
summary
Reference trading app NanoTrader (now Spring Trader) shows Domain-Driven Design applied with Spring MVC, Spring Integration, RabbitMQ, Hibernate over SQLFire/GemFire and Postgres to add an algorithmic trading core that calculates a VWAP analytic, aggregates quotes into bars every ~100 quotes or 2s across 100 symbols, and issues 100-share slice orders when price < VWAP for inbound orders ≥500 shares. Code is refactored into aggregates, immutable value objects (Money, QuoteBar), business IDs and published order placed event / order-filled events enabling eventual consistency — the demo executes real slices successfully.
AI-written summary · about
chapters (21)
- 0:00Introduction
- 2:33Background
- 3:49Smalltalk
- 6:28Importance of software quality
- 10:27Why domaindriven design
- 11:12Who needs us
- 16:46Questions
- 17:48Nanna Trader
- 29:25EMC
- 30:38Vaughn Vernon
- 39:13DDD Lite
- 40:18Two Mindsets
- 41:27The Gap
- 42:23Domain Experts
- 44:38Thinking in Multiple Fonts
- 45:15Interacting with Domain Experts
- 49:48Brownfield Development
- 50:42Green Code Fairy
- 52:33Context Mapping
- 55:49Layers Architecture
- 57:39hexagonal architecture
related talks
01h 23mBuilding Highly-Scalable Spring Applications with In-Memory, Distributed Data Grids
58mGame of Streams
56mProcessing Real Time Trading Data with Event Streaming
57mGame of Streams: How to Tame and Get the Most from Your Messaging Platforms
01h 01mDistributed .NET deep dive
34mDesigning, Building and Testing Deterministic HFT Systems
59mGame of Streams: How to Tame & Get the Most from your Messaging Platforms
28mPractical Introduction to OpenTelemetry Tracing
