Earlier quoted context omitted.
It seems like their point was to criticize people for using new tech instead of hacking together unscalable solutions with their preferred database.
That wasn't their point. Instead of posting snarky comments, please review the site guidelines: "Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize."
Kafka is Fast – I'll use Postgres
161–170 of 412 posts
Re: Kafka is Fast – I'll use Postgres
#162Has this person actually benchmarked kafka? The results they get with their 96 vcpu setup could be achieved with kafka on the 4 vcpu setup. Their results with PG are absurdly slow. If you don't need what kafka offers, don't use it. But don't pretend you're on to something with your custom 5k msg/s PG setup.
Just checked my single node Kafka setup which currently handles 695.27k e/s (average daily) into elasticsearch without breaking a sweat. kafka has been the only stable thing in this whole setup. zeek -> kafka -> logstash -> elastic
Re: Kafka is Fast – I'll use Postgres
#163Earlier quoted context omitted.
Yes, performance can be a big issue with postgres. And vertical scaling can really put a damper on things when you have a major traffic hit. Using it for kafka is misunderstanding the one of the great uses of kafka which is to help deal with traffic bursts. All of a sudden your postgres server is overwhelmed and the kafka server would be fine.
>And vertical scaling can really put a damper on things when you have a major traffic hit. Wouldn't OrioleDB solve that issue though?
Re: Kafka is Fast – I'll use Postgres
#164Earlier quoted context omitted.
This sounded interesting to me, and it looks like the plan is to make Redpanda open-source at some point in the future, but there's no timeline: https://github.com/redpanda-data/redpanda/tree/dev/licenses
Correct. Redpanda is source-available. When you have C++ code, the number of external folks who want to — and who can effectively, actively contribute to the code — drops considerably. Our "cousins in code," ScyllaDB last year announced they were moving to source-available because of the lack of OSS contributors: > Moreover, we have been the single significant contributor of the source code. Our ecosystem tools have…
Re: Kafka is Fast – I'll use Postgres
#165Re: Kafka is Fast – I'll use Postgres
#166I am about to start a project. I know I want an event sourced architecture. That is, the system is designed around a queue, all actors push/pull into the queue. This article gives me some pause. Performance isn't a big deal for me. I had assumed that Kafka would give me things like decoupling, retry, dead-lettering, logging, schema validation, schema versioning, exactly once processing. I like Postgres, and obviously…
note that kafka has recently started investing into 'queues' in KIP-932, but they're still a long way off from implementing all of those features.
Re: Kafka is Fast – I'll use Postgres
#167Re: Kafka is Fast – I'll use Postgres
#168You can also use Redis as a queue if the data isn't in danger of being too important.
Re: Kafka is Fast – I'll use Postgres
#169Earlier quoted context omitted.
The tradeoff here is that Kafka will still work perfectly if one of its instances goes down. (Or you take it down, for upgrades, etc.) Can you lose one Postgres instance?
AIUI Postgres has high-availability out of the box, so it's not a big deal to "lose" one as long as a secondary can take over.