News for hackers. Stuff that matters.
Re:Streams: a new general purpose data structure in Redis by zedpm on Monday October 02, 2017 @01:30PM (#15385898)
One that immediately comes to mind is cases where Kafka is overkill. Kafka is a great tool, but there's a lot of overhead in setting up and maintaining it (e.g. Zookeeper), so if your throughput needs are low, it's a poor fit. Spinning up a Redis server is dead simple, and if you're already using Redis for other things, then there's no need to bring an additional tool into the mix.
Re:Streams: a new general purpose data structure in Redis by chicagobuss on Monday October 02, 2017 @02:18PM (#15386369)
Genuine question - Why does everyone seem to think running a zookeeper cluster is so hard? You can run it on three small VMs and basically forget about it. We didn't have any zookeeper experience at my last startup before we started using it for Kafka and we used a very simple puppet module to install it on three instances in each of our AWS regions. It really never gave us many problems in the several years since.

Also, all the tooling around it is quite mature - there are great monitoring and management tools for probing at the internals which helped when we were dealing with more exotic kafka surgery.

Re:Streams: a new general purpose data structure in Redis by takeda on Monday October 02, 2017 @05:58PM (#15388317)
For some reason Zookeeper is unjustly seem as uncool technology. I even seen it being blamed for issues that it had nothing to do with.

People say that setting ZK cluster is a huge issue, yet they don't see a problem spinning etcd, or sentry nodes in case of redis.

When I learned about ZK I was skeptic, didn't like that it was written in Java, but ZK proved to be extremely robust.

Re:Streams: a new general purpose data structure in Redis by zedpm on Tuesday October 03, 2017 @10:29AM (#15392625)
I'm not sure about it being "so hard", but it's extra stuff to deploy, maintain, monitor, and pay for. Very small teams benefit from keeping things small and simple. Again, if you actually need Kafka, then it's worth it. If you just need something similar, but can deal with the limitations of redis streams, then it's an easy choice.
Re:Streams: a new general purpose data structure in Redis by hueving on Monday October 02, 2017 @03:10PM (#15386916)
Because nothing in the current hype cycle depends on zookeeper so people use that as a crutch for following hype.