Difficulty: Beginner
Estimated Time: 10 minutes

This scenario provides an introduction to modern asynchronous 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 Introduction

Step 1 of 3

Step 1

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

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