Skip to content

Make cold start serve something before the first network reply #46

Description

@iderex

The published number is a usable tile in under 1.2 seconds from a cold start.
That budget is spent before the process has a session, and a core that must
complete a sign-in round trip before it can answer anything has already spent
most of it on a slow connection.

What this produces

A start-up path that reads the cache before, and independently of, restoring the
session, so that a client can draw from cache while authentication is still in
flight.

A stated list of what is available at that point and what is not, since a cached
list is safe to show and a cached playback authorisation is not.

Measurement points at both ends of that path, feeding the harness in M7, so the
claim is a number rather than an intention.

Done when

A test starts the core with a populated cache and an unreachable server and
proves a library list is served without any successful network call. The path is
instrumented with the measurement points named in #8. Blocked on #8, #40, #43.

Metadata

Metadata

Assignees

Labels

blocked-on-dependencyWaiting on another issue or on a state of the tree, not on a personperformanceThe speed budget and what measures it

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions