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

Опубликовано: 03 Декабрь 2019
на канале: Confreaks
1,587
54

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


Смотрите видео RubyConf 2019 - Disk is fast, memory is slow. Forget all you think you know by Daniel Magliola онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Confreaks 03 Декабрь 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,587 раз и оно понравилось 54 людям.