kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Downloading of Khan Academy into Kolibri takes days β€” please investigate & prioritize! πŸ™

Open holta opened this issue 1 year ago β€’ 9 comments

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

@rtibbles & @marcellamaki,

Are there any pragmatic workarounds to speed up download of Khan Academy materials, when downloading such into Kolibri takes an unreasonable number of hours? (days!)

I am doing a download of 8G of the total 61G for Kolibri Khan EN. It [has] been more than 12 hours and it is only half way done. This is not viable. This is the same connection that downloaded a 42G zim in 8 min.

Thank you all, for any concrete suggestions especially!!

Speculatively, is a serious fix also required, perhaps along either (or both!) of these 2 lines below?

  • Does Kolibri's hosting/mirroring arrangement (for materials like Khan Academy) need to be bumped up to a higher tier of service?
  • Is a more sustainable / decentralized approach more appropriate in the end β€” e.g. auto-Torrenting of public materials from Internet Archive's https://Archive.org ?

Original Ticket:

  • https://github.com/iiab/iiab/pull/4062#issuecomment-3233346564

holta avatar Aug 28 '25 13:08 holta

Hi @holta!

We have done some replication of this on our side, and it seems to be very specific to the Khan Academy English channel in particular. This issue does not replicate on the Khan Academy French channel, for example.

We suspect then, that the unique characteristics of the KA English channel (lots of small subtitle files for each video) are to blame here. We'll be investigating this further and see if we can produce a fix for it that can go into the upcoming 0.18.3 release. We will keep you posted!

rtibbles avatar Aug 28 '25 20:08 rtibbles

Huge Thanks @rtibbles & All!

  • When even low-income / Global South communities are now asking us why downloading is so terribly slow, it's a stark reminder that people expect (and deserve!) much better now in 2025.

  • Just for comparison, ZIM files (like the 111 GB English Wikipedia) are now reliably downloadable within about half an hour, e.g. using standard .torrent mechanisms.

  • Wicked Awesome if Kolibri Channels too, can increasingly be made efficiently/easily/widely/quickly available to all β€” both in Kolibri 0.18.3 AND with any kind of "supersonic" downloads sometime after that! πŸ˜ƒ

holta avatar Aug 28 '25 21:08 holta

Hi! πŸ‘‹

Thanks so much for your interest! This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

We really appreciate your willingness to helpβ€”you're welcome to find a more suitable issue, and let us know if you have any questions. 😊

learning-equality-bot avatar Aug 28 '25 21:08 learning-equality-bot

We will be making some updates to help address this in the next patch release of Kolibri, which should be out next week.

In the meantime, we've addressed an independent issue with our CDN configuration that was contributing to the slowdown. In our testing this seems to have had a significant impact on download speed also.

rtibbles avatar Sep 09 '25 00:09 rtibbles

Great news, Thanks @rtibbles !

holta avatar Sep 09 '25 01:09 holta

The fix on the Kolibri side of this has been merged, ready for release in 0.18.3, which should be this week.

rtibbles avatar Sep 15 '25 19:09 rtibbles

@tim-moody would you have time to try out downloading times for Khan Academy (in English), using the brand new Kolibri 0.18.3 ?

https://github.com/learningequality/kolibri/releases/tag/v0.18.3

holta avatar Sep 17 '25 20:09 holta

Hi! πŸ‘‹

Thanks so much for your interest! This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

We really appreciate your willingness to helpβ€”you're welcome to find a more suitable issue, and let us know if you have any questions. 😊

learning-equality-bot avatar Sep 17 '25 20:09 learning-equality-bot

9/25/2025 3PM As a data point I downloaded 11G en KA math in approx 21 minutes using studio.

tim-moody avatar Sep 25 '25 19:09 tim-moody