This book is a unique practical guide to building your own ultrafast in-memory databases, based on the author's years of experience at Datadog and DraftKings.
You'll learn to build systems that handle millions of requests per second from a single node. The book covers the entire development cycle: from architecture to production deployment.
Key topics:
• Designing in-process memory databases for stateful services
• Implementing transactions with atomicity and consistency guarantees
• Creating secondary indexes (Value, MultiValue, Range Scan)
• Working with data larger than RAM
• Persistence and distributed mode with range-based sharding
• Optimization for sub-millisecond latency
Each chapter includes practical code examples, performance benchmarks, and proven architectural solutions. You'll gain the knowledge to create systems with extreme speed - millions of operations per second on standard hardware.
Perfect for developers building high-load APIs, ETL workers, or any systems where speed is critical. From basic concepts to advanced optimizations- everything you need to build your own enterprise-grade in-memory database.