News for hackers. Stuff that matters.
Re:How Spotify ran a large Google Dataflow job for Wrapped 2019 by mrkeen on Tuesday February 18, 2020 @03:19PM (#22359920)
It may be the case that 100 tracks are sent to the device and the shuffle logic chooses from them locally.
Re:How Spotify ran a large Google Dataflow job for Wrapped 2019 by kingosticks on Tuesday February 18, 2020 @04:40PM (#22360687)
Not sure why you are being down voted, this is essentially how Spotify's shuffle works. At least, if you MITM the official client and load a large playlist/context you'll only see a small window worth of tracks being loaded. And you won't see any request from the client when you then shuffle that playlist, it's done locally.

This may, of course, have changed. My experiments while (badly) implementing librespot's shuffle functionality were a few years ago now.

Re:How Spotify ran a large Google Dataflow job for Wrapped 2019 by downerending on Tuesday February 18, 2020 @05:19PM (#22361003)
In my case, all of the tracks are already on the device. But yes, it's possible that they're doing something like this anyway.