Skip to content

calling /eth/v1/validator/duties/proposer/ for old epochs is very slow #3770

@wmitsuda

Description

@wmitsuda

LH 3.3, macos

Current epoch is 164537.

Calling /eth/v1/validator/duties/proposer/ REST API for recent epochs replies in reasonable time:

http http://10.147.18.96:5052/eth/v1/validator/duties/proposer/164536 0.23s user 0.05s system 34% cpu 0.814 total
http http://10.147.18.96:5052/eth/v1/validator/duties/proposer/164535 0.23s user 0.05s system 16% cpu 1.646 total

However, calling it for some older epochs (older than 4 or 5, I guess from my tests) is incredibly slow:

http http://10.147.18.96:5052/eth/v1/validator/duties/proposer/164533 0.22s user 0.05s system 0% cpu 3:03.33 total
http http://10.147.18.96:5052/eth/v1/validator/duties/proposer/164532 0.22s user 0.05s system 0% cpu 2:08.00 total

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUser question (not actionable)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions