Comments (8)
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.
@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.
@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.
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.
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.
I would like to again take this opportunity to express my love for your redis_failover project @ryanlecompte
from scala-redis.
Wow, thanks @influenza ! I really appreciate your comment.
from scala-redis.
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)
- incorrect tag name on GitHub. s/v3.3.0/v3.30/ HOT 1
- Add support for variadic EXISTS
- How to create parser from object?
- How to use SSL Context to connect to Redis instance on AWS Elasticache with Encryption In-Transit enabled HOT 1
- Specify TTL for a key before pushing to Redis HOT 1
- Cannot find method "setCreated" in java.net.Socket. Unsupported JVM?
- Getting java.lang.Exception: Protocol error: Got (+,[B@38466868) as initial reply byte while pushing to redis quite frequently HOT 3
- Update: Missing stream commands XINFO, XADD, XTRIM, XDEL, XRANGE, XREVRANGE, XLEN, XREAD, XGROUP, XREADGROUP. XACK, XCLAIM, XAUTOCLAIM, XPENDING HOT 4
- Is server-assisted client side caching supported?
- Akka Dispatcher issue with scala redis
- How to add password to RedisClientPool? HOT 5
- "Exception: ERR wrong number of arguments f or 'expire' command" occurs when attempting to expire a key that contains spaces. HOT 11
- QUESTION - should `RedisClient` be shared or used as a singleton? HOT 3
- RedisClient in BATCH mode (for batchedPipeline) errors when sending commands to password-protected redis servers (initial AUTH command not sent) HOT 1
- can you support sentinel HOT 4
- Rate limit support
- Added LMOVE and BLMOVE but cannot test, blocked on PR
- Using with memcached redis protocol times out
- Read from lowest latency using AWS Elasticache Global datastore?
- Protocol errors while talking to Redis in Amazon ElasticCache HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scala-redis.