Skip to content
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

Laundry Halls takes too long to load #110

Open
adelq opened this issue Dec 15, 2017 · 2 comments
Open

Laundry Halls takes too long to load #110

adelq opened this issue Dec 15, 2017 · 2 comments
Labels

Comments

@adelq
Copy link
Member

adelq commented Dec 15, 2017

Times out on Android every single time I've tried

@adelq adelq added the bug label Dec 15, 2017
@adelq
Copy link
Member Author

adelq commented Jan 21, 2018

Note about Android does not seem to apply since the redesign of the Laundry Fragment, I believe it uses different endpoints now. However, the Laundry Halls endpoint still takes excessively long, currently 17 seconds warm.

@ezwang
Copy link
Member

ezwang commented Jan 27, 2018

Endpoint is slow because it makes ~50 HTTP requests to the laundry site for each possible hall. Caching can be used to make this endpoint faster, but should be minimal in order to prove the most up to date data (< 5 min, preferably 1 min). We could also scrape the main page, which has all of the laundry halls instead of scraping each hall individually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants