---
title: "Fixing real world Ruby performance and memory problems"
publication: "Ruby Weekly"
issue: 480
published_at: "2019-12-12"
canonical_url: "https://rubyweekly.com/issues/480"
---

This week's Ruby news.       

#480 — December 12, 2019 

[Read on the Web](https://rubyweekly.com/issues/480)   

Ruby Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/hb4viltcjgjfhz3oit0q.jpg)](https://www.youtube.com/watch?v=UCJsjr8ksDc)   

▶[Fixing Real World Ruby Performance and Memory Problems](https://www.youtube.com/watch?v=UCJsjr8ksDc) — A dense 30 minute RubyConf talk that digs into two real world stories of resolving performance problems and memory leaks using rbtrace, ruby-prof, stackprof, and other tools and techniques. **You will learn things here!** 

Frederick Cheung   

[Ruby Concurrency Progress Report](https://www.codeotaku.com/journal/2019-12/ruby-concurrency-progress-report/index) — The results of a discussion with Matz and Koichi about concurrency in Ruby 3. I am not sure any of it is binding (yet), but it’s interesting to hear which topics and approaches made the list. 

Samuel Williams   [![\](https://copm.s3.amazonaws.com/f26c4cab.png)](https://dashboard.redisgreen.net/rubyweekly) 

[The Easiest Way to Run Redis](https://dashboard.redisgreen.net/rubyweekly) — Better monitoring, seamless scaling, durable and portable Redis hosting supporting all the latest features. 

RedisGreen sponsor   

[JIT and Ruby's MJIT](http://engineering.appfolio.com/appfolio-engineering/2019/7/18/jit-and-rubys-mjit) — An excellent explanation of what JIT is, what Ruby’s MJIT is, where it helps, where it hurts, and how you can use it. 

Noah Gibbs   

[Ruby, Where Do We Go Now?](https://metaredux.com/posts/2019/12/06/ruby-where-do-we-go-now.html) — The author of RuboCop goes through recent additions, rejections, and reversions of features in Ruby in what is a bit rantish but comes from a well-informed place. 

Bozhidar Batsov   

[An Epic Collection of Ruby One Liners](https://github.com/learnbyexample/Command-line-text-processing/blob/master/ruby_one_liners.md) — This was a popular item last year, but I wanted to feature it again as recently I’ve really been enjoying using Ruby as a ‘swiss army knife’ for all sorts of tasks, and these examples are helpful. 

Sundeep Agarwal  

💻 Jobs  

[Senior Software Developer (UK, Hampshire, On-Site)](https://www.rocksteadymusicschool.com/careers/) — Write great code for a product you can feel good about every day. Join our small team, in an amazing country manor house office. 

Rocksteady Music School   

[Backend Engineer (Stockholm)](https://emp.jobylon.com/jobs/44506-mentimeter-backend-engineer/) — Join an interactive presentation service, Stockholm based, product-first, gender-equal, inclusive and profitable startup with customers from over 150 countries 

Mentimeter   

[Find a Job Through Vettery](https://www.vettery.com/tech?utm_source=newsletter&utm_medium=cooper-rubyweekly&utm_term=tech&utm_content=grouped&utm_campaign=ad-77583) — Make a profile, name your salary, and connect with hiring managers from top employers. Vettery is completely free for job seekers. 

Vettery  

📘 Articles & Tutorials  

[Decimating Deprecated Finders](https://thoughtbot.com/blog/decimating-deprecated-finders) — If you’ve been sitting on upgrades of your Rails 5 (and earlier) apps and you have a bunch of old-style finders, then maybe [Synvert](https://github.com/xinminlabs/synvert) can help with all its parser-y goodness. 

thoughtbot   

[Nested API Parameter Validation in Rails with `ActiveModel::Validations`](https://blog.kalina.tech/2019/12/nested-api-parameter-validation-in-rails.html) — This is much easier to understand than some previous approaches (PRMD, pliny, etc.) especially if your use case is simple. 

Kalina Tech   

[Automate and Standardize Ruby Code Reviews](https://lp.codacy.com/ruby-code-review?utm_source=CooperPress&utm_medium=cpm&utm_campaign=CooperPress-RubyS) — Set and enforce standards on coverage, duplication, complexity, style issues and security directly from your Git workflow. 

Codacy sponsor   

[Working Around ActiveRecord Callbacks](https://supergood.software/working-around-activerecord-callbacks/) — A pragmatic strategy for getting things done when excessive ActiveRecord callbacks get in your way. 

Jared Norman   

[Rails 6 Adds Ability to Block Writes to A Database](https://blog.saeloun.com/2019/12/10/rails-block-writes-to-database-connection-while-prevent-writes) — Seems like one of those features that sounds useful but should be handled with much care. 

Saeloun Blog   

[The Case for Stabby Lambda Notation](https://dev.to/keithrbennett/why-i-prefer-stabby-lambda-notation-5gcj) — The conciseness and pictorial nature of `->` encourage the use of lambdas, and in my opinion, that is a Good Thing. 

Keith Bennett   

[How to Set Up an AWS RDS Database for Rails](https://www.codewithjason.com/set-rds-database-rails-ec2/) — The latest in [a series of posts](https://www.codewithjason.com/how-to-deploy-a-ruby-on-rails-application-to-aws/) about deploying a Rails app on AWS. 

Jason Swett   

▶[Discussing Solidus with Alessandro Desantis](https://devchat.tv/ruby-rogues/rr-441-solidus-with-alessandro-desantis/) — [Solidus](https://github.com/solidusio/solidus) is an open source e-commerce system built with Rails. 

Ruby Rogues Podcast podcast   

[Behind The Scenes of GitHub's Vulnerability Alerts](https://github.blog/2019-12-11-behind-the-scenes-github-vulnerability-alerts/) — Learn more about what’s going on behind the scenes with GitHub’s vulnerability alerts. 

Justin Hutchings  

🛠 Code and Tools  

[Win32::Screenshot: Capture Screenshots on Windows from Ruby](https://github.com/jarmo/win32screenshot) — It uses FFI to directly call the relevant functions in the Windows GDI system. 

Jarmo Pertman   

[Godmin 2.0: An Admin Framework for Rails 4](https://github.com/varvet/godmin) — Use this to build dedicated admin sections for apps or for stand alone admin apps such as internal tools. [Basic demo here.](http://godmin-sandbox.herokuapp.com/) 

Varvet   

[The Art of PostgreSQL: A Book to Learn How to Best Use SQL from Your Ruby App](https://theartofpostgresql.com) 

The Art of PostgreSQL sponsor   

[Torch-rb: Deep Learning for Ruby, Powered by LibTorch](https://github.com/ankane/torch-rb) — LibTorch is a machine learning framework. 

Andrew Kane   

[rack-mini-profiler: Profiler for Your Rack Apps in Dev or Production](https://github.com/MiniProfiler/rack-mini-profiler) 

Sam Saffron et al.   

[Opal 1.0.1: The Ruby to JavaScript Compiler](https://github.com/opal/opal) — It’s only a patch level release but we haven’t linked Opal for a while. _(Psst.. I’d really love to see some articles about using Opal in production.)_ 

Elia Schito   

[Snabberb: A Simple Component View Framework for Opal](https://github.com/tobymao/snabberb) — If you want to create reactive views for the front-end.. but in Ruby! 

Toby Mao         

Curated by [Glenn Goodrich](https://twitter.com/ruprict) and [Cooperpress](https://cooperpress.com/). 

[Change your email address](https://rubyweekly.com/edit_subscription/*|UID|*) or[Stop getting this newsletter](https://rubyweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
