Visit AppSignal.com

Ruby Magic

Ruby Magic is our special email series where we dive deep into all things Ruby. If you are interested in learning more about concurrency, webservers, memory allocations and garbage collection, you'll love this.

A look at how Ruby interprets your code

By Tom de Bruijn on

A look at how Ruby interprets your code and how you can use this knowledge to your advantage.

read more

Concurrency Deep Dive: Event loops

By Thijs Cadier on

A deep dive into achieving concurrency using an event loop.

read more

Concurrency Deep Dive: Multi-threading

By Thijs Cadier on

A deep dive into achieving concurrency using threads.

read more

Concurrency Deep Dive: Multi-process

By Thijs Cadier on

A deep dive into achieving concurrency using multi-process.

read more

Building a Ruby HTTP server, part 2: Running a Rails app

By Jeff Kreeftmeijer on

After starting work on a simple HTTP server a while back, we're diving back in to learn how to handle POST requests and what we need to do to serve a Rails application.

read more

Escaping characters in Ruby

By Tom de Bruijn on

Escaping characters in Ruby can be quite confusing. In this post we'll cover the power of the backslash symbol \ and how you can use it.

read more

Building a 30 line HTTP server in Ruby

By Jeff Kreeftmeijer on

Web servers, and HTTP in general, might seem difficult to understand. In this Ruby Magic episode we'll learn how a to build a simple Ruby HTTP server in 30 lines of code

read more

Rescuing Exceptions in Ruby: A Primer

By Tom de Bruijn on

Make sure your exception handling is done right. Get up to speed with this Ruby Magic primer and make sure you only rescue the exceptions you need to.

read more

Introduction to Garbage Collection (Part II)

By Thijs Cadier on

In the previous episode of Ruby Magic we talked about why we need Garbage Collection (GC) and how it works in general. Now we'll dive a bit deeper into how this is implemented in Ruby.

read more

Introduction to Garbage Collection (Part I)

By Thijs Cadier on

Whenever you run your code, you use memory. But you never have to think about how to clear memory again afterwards. How does this work?

read more

Mastering Concurrency

By Thijs Cadier on

Multiple people will use your app at the same time, and you want to deliver your app as fast as possible. So you'll need some way to handle concurrency. Fear not! Most webservers already do this by default. But when you need to scale, you want to use concurrency in the most efficient way possible.

read more
Go back

Subscribe to

Ruby Magic

Magicians never share their secrets. But we do. Sign up for our Ruby Magic email series and receive deep insights about garbage collection, memory allocation, concurrency and much more.