An HTTP client designed for use with JRuby in a threaded environment
A simple no-wasted-resources thread pool implementation.
Comments with threading for Rails 4
Provides a class-level mixin to make thread local state easy.
Readapt is a Ruby debugger that natively supports the Debug Adapter Protocol. Features include next/step in/step out, local and global variable data, and individual thread control.
This library implements application mutexes using Redis. The mutexes are shared between separate threads, processes, or machines. Locks are acquired with an expiration time so if process that holds a lock dies unexpectedly, the lock is released automatically after a certain duration.
Powerful, flexible, lightweight, thread-safe interface to the Geoloqi Platform API
Delayed is a multi-threaded, SQL-driven ActiveJob backend used at Betterment to process millions of background jobs per day. It supports postgres, mysql, and sqlite, and is designed to be Reliable (with co-transactional job enqueues and guaranteed, at-least-once execution), Scalable (with an optimized pickup query and concurrent job execution), Resilient (with built-in retry mechanisms, exponential backoff, and failed job preservation), and Maintainable (with robust instrumentation, continuous monitoring, and priority-based alerting).
Queue stuff in memory
Mock resque with threads
An immutable, thread-safe, and strict semantic version type.
A hard working threaded HTTP 1.1 Rack server for JRuby using Jetty 9. \Fishwife deploys and operates like other Ruby HTTP servers/rack handlers such as Mongrel or Puma. No Java legacy war files (e.g. warbler) required.
track 'current_user' et all in a tidy, global, and thread-safe fashion for your rails apps
A synchronization aid that allows one or more threads to wait until a set of operations being performed in other threads completes
Efficient, immutable, thread-safe collection classes for Ruby
ZMQMachine is another Ruby implementation of the reactor pattern but this time using 0mq sockets rather than POSIX sockets. Unlike the great Eventmachine ruby project and the Python Twisted project which work with POSIX sockets, ZMQMachine is inherently threaded. The 0mq sockets backing the reactor use a thread pool for performing their work so already it is different from most other reactors. Also, a single program may create multiple reactor instances which runs in its own thread. All activity within the reactor is single-threaded and asynchronous. It is possible to extend the 0mq library to "poll" normal file descriptors. This isn't on my roadmap but patches are accepted.
The win32-mutex library provides an interface for creating mutex objects on MS Windows. A mutex object is a synchronization object whose state is set to signaled when it is not owned by any thread, and non-signaled when it is owned.
minitest-parallel_fork adds fork-based parallelization to Minitest. Each test/spec suite is run in one of the forks, allowing this to work correctly when using before_all/after_all/around_all hooks provided by minitest-hooks. Using separate processes via fork can significantly improve spec performance when using MRI, and can work in cases where Minitest's default thread-based parallelism do not work, such as when specs modify the constant namespace.
Logging framework storing context id in thread local
Lazy-parse data into attributes in a thread-safe way
A very stupid JSON hash store. It's built on top of yajl-ruby and File.lock. Defaults to 'json' (or 'json_pure') if yajl-ruby is not present (it's probably just a "gem install yajl-ruby" away. Strives to be process-safe and thread-safe.
Toiler is a super efficient AWS SQS and GCP PubSub thread based message processor
Powerful, flexible, lightweight, thread-safe interface to the BitPay developers API
The ActionPool is an easy to use thread pool for ruby.
Background thread debouncing for Ruby.
Runs a thread inside your Sidekiq processes to report metrics to CloudWatch useful for autoscaling and keeping an eye on your queues. Optimised for Sidekiq Enterprise with leader election, but works everywhere!
Trivial module that allows you to create threads that are not killed if the process exits cleanly
Classes for inter-process synchronization/communication like thread library in ruby standard library
The ActionPool is an easy to use thread pool for ruby.
A thread safe logger with formatting extensions. Based on active_support/buffered_logger.
Rugy Gem to test a piece of code in concurrent threads
A generic background thread worker for shipping events via https to some API backend.
Predix CI runs your test suite simply and quickly in our managed cloud environment. You can run tests by hand, or enable our hosted CI to watch your git repos automatically. Predix CI automatically and safely parallelizes your tests to save you time, and takes care of setting up fresh isolated DB instances for each test thread. Tests have access to a wide variety of databases (postgres, mongo, redis, mysql, memcache), solr, sphinx, selenium/webdriver browsers, webkit and culerity. Predix CI supports all common Ruby test frameworks, including rspec, cucumber, test::unit, and spinach. Predix CI also supports Javascript testing using jasmine, evergreen, and many other frameworks.
A file system data base. Provides a thread-safe, process-safe Database class. Each entry is a separate file referenced by its relative path. Allows multiple file formats and serialization methods. Pure ruby and very light weight.
thread-local accessors for your classes
Test helper for ordering threaded code (does not depend on gems or stdlib, tested on 1.8.7 - 2.2, rbx, jruby).
Simple multi-threading for Ruby
Ruby Parallel Processing, Concurent Native Threads
An implementation of the Command Pattern for Ruby with ActiveModel::Validations inspired by the interactor gem. Rich support for attributes, callbacks, and validations, and thread safe performance methods.
The win32-open3 library provides a working implementation of the open3 library for MS Windows. In addition, it provides the Open4 class, which also returns pid information. Note that this library is unnecessary with Ruby 1.9.x because of its support for native threads.
A git command that uses reference repositories and threading to quicklyand recursively clone repositories with many nested submodules
An addition to the Enumerable module that allows easy use of threaded each and each-like iterators
When working in a multi-threaded environment it is important to ensure that any attributes that are shared across threads are properly protected to ensure that inconsistent data is not created. Lazy initializing these safe attributes improves startup times and only creates resources when they are needed.
Snapshot creator for Digital Ocean droplets. Multi-threading inside. Auto-cleanup feature. No matter how much droplets you have. Cron optimized.
Queue stuff in memory
A safer alternative to Ruby's Timeout that uses unix processes instead of threads.
rack middleware to expose leafy metrics/health data as well a ping rack and a thread-dump rack
Provides a thread-isolated attributes singleton for Rails applications pre v5.2.0.
Tupalo-kdtree is a thread-safe fork of the kdtree Gem by Adam Doppelt.
makes it stupid easy to process a bunch of data using n worker threads