Posts tagged threads
8 posts
Untangling Ruby Threads
Understanding a fundamental Ruby abstraction for concurrency | via @codeship
The Thread API : Concurrent, colorless Ruby
👋🏼 This is part of series on concurrency, parallelism and asynchronous programming in Ruby. It’s a deep dive, so it’s divided into 12 main parts:
Your Ruby programs are always multi-threaded: Part 1 Your Ruby programs are always multi-threaded: Part 2 Consistent, request-local state Ruby methods are colorless The Thread API: Concurrent, colorless Ruby Interrupting Threads: Concurrent, colorless Ruby Thread and its MaNy friends: Concurrent, colorless Ruby Fibers: Concurrent, colorless Ruby Processes, Ractors and alternative runtimes: Parallel Ruby Scaling concurrency: Streaming Ruby Abstracted, concurrent Ruby Closing thoughts, kicking the tires and tangents How I dive into CRuby concurrency You’re reading “The Thread API: Concurrent, colorless Ruby”.
Asyncio Patterns in Python
Recently I needed to run millions of API calls to an internal service. API calls are IO blocking. This means that when my service calls the…
Noteflakes: Embracing Infinite Loops with Ruby and Polyphony
Fibers Are the Right Solution
Good description of how to use fibers in ruby.
How do I know whether my Rails app is thread-safe or not?
Quite good explanation of thread safety in Ruby apps