---
title: "Implementing a Worker Pool in Ruby"
publication: "Ruby Weekly"
issue: 375
published_at: "2017-11-16"
canonical_url: "https://rubyweekly.com/issues/375"
---

Implementing a Worker Pool in Ruby

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

Ruby WeeklyIssue 375 — November 16, 2017

Andrey Deryabin[Sniffer: Log and Analyze Outgoing HTTP Requests](https://github.com/aderyabin/sniffer)Hooks into Net::HTTP, Patron, Curb, Typhoeus and other Ruby HTTP libraries to log outgoing requests for further analysis.


Nick Douglas[How David Heinemeier Hansson, Creator of Rails, Works](https://lifehacker.com/im-david-heinemeier-hansson-basecamp-cto-and-this-is-1820470919)Lifehacker has interviewed DHH about his work habits. Not very Ruby specific, but it’s interesting to see he still uses Textmate.


Fabio Pitino[Implementing a Worker Pool in Ruby](https://hspazio.github.io/2017/worker-pool/)Writing a worker pool from scratch along with some scheduling algorithms to get a better understanding of the design pattern.


RedisgreenSponsored[Redis 4.0 now on RedisGreen](http://www.redisgreen.net/?utm_source=rubyweekly&utm_medium=email&utm_campaign=2017c&utm_content=primary&utm_term=r4+memory)Redis 4.0 is out and available on RedisGreen with full visualization of your memory usage and top-tier performance.

[![Redisgreen\](https://copm.s3.amazonaws.com/188314d3.png)](http://www.redisgreen.net/?utm_source=rubyweekly&utm_medium=email&utm_campaign=2017c&utm_content=primary&utm_term=r4+memory)


Jan Krutisch[How We Trick Bundler and Cause Interesting Bugs](https://depfu.com/blog/how-we-trick-bundler)Debugging a memory usage problem lead to some interesting insights along with a couple of bugfixes for Bundler.


RubyRoid Labs[Clear Up Controllers and Models with the Waterfall Gem](https://blog.rubyroidlabs.com/2017/11/waterfall-gem/)[Waterfall](https://github.com/apneadiving/waterfall) offers a way to chain methods together and control the flow of service objects.


YouTube[8 Talks from Keep Ruby Weird 2017](https://www.youtube.com/playlist?list=PLE7tQUdRKcyb-ZR4SwWQ8Vu3PZxwpFHbG#keeprubyweird)Videos from the ultra creative [Keep Ruby Weird](https://keeprubyweird.com/) conference that took place 2 weeks ago are here. These are not your typical Ruby talks!


Tobias Pfeiffer[Are Comments A Code Smell? It Depends](https://pragtob.wordpress.com/2017/11/14/are-comments-a-code-smell-yes-no-it-depends/)The utility of comments depends on what you’re commenting, why you’re commenting, & context.


Jobs

- [Senior Rails Developer - Remote](https://renderedtext.workable.com/j/4B14AA1813?utm_source=rubyweekly&utm_medium=email)Want to help us build the best CI/CD service in the world? We're looking for seasoned Rails developers to join our Product team. Semaphore
- [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

- [Using Ruby on Windows with RailsInstaller 3.4.0 Released](https://www.engineyard.com/blog/railsinstaller-3.4.0-for-windows-released?utm_source=rubyweekly&utm_medium=email) news tutorial Engine YardSponsored
- [The Proxy Pattern in Ruby](http://rubyblog.pro/2017/11/proxy-pattern?utm_source=rubyweekly&utm_medium=email) tutorial 
The various use cases for a proxy and how to implement it correctly. Sergii Makagon
- [Using Vue.js with Rails](https://www.classandobjects.com/tutorial/using_vue_js_with_rails/?utm_source=rubyweekly&utm_medium=email) tutorial Ankit Singhaniya
- [Postgres Primary/Replica Replication on Heroku with Rails](https://medium.com/kkempin/postgresql-master-slave-replication-on-heroku-with-ruby-on-rails-bf0eb8d69fe?utm_source=rubyweekly&utm_medium=email) tutorial Krzysztof Kempiński
- [Using Postgres's Advisory Locks from Ruby](http://shiroyasha.io/advisory-locks-and-how-to-use-them.html?utm_source=rubyweekly&utm_medium=email) tutorial Igoe Šarčević
- [Flippin' Features at Runtime](https://johnnunemaker.com/flippin-features-at-runtime/?utm_source=rubyweekly&utm_medium=email) tutorial 
A look at the features of the flipper gem used to turn features on/off in production. John Nunemaker
- [Refactoring with Hash Defaults](http://dustinzeisler.com/refactoring/2017/11/10/refactor-with-hash-default.html?utm_source=rubyweekly&utm_medium=email) tutorial 
How setting default values for hash keys can improve your code. Dustin Zeisler
- [Atom Tricks, Plugins and Shortcuts for Ruby Developers](http://www.rubyguides.com/2017/11/atom-tricks-for-ruby-developers/?utm_source=rubyweekly&utm_medium=email) tutorial 
[Atom](https://atom.io/) is a popular editor developed by GitHub. Jesus Castello
- [Getting Started with Faktory](http://www.mikeperham.com/2017/11/13/getting-started-with-faktory/?utm_source=rubyweekly&utm_medium=email) tutorial 
The first tutorial about the new background job system from the creator of Sidekiq Mike Perham
- [Hacking Pixel Art on Video Wall with Ruby and 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) 
Kevin Thompson hacked the video wall at Twilio's SIGNAL and shares how he did it with Ruby. TwilioSponsored
- [Rails Error Tracking with Errbit](https://gorails.com/episodes/rails-error-tracking-with-errbit?utm_source=rubyweekly&utm_medium=email) video Go Rails
- [Go for Rubyists](https://www.youtube.com/watch?v=0AHOcCFFwao) video Kleber Correia
- [Refactoring Mature Rails Apps with Ben Orenstein](https://devchat.tv/ruby-rogues/rr-336-refactoring-mature-rails-apps-ben-orenstein?utm_source=rubyweekly&utm_medium=email) podcast Ruby Rogues
- [On Sustainable Testing](http://zverok.github.io/blog/2017-11-07-on-culture-of-bdd.html?utm_source=rubyweekly&utm_medium=email) opinion 
A challenge to the current more verbose spec format encouraged by RSpec maintainers. Victor Shepelev
- [Continuous Delivery: GoCD vs. Jenkins](https://www.gocd.org/2017/04/25/gocd-over-jenkins/?utm_campaign=jenkins_vs_gocd&utm_medium=email&utm_source=cooperess_ruby&utm_content=jenkins_blog&utm_term=) 
We compared GoCD with Jenkins on philosophy, continuous delivery & plugins. Understand how these CI/CD tools fit your needs. GoCDSponsored
- [Rackula: Generate A Static Site from any Rack Middleware](https://github.com/socketry/rackula?utm_source=rubyweekly&utm_medium=email) code 
For turning a Rack powered webapp into a static copy. Socketry
- [frappe_charts: Generate Frappé Charts from Your Rails Apps](https://github.com/pacuna/frappe_charts?utm_source=rubyweekly&utm_medium=email) code 
[Frappé Charts](https://github.com/frappe/charts) is a JavaScript library for producing slick SVG charts. Pablo Acuña
- [Karafka 1.1: Work with the Kafka Streaming Platform from Ruby](https://mensfeld.pl/2017/11/karafka-ruby-kafka-framework-1-1-0-release-notes/?utm_source=rubyweekly&utm_medium=email) code Maciej Mensfeld

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/375)

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