Gems

Redlock is a redis-based distributed lock implementation in Ruby.
Distributed locks are a very useful primitive in many environments where different processes require to operate with shared resources in a mutually exclusive way.There are a number of libraries and blog posts describing how to implement a DLM (Dis...



RGL is a framework for graph data structures and algorithms in Ruby.
RGL is a framework for graph data structures and algorithms.The design of the library is much influenced by the Boost Graph Library (BGL) which is written in C . Refer to https://www.boost.org/libs/graph/doc for further links and documentation on...

Easily setup logical replication and switchover to new database with minimal downtime
pg_easy_replicate is a CLI orchestrator tool that simplifies the process of setting up logical replication between two PostgreSQL databases. pg_easy_replicate also supports switchover. After the source (primary database) is fully replicating, pg_e...



ActiveRecord schema visualization and model organization made easy
ActiveRecord schema visualization and model organization made easy 🙌Colorized table info for columns, types, nullables, indexes... and the actual DDL used by the database to create the table. All this and more with ModelProbe!Get a clear picture o...

A faster alternative to the custom use of `in_batches` with `pluck`
ActiveRecord comes with find_each / find_in_batches / in_batches methods to batch process records from a database. ActiveRecord also has the pluck method which allows the selection of a set of fields without pulling the entire record into memory.T...