lbryio / lbry-sdk

The LBRY SDK for building decentralized, censorship resistant, monetized, digital content apps.
https://lbry.com
MIT License
7.19k stars 483 forks source link

Faster daemon startup for mobile use case #2237

Closed lyoshenka closed 3 years ago

lyoshenka commented 5 years ago

Over the last 9,000 new users that launched the LBRY mobile app, 4,000 quit the app before the daemon finished launching. Akin says it can take up to 30 seconds for this to happen.

Potential approach: start components in the order that the app needs them during startup. Make the jsonrpc api responsive right away, and defer as much of the slow stuff to later in the startup process.

Related: https://github.com/lbryio/lbry-android/issues/515

kauffj commented 4 years ago

@akinwale what are the current stats for this?

Over the last 9,000 new users that launched the LBRY mobile app, 4,000 quit the app before the daemon finished launching. Akin says it can take up to 30 seconds for this to happen.

akinwale commented 3 years ago

@kauffj Missed the notification for this message. We don't depend on the SDK being ready for the app to actually be usable upon startup any longer, so I haven't been tracking this.