I am trying to perform a load simulation with avalanche to test the performance of my collector.
I am using a kafka stream collector hosted in a local instance (single core CPU), kafka is running in another instance and my avalanche vm on a third. All instances are in the same local net.
I have already made lots of simulations with avalanche with 1000 baseline users and 5000 peak users.
Kafka is recieving messages easily wihtout any problem, not using a big amout of resources.
My problem is that some of the avalanche requests, in the peak time, resultin a timeout caused by the collector, (timeout is at 60 sec) but the collector never uses more than 35 % of the machine’s CPU!!
I also performed simulations with different collector configurations inside akka.
(dispatchers, excecutors, throughput) Some of the metrics were changing like req/sec, response time and total requests but every time i am facing the same problem. Timeouts with 30% CPU usage by the collector.
This is an example of the avalanche results with the default akka configuration and a throughput of 5.
Am i missing something while configuring the collector? I cant figure out if there is a bottleneck somewhere and the collector is stuck on 35% of CPU.
Thank you in advance.