workflow-core icon indicating copy to clipboard operation
workflow-core copied to clipboard

Load test throws Connection errors with MongoDB

Open manohar1989 opened this issue 3 years ago • 0 comments

Describe the bug I tried to load test workflow core with a simple hello world program with 5000 requests and 5 pods. image image image

To Reproduce load test workflow core with a simple hello world program with 5000 requests and 5 pods. Used RabbitMQ, Redis, MongoDB

Expected behavior Should not have thrown errors (It was 20% errors and throughput went from 200/sec to 13/sec after 1300 requests.

Additional context Error: Thread pool starvation What I Tried: I created a singleton class of MongoDBClient and sent it as a param in UseMongoDB(). image

Am I missing something here? It seems to be working great initially but stops with thread starvation error.

manohar1989 avatar Jul 08 '22 07:07 manohar1989