N
Novu12mo ago
Khong

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
Dima Grossman
Dima Grossman12mo ago
Hi @Khong yes we defiently can extract this to an env variable, do you want to submit a PR for that?
Khong
KhongOP12mo ago
Yes! I'll make one and tag you. Thanks.
Pawan Jain
Pawan Jain12mo ago
Thanks @Khong for your contributions
Prosper
Prosper12mo ago
@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.
Prosper
Prosper12mo ago
Thanks, looking forward to the resolution
Want results from more Discord servers?
Add your server