adambechtold / adambechtold/taste-explorer

Optimize / Decrease Playlist Latency

Offen
#25 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
1
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

# Background
**The time it takes to generate a playlist is increasing** as the amount of listening history we store grows.

| Number of Listeners/Users | Total Number of Listen Events | Time to Generate Playlist (median/95th percentile) |
| --- | ---| ---|
| 30 | 1.5M | 0.8s / 1.5s |
| 50 | 2.5M | 1.2s / 4.5s |

## Goals
- 🎯 Goal - Playlists appear very quickly when requested by the user
- 🎯 Goal - The time required to provide a playlist is not directly proportional to the number of listening history events

# Example

- ⚖️ Consideration - We timed the requests using network tools, but this demo provides a more subjective, intuitive sense of that the experience is like as a user

https://github.com/adambechtold/taste-explorer/assets/22563063/3015c9a7-4f14-4a9a-bbac-3e83573f67dd

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.