PhD Seminar • Systems and Networking • MemSnap: Delivering on the Single Level Store VisionExport this event to calendar

Friday, January 26, 2024 — 2:00 PM to 3:00 PM EST

Please note: This PhD seminar will take place online.

Ryan Hancock, PhD candidate
David R. Cheriton School of Computer Science

Supervisor: Professor Ali José Mashtizadeh

Single Level Stores have recently resurfaced as a system for persisting application data. Systems like EROS, Aurora, and TreeSLS use application checkpointing to replace existing file-based APIs. These systems checkpoint at a coarse granularity and must be used with file-based persistence mechanisms like WALs, undermining the advantages of Single Level Stores.

We propose MemSnap, a new Single Level Store that completes the single store vision by eliminating the need for the WAL API. MemSnap persists updates to memory for individual transactions concurrently with other threads. We introduce a novel per-thread dirty set tracking mechanism in the kernel and use it to transparently persist application data. We expand the VM subsystem to prevent modifications to in-flight data without stopping the application. We integrate MemSnap with production-grade databases including PostgreSQL, RocksDB, and SQLite, and gain significant performance benefits and code reduction. MemSnap-based persistence has 4.5×–30× lower latency than file-based random IO and is within a factor of 2 to direct disk IO latency. MemSnap increases the throughput of SQLite by 5× over file APIs and achieves a 4× throughput improvement for RocksDB compared to Aurora’s region checkpointing API.


Bio: I’m a 6th year PhD student at the University of Waterloo, doing research at the RCS Lab. My current research explores various areas within serverless and storage. I have done modeling work for serverless workloads, looked into better isolation mechanisms for OS containers. I also built a copy-on-write checkpointing storage system to support our single level store, Aurora published at SOSP 2021.


To join this PhD seminar on Zoom, please go to https://uwaterloo.zoom.us/j/99603245971.

Location 
Online PhD seminar
200 University Avenue West

Waterloo, ON N2L 3G1
Canada
Event tags 

S M T W T F S
28
29
30
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
  1. 2024 (132)
    1. June (1)
    2. May (13)
    3. April (41)
    4. March (27)
    5. February (25)
    6. January (25)
  2. 2023 (296)
    1. December (20)
    2. November (28)
    3. October (15)
    4. September (25)
    5. August (30)
    6. July (30)
    7. June (22)
    8. May (23)
    9. April (32)
    10. March (31)
    11. February (18)
    12. January (22)
  3. 2022 (245)
  4. 2021 (210)
  5. 2020 (217)
  6. 2019 (255)
  7. 2018 (217)
  8. 2017 (36)
  9. 2016 (21)
  10. 2015 (36)
  11. 2014 (33)
  12. 2013 (23)
  13. 2012 (4)
  14. 2011 (1)
  15. 2010 (1)
  16. 2009 (1)
  17. 2008 (1)