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

Usage of Executors in platform context services

Open
#13,267 0 comments 0 reactions 0 assignees View on GitHub
Base Resource Management Platform
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

Several services that are exposed by the Platform context depend on executors in the implementation details. Today the implementation of the `Metrics` API and the `RecycleBin` implementation both needs parallel execution.

Today we have 2 APIs to get executors: the low level `BaseExecutorFactory` and the `ExecutorFactory`. All service implementation of the services should use at least one of the 2 factories to create executors instead of creating executors "by hand" or using a `ThreadManager`.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Platform context implementations of the Metrics API and RecycleBin, then inspect their executor creation and ThreadManager usage. Compare those implementations with BaseExecutorFactory and ExecutorFactory; the work is done when affected service implementations obtain executors through one of the two factories.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.