by ScoutAPM | Sep 19, 2024 | engineering, ruby
What is good memory management in Ruby? Besides the language’s baked-in features (like its advanced garbage collection and heap paging mechanism) this also means sensible coding, leveraging mature memory profiling tools – and, of course, using the best monitoring...
by ScoutAPM | Sep 8, 2023 | performance, ruby
Five Tools for Profiling Rails Apps What is a Rails profiler, and why should I use one? A Rails profiler is a tool used to analyze the performance of your Ruby on Rails application. It helps identify bottlenecks, memory leaks, and other performance issues, allowing...
by ScoutAPM | May 22, 2020 | engineering, ruby
Ruby may be over 25 years old, but it remains popular in the software community for its focus on programmer happiness. Building software with Ruby often involves leveraging one or more popular frameworks for the purpose of increasing productivity by relying on...
by ScoutAPM | Apr 23, 2020 | engineering, ruby
Lambdas are a powerful feature of the Ruby language. They allow you to wrap logic and data into a portable package. In this post, we’ll cover how and when to use lambdas. You’ll also learn about the difference between lambdas and Procs, and the performance...
by ScoutAPM | Apr 15, 2020 | performance, ruby
It is widespread to have parent-child associations in Rails applications. On the parent side is a :has_many association, and on the child side is a :belongs_to association. Examples include an article with comments, or an author with books–the former is the...
by ScoutAPM | Mar 3, 2020 | performance, ruby
A Complete Guide to Rails Caching Application performance is always a concern when building in the modern, competitive web and mobile space. At Scout, it’s why we created application performance monitoring tools in the first place. That said, there are steps you...