reading the per minute json data is too slow
rayjanoka opened this issue ยท 5 comments
Describe the bug
hey, love the site! But my site is taking 8+ seconds to respond now that we have 20+ days across 5 monitors.
Expected behavior
reasonable response time for webpage is <1 second
Additional context
Could we summarize the json files into something that is faster to read on page load? Perhaps a separate json file that has pre-computed the per day counts for UP/DOWN/DEGRADED so it doesn't need to count every minute on every page load? That should be a lot faster. Once we hit 90 days that'll be 60 * 24 * 90 = 130k
data points per monitor, and 130k * 5 monitors = 650k
datapoints to process on every page load.
thanks!
Hey @rayjanoka was AFK for a week,
That is a good suggestion, let me try it
Having said that
If you look at this site
https://statuspage.cashfree.com/category-Payment%20Gateway%20APIs
it has lot of monitors but loads under 1 sec
What is your server configuration?
Do you have the latest pull?
It is done in the last code push
Please let me know what is the new load time now