Rewriting Pelikan in Rust - Performance, Reliability, and Efficiency in Caching

Rewriting Pelikan in Rust - Performance, Reliability, and Efficiency in Caching

Rust via YouTube Direct link

Next Steps Path to Production • feature complete . more testing • production canary • deployment

9 of 11

9 of 11

Next Steps Path to Production • feature complete . more testing • production canary • deployment

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Rewriting Pelikan in Rust - Performance, Reliability, and Efficiency in Caching

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Use Rust to: . ack Transport Layer Security (TLS) • match performance of implementation
  3. 3 Rust Storage in Pelikan: 2018 Engineer wants to add storage to Pelikan and write the library in Rust . Used the framework with FFI to use Rust Storage First commit of Rust to Pelikan!
  4. 4 Rust Server in Pelikan: 2019 Engineer wants to use Rust for server code
  5. 5 Prototype • Memcached protocol compatible • wrapped std::collections:: HashMapas temporary storage benchmarking looked good • next step: FFI for storage library
  6. 6 Rewrite Benefits new storage design • added new ideas to storage library helped make it more production ready
  7. 7 empowering everyone to build reliable and efficient software • high performance • code with confidence in reliability awesome language features and tools zero cost abstraction
  8. 8 microbenchmarking of critical components cargo fuzz easy to add fuzz testing for protocol library
  9. 9 Next Steps Path to Production • feature complete . more testing • production canary • deployment
  10. 10 Rewriting has costs and benefits Costs • Extra time would have • Easier to work with an all caused missed deadlines Rust codebase Duplicating work that's • No more cmake!!! been paid for
  11. 11 Cand Rust are both very fast Profiling and benchmarking helped get us match the performance of the implementation

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.