---
title: "#371: Configuring Puma, Unicorn and Passenger for Maximum Efficiency"
publication: "Ruby Weekly"
issue: 371
published_at: "2017-10-19"
canonical_url: "https://rubyweekly.com/issues/371"
---

#371: Configuring Puma, Unicorn and Passenger for Maximum Efficiency

This week's Ruby and Rails news[Read this e-mail on the Web](http://rubyweekly.com/issues/371)

Ruby WeeklyIssue 371 — October 19, 2017

Nate Berkopec[Configuring Puma, Unicorn and Passenger for Maximum Efficiency](https://www.speedshop.co/2017/10/12/appserver.html)A guide to optimizing resource usage and maximizing throughput on 3 popular Ruby app servers.


Phusion Blog[Why Ruby App Servers Break on macOS High Sierra](https://blog.phusion.nl/2017/10/13/why-ruby-app-servers-break-on-macos-high-sierra-and-what-can-be-done-about-it/)A deep dive into the forking issue on High Sierra (which we linked in [issue 368](https://rubyweekly.com/issues/368)) and what workarounds exist.


Rails Testing GraderSponsored[Compare Your Test Suite To The Industry](https://rails.testinggrader.com/?utm_source=rubyweekly&utm_medium=email&utm_campaign=rubyweekly-primary-20171019)See how your Rails app stacks up against others — it takes only a minute to find out. Based on real-world data from [SemaphoreCI.com](https://semaphoreci.com/).

[![Rails Testing Grader\](https://copm.s3.amazonaws.com/1970918b.png)](https://rails.testinggrader.com/?utm_source=rubyweekly&utm_medium=email&utm_campaign=rubyweekly-primary-20171019)


Sam Saffron[Fastest Way to Profile a Method in Ruby](https://samsaffron.com/archive/2017/10/18/fastest-way-to-profile-a-method-in-ruby)A search for the least intrusive and most efficient way to benchmark methods, accounting for objects allocated and thread issues.


Phusion Blog[Passenger 5.1.11 Released: A Key Security Release](https://blog.phusion.nl/2017/10/16/passenger-5-1-11/)If you use Passenger 5 in production, you’ll want to upgrade ASAP because of [this vulnerability](https://blog.phusion.nl/2017/10/13/passenger-security-advisory-5-1-11/). HTTP/2 support has also been added.


Derek Haynes[Visualizing Rails Logs With Jupyter Notebook](http://blog.scoutapp.com/articles/2017/10/13/visualizing-rails-logs-with-jupyter-notebook)Jupyter Notebook is an open-source web application that allows you to share documents with embedded live code.


Ruby Object Mapper[ROM 4.0.0 Released: The Ruby Object Mapper](http://rom-rb.org/blog/rom-4-0-released/)New features include automatic mapping, automatic struct object inference, and support for custom struct namespaces.


Jobs

- [Lead Application Engineer](https://jobs.lever.co/grandrounds/f685c7d6-c25d-4ca5-9ef1-859c617ea638?utm_source=rubyweekly&utm_medium=email)We want to bring the best accessible user experience to our Members. To do this we're investing in delivering mobile first, and quickly iterating on the next generation of our mobile experience. Grand Rounds
- [Ruby Enthusiasts Wanted at Runtastic (Austria)](https://goo.gl/kVRFU7?utm_source=rubyweekly&utm_medium=email)Are you up for new challenges with Ruby? Our awesome backend developer team is looking for passionate professionals. [Join now](https://goo.gl/kVRFU7). Runtastic
- [Full Stack Rails Engineer (Remote in US, Canada, Brazil)](https://internal.interviewed.com/jobs/full-stack-engineer-hdaw?source=rubyweekly)Help us make the hiring process better for 100m+ job seekers across the globe. Work on product, scalability or internal tools. Interviewed (acquired by Indeed)

In brief

- [Monitor, Debug and Log Your Ruby Apps with Stackdriver](https://cloudplatform.googleblog.com/2017/10/now-you-can-monitor-debug-and-log-your-Ruby-apps-with-Stackdriver.html?utm_source=rubyweekly&utm_medium=email) news 
Use Google Cloud Platform? New, in-beta gems for Stackdriver are now available. Google Cloud Platform Blog
- [$20 Free On A New Linode Account](https://welcome.linode.com/ruby-weekly/?utm_source=cooperpress&utm_medium=sponsored&utm_term=ruby&utm_campaign=ruby-weekly-sponsored) 
Linux cloud hosting starting at 1GB of RAM for $5/mo. Get $20 credit on a new account. Linode Cloud HostingSponsored
- [Rescue Specific Errors. Avoid Rescuing StandardError](https://andycroll.com/ruby/rescue-specific-errors-avoid-standarderror-do-not-rescue-exception/?utm_source=rubyweekly&utm_medium=email) tutorial Andy Croll
- [Using JSON Web Tokens for Authentication in Distributed Systems](https://sebastiancoetzee.com/2017-10-15-json-web-token-authentication-rails?utm_source=rubyweekly&utm_medium=email) tutorial 
This is Rails-focused but could be simply applied to any web application. Sebastian Coetzee
- [OOP and Rails System Tests](https://bpohoriletz.github.io/2017/10/16/oop-and-rails-system-tests.html?utm_source=rubyweekly&utm_medium=email) tutorial 
An exercise in building and testing page objects from scratch. Bohdan Pohorilets
- [Hacking Pixel Art on Video Wall with Ruby & 23,000 Text Messages](https://www.twilio.com/blog/2017/06/drawing-pixel-art-text-messages-signal-video-wall.html?utm_source=newsletter&utm_medium=email&utm_campaign=sponsor4) tutorial 
Kevin Thompson hacked the video wall at Twilio's SIGNAL and shares how he did it with Ruby. TwilioSponsored
- [What Can You Do with The Array#zip Method?](http://www.rubyguides.com/2017/10/array-zip-method/?utm_source=rubyweekly&utm_medium=email) tutorial Jesus Castello
- [The Command Pattern in Ruby](http://www.sihui.io/design-pattern-command/?utm_source=rubyweekly&utm_medium=email) tutorial Sihui Huang
- [Sanitize Attributes Through Your Form Object with Virtus](https://drivy.engineering/sanitize-your-attributes/?utm_source=rubyweekly&utm_medium=email) tutorial Drivy Engineering
- [A Practical Guide to Using ActionCable](https://medium.com/@rob__race/the-practical-guide-to-using-actioncable-30d570d8988c?utm_source=rubyweekly&utm_medium=email) tutorial 
.. that isn’t a simple chat application. Rob Race
- [Exploring Functional Programming with Ruby](https://jasoncharnes.com/functional-programming-ruby/?utm_source=rubyweekly&utm_medium=email) tutorial 
A list of videos and other resources. Jason Charnes
- [Let's Build A Blockchain: Building A Mini-Cryptocurrency in Ruby](https://www.youtube.com/watch?v=3aJI1ABdjQkt=17m23s) video 
[Repo here](https://github.com/Haseeb-Qureshi/lets-build-a-blockchain). Haseeb Qureshi
- [Updating Dependencies Sucks, So Let’s Do More Of That](https://depfu.com/blog/updating-dependencies-sucks?utm_source=rubyweekly&utm_campaign=brief&utm_content=sucks) DepfuSponsored
- [InvoicePrinter 1.0: PDF Invoice Generation from Ruby](http://nts.strzibny.name/invoiceprinter-1-0/?utm_source=rubyweekly&utm_medium=email) code 
It uses [Prawn](http://prawnpdf.org/api-docs/2.0/) under the hood. Josef Strzibny
- [Karafka: A Ruby Framework for Working with Apache Kafka](https://github.com/karafka/karafka?utm_source=rubyweekly&utm_medium=email) code
- [Hanami 1.1.0.rc1 Released](http://hanamirb.org/blog/2017/10/16/announcing-hanami-110-rc1.html?utm_source=rubyweekly&utm_medium=email) code Luca Guidi

Curated by [Peter Cooper](https://twitter.com/peterc) and [Glenn Goodrich](https://twitter.com/ruprict), and published by [Cooperpress](https://cooperpress.com/).
Send feedback by simply replying to this mail.
Want to sponsor an issue? See our [media kit.](https://cooperpress.com/mediakit)
Want to post a job? Email us or [use our self-serve system.](https://booking.cooperpress.com/jobs)

[Stop getting Ruby Weekly](*|UNSUB|*) | [Change email address](*|UPDATE_PROFILE|*) | [Read this issue on the Web](http://rubyweekly.com/issues/371)

© Cooperpress Ltd, Fairfield Enterprise Centre, Louth, LN11 0LS, UK
[Email policy](https://cooperpress.com/spam.html) [Privacy policy](https://cooperpress.com/privacy.html)
