zlacker

[parent] [thread] 4 comments
1. static+(OP)[view] [source] 2021-12-18 00:31:14
Kafka is not a queue. Kafka's parallelism is limited by the number of partitions you allocate, and you have to be sure to avoid head of line blocking.

Not the case with a queue.

replies(3): >>jpgvm+x3 >>Spivak+A9 >>fnord7+6r
2. jpgvm+x3[view] [source] 2021-12-18 01:01:29
>>static+(OP)
Exactly. If you do want something very scalable that fixes these problems but shares a lot of architectural similarity with Kafka then you should check out Apache Pulsar.
3. Spivak+A9[view] [source] 2021-12-18 01:49:11
>>static+(OP)
This needs to be sung from the rooftops every time Kafka is mentioned. It's an amazing tool but it is the wrong wrong wrong tool if you need a queue. It will bite you in the ass and you'll be left with someone breathing down your neck wondering why jobs are processing so slowly and why you can't just spin up more workers.
4. fnord7+6r[view] [source] 2021-12-18 04:56:35
>>static+(OP)
what is "head of line" blocking?
replies(1): >>static+352
◧◩
5. static+352[view] [source] [discussion] 2021-12-18 20:15:58
>>fnord7+6r
A single partition is intended to be processed, more or less, in by a single worker. If one of those messages, for whatever reason, ends up being really expensive, or flaky, you can't move on until you've handled it.

That's head of line blocking.

[go to top]