Skip to content

Some write operations should be queued #38

@ezekg

Description

@ezekg

To reduce load on SQLite — which limits write transactions to one commit at a time even with WAL mode — we can queue up certain writes, such as writes for the high-volume license.lease_extended and node.heartbeat_ping events (depending on TTL).

Queuing should add jitter, to reduce the thundering herd problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions