Earlier quoted context omitted.
I hit 60k per second in 2020 on a 2-core, 100GB SSD installation of PG on GCP. And "tuning" PG is way easier than any dedicated queueing system I've seen. Does there exist a dedicated queueing system with an equivalent to EXPLAIN (ANALYZE)?
If that's true, you managed to do much better than these folks: https://softwaremill.com/mqperf/ Maybe you should write a letter?
Kafka at the low end: how bad can it get?
61–70 of 144 posts
Re: Kafka at the low end: how bad can it get?
#62Kafka for small message volumes is one of those distinct resume-padding architectural vibes.
I use Kafka for a low-message-volume use case because it lets my downstream consumers replay messages… but yeah in most cases, it’s over kill
Re: Kafka at the low end: how bad can it get?
#63Having never actually used this platform before, does anybody know why they named it Kafka, with all the horrible meanings? Per Wiktionary, Kafkaesque: [1] 1. "Marked by a senseless, disorienting, often menacing complexity." 2. "Marked by surreal distortion and often a sense of looming danger." 3. "In the manner of something written by Franz Kafka." (like the software language was written by Franz Kafka) Example: Met…
Re: Kafka at the low end: how bad can it get?
#64Kafka for small message volumes is one of those distinct resume-padding architectural vibes.
Re: Kafka at the low end: how bad can it get?
#65Re: Kafka at the low end: how bad can it get?
#66Kafka for small message volumes is one of those distinct resume-padding architectural vibes.
https://adamdrake.com/command-line-tools-can-be-235x-faster-...
Re: Kafka at the low end: how bad can it get?
#67Earlier quoted context omitted.
You haven't seen the worst of it. We had to implement a whole kafka module for a SCADA system because Target already had unrelated kafka infrastructure. Instead of REST API or anything else sane (which was available), ultra low volume messaging is now done by JSON objects wrapped in kafka. Peak incompetence.
We did something similar using RabbitMQ with bson over AMQP, and static message routing. Anecdotally, the design has been very reliable for over 6 years with very little maintenance on that part of the system, handles high-latency connection outage reconciliation, and new instances are cycled into service all the time. Mostly people that ruminate on naive choices like REST/HTTP2/MQTT will have zero clue how the probl…
Re: Kafka at the low end: how bad can it get?
#68Kafka for small message volumes is one of those distinct resume-padding architectural vibes.
Let’s be real: teams come to the infra team asking for a queue system. They give their requirements, and you—like a responsible engineer—suggest a more capable queue to handle their needs more efficiently. But no, they want Kafka. Kafka, Kafka, Kafka. Fine. You (meaning an entire team) set up Kafka clusters across three environments, define SLIs, enforce SLOs, make sure everything is production-grade.
Then you look at the actual traffic: 300kb/s in production. And right next to it? A RabbitMQ instance happily chugging along at 200kb/s.
You sit there, questioning every decision that led you to this moment. But infra isn’t the decision-maker. Sometimes, adding unnecessary complexity just makes everyone happier. And no, it’s not just resume-padding… probably.
Re: Kafka at the low end: how bad can it get?
#69The kafka protocol is a distributed write ahead log. If you want a job queue you need to build something on top of that, it’s a pretty low level primative.
Re: Kafka at the low end: how bad can it get?
#70What do people recommend? Especially for low levels of load, that doesn't require that the dispatcher and consumer are written in the same language.
Database is good recommendation. Also give a shoutout to Beanstalkd ( https://beanstalkd.github.io/ )