Categories
Connection Pooling
Connection Pools allow you to share a limited number of active connections to external services like databases between multiple threads per Ruby process
20.36
Modern concurrency tools including agents, futures, promises, thread pools, actors, supervisors, and more.
Inspired by Erlang, Clojure, Go, JavaScript, actors, and classic concurrency patterns.
2021
2022
2023
2024
2025
2026
9.1
A collection of data structures and utilities to make thread-safe programming in Ruby easier
2021
2022
2023
2024
2025
2026
11.11
Puma is a simple, fast, multi-threaded, and highly parallel HTTP 1.1 server
for Ruby/Rack applications. Puma is intended for use in both development and
production environments. It's great for highly parallel Ruby implementations such as
JRuby and TruffleRuby as well as as providing process worke...
2021
2022
2023
2024
2025
2026
6.13
EventMachine implements a fast, single-threaded engine for arbitrary network
communications. It's extremely easy to use in Ruby. EventMachine wraps all
interactions with IP sockets, allowing programs to concentrate on the
implementation of network protocols. It can be used to create both network
...
2021
2022
2023
2024
2025
2026
3.1
Manages persistent connections using Net::HTTP including a thread pool for
connecting to multiple hosts.
Using persistent HTTP connections can dramatically increase the speed of HTTP.
Creating a new HTTP connection for every request involves an extra TCP
round-trip and causes TCP congestion avoi...
2021
2022
2023
2024
2025
2026
1.37
You probably meant `gem install thread_safe`.
2021
2022
2023
2024
2025
2026
0.65
Efficient, immutable, thread-safe collection classes for Ruby
2021
2022
2023
2024
2025
2026
0.62
Ruby bindings to RE2, "a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python".
2021
2022
2023
2024
2025
2026
1.18
A simple, fast, memory-efficient and threadsafe implementation of GetText
2021
2022
2023
2024
2025
2026
1.13
Shoryuken is a super efficient AWS SQS thread based message processor
2021
2022
2023
2024
2025
2026
0.01
ThreadParent facilitates spawning threads that maintain a reference to the thread that created them. The primary goal is to allow thread local variable lookup through the ancestor chain.
2021
2022
2023
2024
2025
2026
1.05
Setup signal handler which dumps backtrace of running threads and number of allocated objects per class. Require 'sigdump/setup', send SIGCONT, and see /tmp/sigdump-<pid>.log.
2021
2022
2023
2024
2025
2026
0.34
Thread-safety checks via static analysis.
A plugin for the RuboCop code style enforcing & linting tool.
2021
2022
2023
2024
2025
2026
0.36
Polymorphic threaded comments Rails gem for Rails 4+
2021
2022
2023
2024
2025
2026
0.33
Efficient and thread-safe LRU cache
2021
2022
2023
2024
2025
2026
0.0
Memoize attributes in a thread-safe way. This ruby gem adds a `#attr_memoized` class method, that provides a lazy-loading mechanism for initializing "heavy" attributes, but in a thread-safe way. Instances thus created can be shared among threads.
2021
2022
2023
2024
2025
2026
0.03
Implements a thread based worker pattern on top of JRuby-Rack. Useful if you'd like to run background workers within your (deployed) web-application, concurrently in 'native' threads, instead of using separate daemon processes. Provides (thread-safe) implementations for popular worker libraries s...
2021
2022
2023
2024
2025
2026
0.0
Emulates Python threading API paradigm. Creating threads by giving some block to constructor is sometime slightly unpractical way of running threads. This library allows encapsulating threads to classes, so class can define itself as thread which can be run by plain method call.
2021
2022
2023
2024
2025
2026
0.0
LazyData provides data types featuring thread-safe lazy computation. These objects are constructed with a block that can be called to compute the final value, but it is not actually called until the value is requested. Once requested, the computation takes place only once, in the first thread tha...
2021
2022
2023
2024
2025
2026
0.0
Passes thread variables to child spawned threads. Main use case is enabling logging in child thread to keep context of a request.
2021
2022
2023
2024
2025
2026