-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve performance #75
Comments
I have an idea for this, for quite some time. We don't backup any data and when we start server, it always starts from 0 for every contributor and takes some time to load actual contributions and shows 0 till then. I don't think we should use a database for this and we can get away storing all information in the config.json file.
Now after every time we fetch any details from github apis, we will update the data for that contributor in the config.json file. After any server restart, we will have the data about contributions in config.json and we can show this directly instead of showing 0, which will provide better UX. @Sing-Li please provide feedback on this approach and I will also look for any performance improvements and report if I find any. Thanks :) |
I don't think the delay we observe now with the list has anything to do with this. (I may be wrong though) Can you try to quantatatively determine where the delay observed may be? Using Chrome or Firefox devtool on request timing. |
If you can present your findings with screen capture here - we can analyze it together and find the best way to optimize the app. |
@Sing-Li |
@umakantv We do not need any more "guess" on a solution at the moment - since the problem is not totally quantified (as stated earlier).
Quantifying the problem first and present it here. Then we can trace it to the current architecture and figure out where the optimization / improvement must take place. |
@hrahul2605 Cool. Anyway to get an average of, say 100 iterations, with a clear local browser cache before each run? That might give us a better view of what is happening. |
Hello, @Sing-Li @yash-rajpal , Thank you! |
This year, 2021, our GSoC participation has exploded comparing to 2020 and prior years.
As a result, we already have close to 200 registered on our current leaderboard ( https://gsoc.rocket.chat )
Current architecture limitations are showing up in the form of performance bottlenecks. The initial load for everyone is VERY SLOW, for example.
We need to adopt some form of caching (or other techniques) to optimize the performance of this leaderboard for our own use -- and for other high-load users.
The text was updated successfully, but these errors were encountered: