Posted inKarafka Performance Ruby Under the Hood: Enhancing Karafka’s CPU and Memory Efficiency Posted by Ubuntu Server Admin August 25, 2024Introduction Now and then, I like to go on a performance improvement hunt because life…
Posted inapache kafka Karafka mutex From Sleep to Speed: Making Rdkafka Sync Operations 16 Times Faster Posted by Ubuntu Server Admin May 20, 2024As an open-source developer, I constantly seek performance gains in the code I maintain. Since…
Posted infiber Karafka karafka framework The Art of Forking: Unlocking Scalability in Ruby Posted by Ubuntu Server Admin February 26, 2024Introduction The journey towards efficient parallelization in library development has often been based on using…
Posted inbenchmark Karafka karafka framework Reduce your method calls by 99.9% by replacing Thread#pass with Queue#pop Posted by Ubuntu Server Admin January 20, 2022When doing multi-threaded work in Ruby, there are a couple of ways to control the…
Posted inKarafka karafka framework Performance The hidden cost of a Ruby threads leakage Posted by Ubuntu Server Admin December 31, 2020Bug hunting Recently I’ve been working with one small application that would gradually become slower…
Posted inPerformance Ruby Ruby 2.7 The hidden cost of the Ruby 2.7 dot-colon method reference usage Posted by Ubuntu Server Admin August 2, 2020Note: This case is valid also for the “old” #method method usage. The reason why…