We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Fast encrypted backups with Rust

Formal Metadata

Title
Fast encrypted backups with Rust
Title of Series
Number of Parts
8
Author
License
CC Attribution 3.0 Unported:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
Zerostash is a deduplicated and encrypted file storage format that is optimized for speed. The talk will walk through the problem domain, the design decisions that were influenced directly by the need for speed for tools like this, and how to reduce synchronization latency in for remote or p2p sync. The listeners will learn about how backup software generally works, and where the design tradeoffs lie when designing a storage layer. In addition, they get some insights into generic Rust optimization tricks and gotchas: * Reducing the number of copies * Slicing a slice will reduce performance * LTO * inlining * reducing code size on the hot path * threads and pipelining * trusting the operating system * using vectorization for the costliest things