-
Notifications
You must be signed in to change notification settings - Fork 10
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
Initial loading is still slow despite including data for trips-table from the last 7 days only #100
Comments
@shankari any suggestion? |
Can you also discuss this with @JGreenlee and come up with a solution jointly? |
Since I was testing the trip time page, which is outdated and doesn't have the 1 week filter, it was of course slow. I've yet to try the staging dataset on a more up-to-date branch. |
This isn't what I observed on The "Data" page takes 20 seconds to load. |
I've just realized that was with "Exclude test users" enabled. Without test users excluded, there are about twice as many users and trips. The "Data" page takes about twice as long to load. The "Overview" page still takes about 3 seconds. |
@JGreenlee and @achasmita you should retry on the staging server. I just retried and it took ~ 45 seconds to load the overview page. Note that in staging/production, we don't use a DB that runs on the same host as the code, and DB accesses are significantly slower. @JGreenlee you should have access to the staging logs through AWS cloudwatch. @achasmita should have a staging login. |
uuid-table
update_ts
,user_id
,user_token
are stored initiallydata-page
add_user_stats
function only after that which provides data for all the columns of table.total_tips
,labeled_trips
,first_trip
,........UUIDs
tab is selected, it is consuming time while we switch back toUUIDs
tab from other tabs.Here are the possible solutions:
The text was updated successfully, but these errors were encountered: