Slow performance identified
Hi Support Team,
We are currently evaluating the performance of our messaging system deployed using Docker-Compose and have encountered some concerns regarding message delivery times. Below are the details of our setup and test results:
Thank you for your assistance.
Best regards, Grigory
We are currently evaluating the performance of our messaging system deployed using Docker-Compose and have encountered some concerns regarding message delivery times. Below are the details of our setup and test results:
- We have set up a Docker-Compose environment as defined in the attached YAML configuration file (dc-novu.yml).
- The system architecture includes a publisher and a subscriber, which interact through a topic managed by a headless service (headlessService.ts, as detailed in the attached examples) (test.sh).
- We conducted a test where we sent 100 sequential messages to the topic and measured the latency from the creation (which we read from
message.createdAt) to the time reception of each message. - The test results indicate varied latencies: approximately 10% of the messages are received with a delay of around 1 second, 20% with about 35 ms, and the remainder fall between these two extremes.
- The test was performed on a machine equipped with 4 CPU cores and 20GB of RAM specifically assigned to WSL. During the test, the CPU usage was consistently at 100%.
Thank you for your assistance.
Best regards, Grigory
dc-novu.yml3.5KB
test.sh1.79KB