Displaying 1 to 20 from 25 results

flipper - :dolphin: feature flipping for ruby (performant and simple)

  •    Ruby

Feature flipping is the act of enabling or disabling features or parts of your application, ideally without re-deploying or changing anything in your code base. The goal of this gem is to make turning features on or off so easy that everyone does it. Whatever your data store, throughput, or experience, feature flipping should be easy and have minimal impact on your application.

recommendable - :+1::-1: A recommendation engine using Likes and Dislikes for your Ruby app

  •    Ruby

Recommendable is a gem that allows you to quickly add a recommendation engine for Likes and Dislikes to your Ruby application using my version of Jaccardian similarity and memory-based collaborative filtering. Bundling one of the queueing systems above is highly recommended to avoid having to manually refresh users' recommendations. If you bundle Sidekiq, you should also include 'sidekiq-middleware' in your Gemfile to ensure that a user will not get enqueued more than once at a time. If bundling Resque, you should include 'resque-loner' for this. As far as I know, there is no current way to avoid duplicate jobs in DelayedJob. Queueing for Torquebox is also supported.

gush - Fast and distributed workflow runner using only Sidekiq and Redis

  •    Ruby

Gush is a parallel workflow runner using only Redis as storage and ActiveJob for scheduling and executing jobs. Gush relies on directed acyclic graphs to store dependencies, see Parallelizing Operations With Dependencies by Stephen Toub to learn more about this method.

peek - Take a peek into your Rails applications.

  •    Ruby

Take a peek into your Rails application. This is a profiling tool originally built at GitHub to help us get an insight into our application. Now, we have extracted this into Peek, so that other Rails application can experience the same benefit.




split - :chart_with_upwards_trend: The Rack Based A/B testing framework

  •    Ruby

Split is a rack based A/B testing framework designed to work with Rails, Sinatra or any other rack based app. Split is heavily inspired by the Abingo and Vanity Rails A/B testing plugins and Resque in its use of Redis.

rollout - Feature flippers.

  •    Ruby

Fast feature flags based on Redis. Initialize a rollout object. I assign it to a global var.

sidekiq-unique-jobs - The missing unique jobs in sidekiq

  •    Ruby

See https://github.com/mperham/sidekiq#requirements for what is required. Starting from 5.0.0 only sidekiq >= 4 is supported and support for MRI <= 2.1 is dropped. Sidekiq consists of a client and a server. The client is responsible for pushing jobs to the queue and the worker is responsible for popping jobs from the queue. Most of the uniqueness is handled when the client is pushing jobs to the queue. The client checks if it is allowed to put a job on the queue. This is probably the most common way of locking.

readthis - :newspaper: Pooled active support compliant caching with redis

  •    Ruby

Readthis is a Redis backed cache client for Ruby. It is a drop in replacement for any ActiveSupport compliant cache and can also be used for session storage. Above all Readthis emphasizes performance, simplicity, and explicitness. For new projects there isn't any reason to stick with Memcached. Redis is as fast, if not faster in many scenarios, and is far more likely to be used elsewhere in the stack. See this blog post for more details.


logstash-logger - Ruby logger that writes logstash events

  •    Ruby

LogStashLogger extends Ruby's Logger class to log directly to Logstash. It supports writing to various outputs in logstash JSON format. This is an improvement over writing to a file or syslog since Logstash can receive the structured data directly. You can use a URI to configure your logstash logger instead of a hash. This is useful in environments such as Heroku where you may want to read configuration values from the environment. The URI scheme is type://host:port/path?key=value. Some sample URI configurations are given below.

Soulheart - Easy autocomplete: redis, ruby

  •    Ruby

Soulheart is a ready-to-use remote data source for autocomplete. The goal is to provide a solid, flexible tool that's downright easy to set up and use.

pooled_redis - Simple way to access redis connections without global variables.

  •    Ruby

Simple way to access redis connections without global variables.Provides Rails.redis_pool & Rails.redis methods and configuration via database.yml. You can add this methods to custom modules.

nest - Generate nested namespaced keys for key-value databases.

  •    Ruby

Object Oriented Keys for Redis.If you are familiar with databases like Redis and libraries like Ohm you already know how important it is to craft the keys that will hold the data.

oxblood - A straightforward Redis Ruby library

  •    Ruby

A straightforward Redis Ruby client.As a starting point please look at Oxblood::Pool documentation.

chasqui - Chasqui adds persistent publish-subscribe (pub-sub) messaging capabilities to Sidekiq and Resque workers

  •    Ruby

Chasqui adds persistent publish-subscribe (pub-sub) messaging capabilities to Sidekiq and Resque workers. Chasqui uses Redis to store events and manage subscriptions. You can install Redis with your favorite package manager, such as homebrew, yum, or apt, or if you prefer, you can run vagrant up to run Redis in a virtual machine. If you already have Resque or Sidekiq working, then you already have everything you need to get started with Chasqui.

featurer - Easy feature flag for your project.

  •    Ruby

Easy feature flag for your project. By default featurer saves all the data in Redis, although you can create your own adapter.

zhong - Reliable, distributed cron.

  •    Ruby

Useful, reliable distributed cron. Tired of your cron-like scheduler running key jobs twice? Would you like to be able to run your cron server on multiple machines and have it "just work"? Have we got the gem for you. Zhong uses Redis to acquire exclusive locks on jobs, as well as recording when they last ran. This means that you can rest easy at night, knowing that your customers are getting their monthly Goat Fancy magazine subscriptions and you are rolling around in your piles of money without a care in the world.

redlock-rb - Redlock Redis-based distributed locks implementation in Ruby

  •    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 (Distributed Lock Manager) with Redis, but every library uses a different approach, and many use a simple approach with lower guarantees compared to what can be achieved with slightly more complex designs.

redis-ssdb-proxy - proxy that read from redis(or ssdb) write to both use for redis <=> ssdb migration on production

  •    Ruby

Bug reports and pull requests are welcome on GitHub at https://github.com/falm/redis-ssdb-proxy.

ratelimit - A Redis-backed rate limiter written in Ruby

  •    Ruby

Ratelimit provides a way to rate limit actions across multiple servers using Redis. This is a port of RateLimit.js found here and inspired by this post. My example use case is bulk processing data against an external API. This will allow you to limit multiple processes across multiple servers as long as they all use the same Redis database.