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 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

This tab will not be visible to users and provides only information to help authors when creating content.

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]