How to Perform Concurrent HTTP Requests in Ruby and Rails
https://pawelurbanek.com/ruby-concurrent-requests
Ruby MRI does not support parallel CPU bound operations due to the dependency on non-thread safe C extensions. Despite that Input/Output operations like HTTP requests, are still a perfectly valid use case for spinning up multiple threads. Read on to learn what tools are available for requests parallelism in Ruby with all their cons and pros.
Post a comment