Skip to content

Best way to increase performance with MongoDB for large number of recrods? #1240

Answered by camcash17
MartinDawson asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @MartinDawson, thanks for raising this!

Currently, it is looking like you are making the request for about a month. I am curious how you are able to tell that it is around 30 seconds per day.

Also, you may want to check out in our configurations glossary the option to set the pagination number. This may help with the performance if you decrease it.

Another suggestion is to use the seed-cache-file script. This will allow you to fetch data more as a background job, so when it comes time to load the UI, the data is already cached. You may also want to just to do this cache historical data, and implement a daily request system so they you never need to fetch more than a days worth of da…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by camcash17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants