MusicAsLanguage / mobileapp

Mobile app code for the project.
MIT License
1 stars 1 forks source link

Performance: iPhone: Lesson 1: first-time page load is slow, resulting in activity "ghosts" #110

Closed mpmikesell closed 2 years ago

mpmikesell commented 2 years ago

image

linsungc commented 2 years ago

Tackling this from both server and client sides.

Server side

  1. Set up CDN for better performance and reliability when serving the media.
  2. Turn on diagnostics log to be used for troubleshooting potential server side issues

Client side

  1. Give user an ability to retry (in progress)
  2. Implement local cache (in progress)

If 1st & 2nd address the major issues we saw, we can then work on 3rd & 4th as next set of priorities.

linsungc commented 2 years ago

Update as of 2/21.

Server side

  1. Set up CDN for better performance and reliability when serving the media (Done)
  2. Turn on diagnostics log to be used for troubleshooting potential server side issues (Done)

Client side

  1. Give user an ability to retry (Done)
  2. Implement local cache (in progress)

There have been additional loggings and error handling added as part of 3rd item.

Assuming all three changes made so far would address/mitigate the original issue, we will track 4th item above as separate issue in lower priority.

linsungc commented 2 years ago

As of now, as mentioned above, all three things are done, and a separate issue for 4th item about cache has been created. Since the majority of the intended work is done, closing this issue. Any new problem around this, should be tracked as new issue.