Difficulty: Beginner
Estimated Time: 10 minutes

This scenario provides an introduction to modern async Ruby programming.

By utilizing asynchronous programming, it's possible for applications to improve processor utilization, increase throughput and reduce latency.

But, how do you get started? Hopefully, this will help.

Async Ruby

Step 1 of 3

Step 1

The async Ruby Gem provides a modern, asynchronous I/O framework for Ruby, based on nio4r. It implements the reactor pattern, providing both IO and timer based events.

Like any other Ruby Gem, we can install it with the gem command: gem install async