5 ms·
I personally don’t trust anything other than the confluent-kafka/v2 package.
by helsinki 3y ago
I personally don’t trust anything other than the confluent-kafka/v2 package.
- dilyevsky 3y agofranz-go is like 4x-20x faster than standard confluent client
- helsinki 3y agoI’ll try it
- EdwardDiego 3y agoHaving looked at the benchmarking code in franz-go, I'm very dubious about those claims. 1) What settings did they use for those published numbers? 2) They don't change the default `linger.ms` for confluent-kafka-go and indeed, don't provide a argument to do so, unlike for the code to test their client. Automatically that renders the benchmark useless - the code running franz-go defaults to linger.ms of 0, librdkafka defaults to 5ms, so already you're not comparing apples with apples.
- dilyevsky 3y agoSlightly longer linger.ms should squeeze more throughput (at the expense of higher latency) not the other way around.
- helsinki 3y agoI ran some tests and it does appear to be about 3x faster at consuming, for my use-case.