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
A long-lived project that still receives updates
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
Repository is archived
No commit activity in last 3 years
No release in over 3 years
A collection of data structures and utilities to make thread-safe programming in Ruby easier
2021
2022
2023
2024
2025
2026
11.11
A long-lived project that still receives updates
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
No release in over 3 years
There's a lot of open issues
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
A long-lived project that still receives updates
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
0.65
No commit activity in last 3 years
No release in over 3 years
Efficient, immutable, thread-safe collection classes for Ruby
2021
2022
2023
2024
2025
2026
0.62
A long-lived project that still receives updates
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
0.01
No commit activity in last 3 years
No release in over 3 years
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
Low commit activity in last 3 years
No release in over a year
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
No release in over a year
Thread-safety checks via static analysis. A plugin for the RuboCop code style enforcing & linting tool.
2021
2022
2023
2024
2025
2026
0.0
No commit activity in last 3 years
No release in over 3 years
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
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
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
No commit activity in last 3 years
No release in over 3 years
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
No release in over 3 years
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
No commit activity in last 3 years
No release in over 3 years
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