~/talk

Fast encrypted backups with Rust

Talkat Rusty Days 2020 · 2020-07-27..08-02· [rust, security]
links:none on file
slides:none on file

Zerostash is a Rust storage format that packs data into 4MB objects, deduplicates and end‑to‑end encrypts it, and targets low latency by minimizing syscalls and copies via mmap, buffer reuse and pipelining. Implementation uses blake2 for crypto indexing, cHash for fast dedupe (~10 GB/s), lz4, crossbeam and dashmap, secrecy for key wiping, LTO and panic=abort for speed. Benchmarks hit ~1 GB/s on small files and an LRU tweak yields roughly 20% gain.

AI-written summary · about

  1. 0:00Introduction
  2. 2:00Privacy policies
  3. 2:22Encryption at rest
  4. 3:07Endtoend encryption
  5. 4:03Performance vs security
  6. 4:57Performance
  7. 5:45Latency
  8. 7:23Throughput
  9. 8:06Zero Stash
  10. 9:38Minimize latency
  11. 12:46Primitives
  12. 14:37Optimizations
  13. 17:55Design Implementation
  14. 20:28Structure
  15. 21:32Profiling
  16. 27:10Pressure comparison
  17. 28:42When to copy
  18. 29:29Slicing
  19. 30:38Reducing code size
  20. 34:18Arking
  21. 35:50LTO
  22. 36:51Async
  23. 41:13Read vs Map
  24. 43:09Object storage
  25. 45:11Performance improvement
  26. 46:16Encryption keys
  27. 48:15Compression ratio
  28. 49:20Error handling
  29. 50:04Backup verification
  30. 51:31Syncing keys
  31. 53:36Timing attacks
  32. 55:13Encryption smaller than 4MB
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.