RubyConf 2019 - Disk is fast, memory is slow. Forget all you think you know by Daniel Magliola

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=crbyeyPS7HE



Duration: 39:10
1,525 views
55


RubyConf 2019 - Disk is fast, memory is slow. Forget all you think you know by Daniel Magliola

Adding metrics to your code should effectively have no impact on performance.


When we were recently tasked with doing that in multi-process Ruby servers, we ran into an interesting challenge: could we aggregate our numbers across processes without blowing our target of just one microsecond of overhead?



The months of work that followed had us looking into C extensions, segfault dumps, memory maps, syscall timings, and pretty much everything we could think of to try and achieve our objective.



In the process, we found some very counter-intuitive performance results that I'd like to share with you.

#confreaks #rubyconf2019




Other Videos By Confreaks


2019-12-03RubyConf 2019 - Statistically Optimal API Timeouts by Daniel Ackerman
2019-12-03RubyConf 2019 - Ruby Next: make old Ruby quack like a new one by Vladimir Dementyev
2019-12-03RubyConf 2019 - Ruby ate my DSL! by Daniel Azuma
2019-12-03RubyConf 2019 - Digesting MRI by Studying Alternative Ruby Implementations by Christian Bruckmayer
2019-12-03RubyConf 2019 - What's happening when initializing mruby? by Yurie Yamane and Masayoshi Takahashi
2019-12-03RubyConf 2019 - Building a Ruby: Artichoke is a Ruby Made with Rust by Ryan Lopopolo
2019-12-03RubyConf 2019 - Investigative Metaprogramming by Betsy Haibel
2019-12-03RubyConf 2019 - No Return: Beyond Transactions in Code and Life by Avdi Grimm
2019-12-03RubyConf 2019 - How to write pleasant code by Roman Kofman
2019-12-03RubyConf 2019 - Introducing Rubyfmt by Penelope Phippen
2019-12-03RubyConf 2019 - Disk is fast, memory is slow. Forget all you think you know by Daniel Magliola
2019-12-03RubyConf 2019 - Escaping The Tar Pit by Ernesto Tagwerker
2019-12-03RubyConf 2019 - The Fewer the Concepts, the Better the Code by David Copeland
2019-12-03RubyConf 2019 - Fixing Performance & Memory problems by Frederick Cheung
2019-12-03RubyConf 2019 - Learn Enough Ruby by Michael Hartl
2019-12-03RubyConf 2019 - Bridging the Knowledge Gap: Debugging by Mina Slater
2019-12-03RubyConf 2019 - Source-Diving for Fun and Profit by Kevin Kuchta
2019-12-03RubyConf 2019 - Conscious Coding Practice: The Three Concrete Steps by Noah Gibbs
2019-12-03RubyConf 2019 - Coding like it’s 1977: Ruby on the Apple ][ by Colin Fulton
2019-12-03RubyConf 2019 - Improv by the Third Coast Comedy Club
2019-11-30RubyConf 2019 - Q&A with Yukihiro Matsumoto (Matz)



Tags:
Ruby
RubyConf
Programming