Ruby Icon


Ruby is a scripting language designed for simplified object-oriented programming.
262 Stories
All Topics

Ping! Icon Ping!


A sharded First-in First-out queue using Redis and Resque. This gem unables you to guarantee in-order job processing based on a shard key. Useful for business requirements that are race-condition prone or needs something processed in a streaming manner (jobs that require preservation of chronological order).

logged by @jerodsanto 2018-02-08T16:32:00.013015Z permalink #ruby #redis

Ruby Icon

A lightning fast JSON:API serializer for Ruby objects

The Netflix team managed to squeeze out some huge performance improvements over Active Model Serializers: We want to ensure that with every change on this library, serialization time is at least 25 times faster than Active Model Serializers on up to current benchmark of 1000 records. At first glance I thought this was a drop-in replacement for AMS, which would've been epic, but it has its own API. That being said, its API is pretty similar and looks easy to use. Exactly how much faster is this library? It can serialize 250 records in 3.01 ms vs AMS's 138.71 ms!

logged by @jerodsanto 2018-02-02T15:25:00.008894Z permalink #ruby #json

Linux Icon

How do you spy on a program running in a container?

Julia Evans: Yesterday I added Linux container support to rbspy, so that an instance of rbspy running on the host machine can profile Ruby programs running in containers... I thought it would be fun to explain what adding “container support” involves in practice! (rbspy is her sampling profiler for Ruby.) This bit is interesting, and why this post isn't tagged with the Docker topic: We didn’t need to care about Docker or anything like that – it’s irrelevant what container runtime our containers are using, and we certainly don’t interact with Docker at all. I guess a few simple syscalls is all it takes!

logged by @jerodsanto 2018-01-29T21:53:00.008872Z permalink #linux #ruby

Mike Perham Avatar The Changelog #274

Faktory and the future of background jobs

Mike Perham is back for his 4th appearance to talk about his new project Faktory, a new background job system that's aiming to bring the best practices developed over the last five years in Sidekiq to every programming language. We catch up with Mike on the continued success and model of Sidekiq, the future of background jobs, his thoughts on RocksDB in Faktory vs BoltDB, Redis, or SQLite, how he plans to support Sidekiq for the next 10 years, and his thoughts on Faktory being a SaaS option in the future.

logged by @logbot 2017-11-18T20:00:00Z permalink #ruby #rails

Sean Griffin Avatar The Changelog #270

Rails as a Day Job, Diesel on the Side with Sean Griffin

Sean Griffin joins the show to talk about doing Rails full-time, his love of Rust. and his project Diesel - a safe, extensible ORM and query builder for Rust. We discuss Sean’s path to working full-time on Rails, what he works on specifically, why Rust, why Diesel, and how much of Diesel’s design and featureset is a product of his experience with ActiveRecord and Rails.

logged by @logbot 2017-11-04T18:30:00Z permalink #ruby #rails #rust

The Changelog The Changelog #162

Octopress 3.0 with Brandon Mathis

Brandon Mathis joined the show to tell us all about the much anticipated 3.0 release of Octopress - his Jekyll-based blogging framework for hackers. Octopress 3.0 is a complete rewrite and has been in the works for quite a while. We find out why Brandon decided to go for The Big Rewrite and what's been taking so long (hint: it's not because the dude's been slackin').

logged by @logbot 2015-06-26T13:30:00Z permalink #ruby

The Changelog The Changelog #136

Phusion Passenger (aka Ruby Raptor) with Hongli Lai

Adam and Jerod talk with Hong Lai, one of the co-founders of Phusion. His company recently got a lot of attention for their upcoming version of Phusion Passenger, which they decided to call Ruby Raptor in a clever marketing play to get people excited about Passenger again. It worked, and we invited Hongli on the show to talk about Passenger/Ruby Raptor, the challenges of marketing open source, and how to get the internet excited about your next version.

logged by @logbot 2015-01-08T19:45:00Z permalink #ruby

Ruby Icon

Einhorn: the language-independent shared socket manager

Cool Ruby gem from the team at Stripe which makes it easy to run multiple copies of a single long-lived process. From their announcement post: Einhorn makes it easy to have multiple instances of an application server listen on the same port. You can also seamlessly restart your workers without dropping any requests. Einhorn requires minimal application-level support, making it easy to use with an existing project. I'm going to take a seriously look at Einhorn before deploying my next app. (also this)

logged by @logbot 2014-09-18T13:11:21Z permalink #ruby

Ruby Icon

Praxis: a Ruby framework that takes a different approach to creating APIs

RightScale recently unveiled their new Ruby framework. They call it Praxis and it takes a unique approach to building APIs. From the announcement: With Praxis you create an API by going through the design, review and implementation phases and iterating over them as necessary. Each phase is done independently, and possibly by disjoint sets of people. For example architects could design it, developers implement it and both can review it alongside the customers. Intrigued? Check out their Getting Started guide to see what this process would look like.

logged by @logbot 2014-08-26T13:05:14Z permalink #ruby

Rails Icon

CanCanCan picks up where CanCan left off

Ryan Bates' unfortunate burnout-induced hiatus from open source left his projects unmaintaned. CanCan — the much beloved authorization gem for Ruby on Rails — was no exception. CanCan may be dead, but long live CanCanCan! This repo is a continuation of the dead CanCan project. Our mission is to keep CanCan alive and moving forward, with maintenance fixes and new features. Pull Requests are welcome! This is what I love about open source. Great ideas aren't bound to their creators. All it takes is one person who cares enough to pick up the torch and run with it.

logged by @logbot 2014-06-05T13:24:54Z permalink #rails #ruby
0:00 / 0:00