Redis Failover, No Good Slave
-
@thecreativeone91 said:
No one wants to be a slave.
I was going to say "it's so hard to find a good slave"
-
@scottalanmiller said:
Redis is also the default database for NodeBB. But Redis doesn't scale like MongoDB and is nowhere near as robust. So MangoLassi runs on MongoDB, not Redis. We are practically the only NodeBB site doing that, though. We are the biggest NodeBB traffic site, as far as I know.
I kept reading for a long time that Redis was hot shoot in a champaign glass, and we tested replacing some memcached servers and some MongoDB servers with it and I have to say that we realised there were problems fairly quickly. I liked how setting up different parts of Redis was easier, however there were huge latency issues and scalability problems as far as clustering/slaving went that caused us to go back to MongoDB.
I should note that now though we're moving away from MongoDB to Cassandra, which works a lot better and actually scales even better than MongoDB and doesn't suffer from the strange paging issue (with millions of documents) that MongoDB does, i.e. works fairly well.
Right now many things are using both until we can transfer old data from our MongoDB servers to Cassandra, but it's a few dozen terabytes of data.
I'm here to say that Redis may work for some, but as far as I'm concerned, compared to memcached (it'd be nice if it did have clustering, though) and MongoDB or Cassandra, it's cold diarrhoea in a dixie cup.
-
Yup, we did the same move from MongoDB to Cassandra at Change. Although MongoDB 3 is supposed to be a big leap forward.
Redis appears to be a complete disaster, however.
-
@tonyshowoff said:
I'm here to say that Redis may work for some, but as far as I'm concerned, compared to memcached (it'd be nice if it did have clustering, though) and MongoDB or Cassandra, it's cold diarrhoea in a dixie cup.
That's definitely how I am seeing it at this point.
-
One of the biggest issues is the lack of logging. Things fail, no explanation why. Just "go figure it out". The documentation is abysmal and it appears that no one is using it. Do a search and you can only find their own useless, internal docs.