Skip to content

PIT IDs can grow to many MiB in size #99739

@DaveCTurner

Description

@DaveCTurner

Today, the length of a PIT ID scales with the number of shards captured by the PIT. In a large cross-cluster scenario there may be 100k or more shards, leading to IDs that are several MiB in size. Simply creating these IDs in memory burns a bunch of CPU (see #99219 for some optimizations there) but we still have to send them over the wire as part of each request, and the cross-region transit costs for this traffic can be several US cents per GiB so the cost of that traffic can be eyewatering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Search/SearchSearch-related issues that do not fall into other categories>bugTeam:SearchMeta label for search team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions