Using RequestStore with asynchronous I/O in Rails apps

Did you know it’s possible to write Rails apps using non-blocking, asynchronous I/O, the way Node apps work? Your app handles each web request in a fiber. Whenever that fiber fires off a blocking operation like a network call, it can yield the current fiber and allow another fiber to use the CPU. In fact it’s more convenient than Node because your methods are colorless—there are no issues with synchronous methods calling async methods.
Using RequestStore with asynchronous I/O in Rails apps #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/using-requeststore-with-asynchronous-i-o-in-rails-apps

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles