Git Product home page Git Product logo

Comments (8)

debasishg avatar debasishg commented on September 1, 2024

It's definitely there in the plan. I planned to start working on the failover support once I was done with my speaking engagements at PhillyETE and QCon NY. So, now is the time I should be starting w/ it. It's definitely in the plans .. will keep you updated ..

from scala-redis.

 avatar commented on September 1, 2024

@debasishg Have you decided on supporting a particular HA framework for Redis? I did some shopping around and (IMHO) the project I linked does the best job of what I need with the simplest parts :)

from scala-redis.

debasishg avatar debasishg commented on September 1, 2024

@influenza No I just had some thoughts that I would need to support a failover mechanism. scala-redis has some clustering support, but for fault tolerant demanding applications that use Redis, an automatic failover management is reuqired. I was also not aware of this gem - thanks for the pointer. I will go through it and see how it does what it does. I had some vague thoughts of trying to use Akka clustering, but it may be adding too much of a dependency. I like Zookeeper because it does what it claims and does it nicely. I will think through more on this - your suggestions are always welcome :)

from scala-redis.

derekorgan avatar derekorgan commented on September 1, 2024

Hi, came across this looking for a failover solution for Redis. I've already got Akka as part of my project. I'm curious how you could use it to solve automated failover?

from scala-redis.

ryanlecompte avatar ryanlecompte commented on September 1, 2024

It would be awesome to write a Scala client for my redis_failover project that sits on top of ZooKeeper. See http://github.com/ryanlecompte/redis_failover

On May 2, 2013, at 4:41 PM, Derek Organ [email protected] wrote:

Hi, came across this looking for a failover solution for Redis. I've already got Akka as part of my project. I'm curious how you could use to solve automated failover?


Reply to this email directly or view it on GitHub.

from scala-redis.

 avatar commented on September 1, 2024

I would like to again take this opportunity to express my love for your redis_failover project @ryanlecompte

from scala-redis.

ryanlecompte avatar ryanlecompte commented on September 1, 2024

Wow, thanks @influenza ! I really appreciate your comment.

from scala-redis.

tysonjh avatar tysonjh commented on September 1, 2024

FYI you can use redis-sentinel with the current library by subscribing to the +switch-master channel to handle redis failovers. @derekorgan you can use the RedisClient subscribe method providing a PartialFunction[PubSubMessage, Any] that matches on the [[com.redis.M]] case class for your callback to integrate with Akka. Note that there is about a 10 second delay between master-down and new master being selected.

from scala-redis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.