The GeekNarrator

How would you design a database on Object Storage?

36 snips
Dec 2, 2024
In this talk, Simon Hørup Eskildsen, an experienced software engineer and founder of Turbopuffer, shares insights from his vast experience in database scalability and object storage solutions. He dives into the challenges of building databases on object storage, discussing write-ahead logs, multi-tenancy issues, and the intricacies of handling multiple writers. Simon elaborates on trade-offs in write operations and the complexities of optimizing database read paths, offering practical strategies for performance enhancement. A must-listen for database enthusiasts!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Search Workload Architecture

  • Separate compute and storage for search workloads, offering a balance between OLTP and OLAP systems.
  • This architecture allows for easier experimentation and data re-ingestion.
ADVICE

Simple Database Design

  • Start with a simple database design on object storage, using a write-ahead log (WAL).
  • Append writes as incrementally numbered files in the WAL directory.
ADVICE

Multiple Writer Strategies

  • Handle multiple writers with various strategies: single writer, lock service, or conditional writes.
  • Consider object storage features like conditional writes for conflict resolution.
Get the Snipd Podcast app to discover more snips from this episode
Get the app