Skip to content

Backfill at scale: avoid per-record Hibernate-proxy cost #55

Description

@dkayiwa

Bootstrap fetches a page then serializes each record; for millions of obs the per-record proxy resolution / lazy navigations are a throughput concern (flagged during slice hardening as an indexer/sync-layer item). Profile and optimize the backfill scan path. Relates to https://github.com/openmrs/openmrs-module-querystore/blob/main/docs/adr.md#initial-backfill--bootstrap.

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