Skip to content
This repository was archived by the owner on Nov 4, 2022. It is now read-only.
This repository was archived by the owner on Nov 4, 2022. It is now read-only.

Slow start up time for stenographer #149

@yew011

Description

@yew011

When stenographer starts up, it tries to recover all the existing
packet/index files. While doing so, it will call the NewIndexFile ()
function in which it tries few small reads of leveldb for initialization
and version confirmation... And this recovery is done serially for
each thread (here)[https://github.com/google/stenographer/blob/master/env/env.go#L258-L262]
while preventing any query from stenoread.

On a system will tens of thousand files, this process could take a
non-negligible amount of time,

So, @gconnell, would like to ask if you know about the problem and
if you do any workaround to speed it up,

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