3 ms·
This is one of those cases where I wonder what the benefits are of Amazon vs running your own instance and just using the commands the way they were intended (b
by joelhaasnoot 10y ago
This is one of those cases where I wonder what the benefits are of Amazon vs running your own instance and just using the commands the way they were intended (by Redis in this case). The Amazon version of Elasticsearch has similar disadvantages with some blocked commands (understandably for security reasons).
- AznHisoka 10y agoAs someone who runs our own instances, these limitations seem very insane. what if the redis server goes down? That means there's no failover whatsoever? It also seems like such a waste of open source work just to overcome a proprietary, third party limitation.
- mperham 10y agoI believe elasticache has its own internal HA. Your client must disconnect and reconnect if the Redis suddenly becomes read-only (due to a failover). https://github.com/mperham/sidekiq/blob/master/lib/sidekiq.rb#L97 https://github.com/mperham/sidekiq/blob/master/lib/sidekiq.r...
- AznHisoka 10y agoso its manual failover and you cant use redis sentinel?
- mperham 10y agoIf the master fails, your app gets a READONLY error due to the failover, you disconnect and reconnect the connection. Their network magic ensures you get the new master.
- toomuchtodo 10y ago> Their network magic ensures you get the new master. DNS with a very short TTL.