Re: Experiences testing new producer performance across multiple threads/producer counts

2015-05-18 Thread tao xiao
-Original Message- From: Guozhang Wang [mailto:wangg...@gmail.com] Sent: 14 May 2015 18:57 To: users@kafka.apache.org Subject: Re: Experiences testing new producer performance across multiple threads/producer counts Regarding the issue that adding more partitions kill the performance: I would

RE: Experiences testing new producer performance across multiple threads/producer counts

2015-05-17 Thread Garry Turkington
re-visit this and do deeper profiling over the next week and will revert here with findings. Regards Garry -Original Message- From: Guozhang Wang [mailto:wangg...@gmail.com] Sent: 14 May 2015 18:57 To: users@kafka.apache.org Subject: Re: Experiences testing new producer performance

Re: Experiences testing new producer performance across multiple threads/producer counts

2015-05-14 Thread Guozhang Wang
Regarding the issue that adding more partitions kill the performance: I would suspect it maybe due to not-sufficient batching. Note that in the new producer batching is done per-partition, and if linger.ms setting low, partition data may not be batched enough before they got sent to the brokers.

Experiences testing new producer performance across multiple threads/producer counts

2015-05-13 Thread Garry Turkington
Hi, I talked with Gwen at Strata last week and promised to share some of my experiences benchmarking an app reliant on the new producer. I'm using relatively meaty boxes running my producer code (24 core/64GB RAM) but I wasn't pushing them until I got them on the same 10GB fabric as the Kafka

Re: Experiences testing new producer performance across multiple threads/producer counts

2015-05-13 Thread Jiangjie Qin
Thanks for sharing this, Garry. I actually did similar tests before but unfortunately lost the test data because my laptop rebooted and I forgot to save the dataĆ  Anyway, several things to verify: 1. Remember KafkaProducer holds lock per partition. So if you have only one partition in the target

Re: Experiences testing new producer performance across multiple threads/producer counts

2015-05-13 Thread Jay Kreps
Hey Garry, Super interesting. We honestly never did a ton of performance tuning on the producer. I checked the profiles early on in development and we fixed a few issues that popped up in deployment, but I don't think anyone has done a really scientific look. If you (or anyone else) want to dive