Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today. Learn more →
Top 11 Ruby Concurrency Projects
After this, I took a look at the semaphore class in the popular library, concurrent-ruby to see how they implement it, and I learnt about something new: condition variables. And Ruby comes with this included!
EventMachine: fast, simple event-processing library for Ruby programsProject mention: I don’t get all the hate for PHP and at this point I am too afraid to ask. | /r/ProgrammerHumor | 2023-02-07
You could also use something like EventMachine (In ruby), Twisted (Python), Node (JS) or ReactPHP (for PHP) that will use the language and turn it into a web application server, and then you'll have only one long running process that handle all your requests with shared memory. You could even use something more fancy like RoadRunner in the case of PHP.
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Actor-based concurrent object framework for Ruby
JRuby, an implementation of Ruby on the JVMProject mention: JRuby 220.127.116.11 released with many fixes and improvements | /r/ruby | 2023-03-08
__callee__ now properly returns the name under which a method was called, which will be the new name in the case of aliased methods. #2305, #7702
An awesome asynchronous event-driven reactor for Ruby. (by socketry)Project mention: EventMachine Performance Spikes | /r/ruby | 2023-09-05
The Async gem is the natural successor, It's actively maintained, and allows you write synchronous code is if it wasn't non-blocking, and most libraries don't need any special support for Async (exceptions are gems with C extensions that do I/O and DB libraries with connection pooling that would otherwise be thread-based).
render_async lets you include pages asynchronously with AJAXProject mention: how would i create a progress bar in rails front-end using jquery and bootstrap with ajax calls to another rails server, which returns progress statistics in api | /r/rails | 2022-11-09
If it were a more simple rails app you could use https://github.com/renderedtext/render_async
Concurrency and rate-limit throttling for Sidekiq
Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.
Nice output to console/file from concurrent threadsProject mention: Simple MapReduce that melt my brain (yes, fibers there) | /r/ruby | 2023-03-16
Now the problem: how to organize concurrency/parallelization? (I like to do parallel things with Ruby)
🕹 Small library to make concurrent-ruby and Rails play nice together
Ruby implementation of a distributed lock based on Google Cloud Storage
Non-blocking tasks and enumerators for Opal.
Ruby Concurrency related posts
Exploring concurrent rate limiters, mutexes, semaphores
2 projects | dev.to | 11 Sep 2023
EventMachine Performance Spikes
2 projects | /r/ruby | 5 Sep 2023
My Adventure with Async Ruby
1 project | news.ycombinator.com | 3 Sep 2023
Is ruby really slow?
2 projects | /r/ruby | 21 Apr 2023
Show HN: Goru, an experimental, Go-inspired concurrency library for Ruby
2 projects | news.ycombinator.com | 3 Apr 2023
Simple MapReduce that melt my brain (yes, fibers there)
3 projects | /r/ruby | 16 Mar 2023
How does Ruby handle parallel HTTP requests in separate threads?
3 projects | /r/ruby | 2 Mar 2023
A note from our sponsor - SonarLint
www.sonarlint.org | 27 Sep 2023
What are some of the best open-source Concurrency projects in Ruby? This list will help you: