BIFOLD Colloquium 2022/02/28
State Management in Cloud-Native Streaming Systems
Speaker: Yingjun Wu (Singularity Data)
Venue: Virtual event
Date and time: February 28, 2022. 3:30 pm – 4:15 pm.
Registration: If you are interested in participating, please contact: email@example.com
Streaming systems are becoming increasingly essential for extracting business value from data in real-time. To achieve different SLAs demanded by customers under constantly changing workloads, it is a must to take advantage of the scalable, resilient, diversified resources in the cloud. New demand opens new opportunities and challenges for state management, which is at the core of streaming databases. Existing approaches typically use embedded key-value storage so that each worker can access it locally to enjoy its high performance. However, it requires an external durable file system for checkpointing, is complicated and time-consuming to redistribute state during scaling and migration, and is prone to performance throttling. Therefore, we propose shared storage based on LSM-tree. State gets stored at cloud object storage and seamlessly makes itself durable, and the high bandwidth of cloud storage enables fast recovery. The location of a partition of the state decouples with compute nodes thus making scaling straightforward and more efficient. Compaction in this shared LSM-tree is now globally coordinated with opportunistic server-less boosting instead of relying on individual compute nodes. We design a streaming-aware compaction and caching strategy to achieve smoother and better end-to-end performance.
Yingjun Wu is the founder and CEO of Singularity Data (https://www.singularity-data.com/), a startup innovating next-generation database systems. Before starting his adventure, he was a software engineer at the Redshift team, Amazon Web Services, and a researcher at the Database group, IBM Almaden Research Center. He received his PhD degree from National University of Singapore, where he was affiliated with the Database Group (advisor: Kian-Lee Tan). He was also a visiting PhD student at the Database Group, Carnegie Mellon University (host advisor: Andrew Pavlo). He earned his bachelor’s degree from South China University of Technology. He is passionate about integrating research into real-world system products. During his time in AWS, he was responsible for boosting Amazon Redshift performance using advanced vectorization and compression techniques. Before that, he participated in the development of IBM Db2 Event Store’s indexing structure and transaction processing mechanism. During his PhD, he developed two main-memory DBMS prototypes, namely Peloton and Cavalia.He was also an early contributor to Stratosphere, which is now widely known as Apache Flink.