Skip to content

Read-through cache in WASM memory for tables holding static data #5212

@website-features

Description

@website-features

Let us opt-in to a specific table behavior where data is read-through cached in WASM memory, and held between reducer invocations. This would be used for mostly-static data like navmesh data, terrain heightmap data, collider data, etc.

It would even be ok if this means writes to these tables become extremely slow in order to invalidate caches in all the WASM instances, because these tables would almost never be written to.

Requested by @JanErikFoss via the SpacetimeDB site.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions