Make QUEUE_CHUNK_SIZE configurable via env var?
https://github.com/search?q=repo%3Anovuhq%2Fnovu%20QUEUE_CHUNK_SIZE&type=code
Is there any specific reason why queue chunk size was hard coded to 100? We are fiddling around with various settings to tune the performance of our infra and came across this value.
Can the size of the queue chunk can have a significant impact on the throughput of the total broadcast time if we had a lot of subscribers?
GitHub
Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.
6 Replies
Hi @Khong yes we defiently can extract this to an env variable, do you want to submit a PR for that?
Yes! I'll make one and tag you. Thanks.
Thanks @Khong for your contributions
@Pawan Jain @Khong do we already have a PR for this?
Following up on this section so that we can add it to the docs when it's available.
Yeah
Here is the PR
https://github.com/novuhq/novu/pull/4991
Thanks, looking forward to the resolution