hiero-ledger / hiero-ledger/hiero-consensus-node

Measure and improve startup and shutdown times

Open
#26,411 1 comment 0 reactions 1 assignee Claimed by @artemananiev View on GitHub
Observability Performance Platform
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

This is a part of ZDT (zero downtime) version upgrades.

The current version upgrade process is not zero downtime. All nodes are shut down for a while and restarted in a new product version. This takes some time, however:

* It isn't clear, what is actual down time. It includes both shutdown time (after the old process stops accepting/processing transactions) and startup time. Is it minutes? Seconds? Sub-seconds?
* We don't know where exactly time is spent at shutdown and at startup

This ticket is to have more details (add logs, metrics, etc.) about CN shutdown and startup at all levels. It includes, but not limited to, execution layer (new user transactions are no longer accepted), consensus (what happens after the freeze round), Java (JVM startup time, class loading and initialization), database (MerkleDb loading indices, state is restored from a snapshot), PCES replay, and more.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.