Ognjen Regoje bio photo

Ognjen Regoje
But you can call me Oggy


I make things that run on the web (mostly).
More ABOUT me and my PROJECTS.

me@ognjen.io LinkedIn

Connecting the Split gem to password protected redis

#devops #rails #redis #split #technical

Split config accepts a host string directly as well as an instance of Redis. Therefore, we can use Redis to connect split to a password protected redis server.

  # config/initalizers/split.rb
  Split.redis = Redis.new(
    host: HOST,
    port: <PORT>,
    password: <PASSWORD>
    thread_safe: true
  )