DSG Seminar Series • Hiding data stalls in main-memory database engines using coroutines Export this event to calendar

Monday, April 19, 2021 1:00 PM EDT

Speaker: Tianzheng Wang, Simon Fraser University (Talk virtually over zoom)

Abstract: As the speed gap between memory and CPU continues to widen, memory accesses are becoming a major overhead in pointer-rich data structures, such as B-trees, hash tables and linked lists, which are widely used to in modern database systems. Software prefetching can be effective in hiding such stalls, by careful scheduling and batching that load the needed memory blocks in advance, but requires various changes in the code base with a vastly different multi-key interface and was mostly piecewise solutions. In this talk we will highlight our experience of tackling these challenges using recently standardized coroutines in C++20 in a full databae engine. The crux is a new "coroutine-to-transaction" paradigm that simplifies application development with backward compatibility, while retaining the performance benefits of software prefetching.

Bio: Tianzheng Wang is an assistant professor in the School of Computing Science at Simon Fraser University (SFU) in Vancouver, Canada. He works on the boundary between software and modern hardware (in particular persistent memory, manycore processors and next-generation networks). His current research focuses on database systems and related areas that impact the design of data-intensive systems, such as operating systems, distributed systems and synchronization. Tianzheng Wang received his Ph.D. and M.Sc. degrees in Computer Science degrees from the University of Toronto in 2017 and 2014, respectively (advised by Ryan Johnson and Angela Demke Brown). He received his B.Sc. in Computing (First Class Honours) degree from Hong Kong Polytechnic University in 2012. Prior to joining SFU, he spent one year (2017-2018) at Huawei Canada Research Centre (Toronto) as a research engineer. His work has been recognized by a 2021 ACM SIGMOD Research Highlight Award, a 2019 IEEE TCSC Award for Excellence in Scalable Computing (Early Career Researchers) and nominations for best/memorable paper awards.

Talk video

 
Location 


,
Canada

S M T W T F S
25
26
27
28
29
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
  1. 2024 (6)
    1. March (5)
    2. February (1)
  2. 2023 (13)
    1. December (2)
    2. October (1)
    3. September (2)
    4. August (2)
    5. May (3)
    6. April (1)
    7. February (1)
    8. January (1)
  3. 2022 (6)
  4. 2021 (8)
  5. 2020 (6)
  6. 2019 (27)
  7. 2018 (26)
  8. 2017 (15)
  9. 2016 (25)
  10. 2015 (19)
  11. 2014 (34)