apache / apache/bookkeeper

Handle http endpoint ListUnderReplicatedLedgerService in twitter's way.

Open
#543 0 comments 0 reactions 0 assignees View on GitHub
triage/18-w12 triage/week-33 type/improvement
Dominant language
Java
Stars
2k
Forks
976
Avg merge
6d 15h
Merged PRs (30d)
7

Description

while in codereview of http endpoint -- #520 , there was good suggestion from @yzang to make ListUnderReplicatedLedgerService better.

> If we have a large number of underreplicated ledgers, this will take a long time to run. What we do in Twitter is to run the underreplicated ledger analyzer periodically in auditor and store a list of underreplicated ledgers, so Http Endpoint will just return the list directly.

Contributor guide

Open the contributing guide

Research direction

Start with the ListUnderReplicatedLedgerService HTTP endpoint and the related code review in #520. Review how the auditor periodically runs the underreplicated ledger analyzer and stores its list; done means the endpoint returns that stored list directly instead of rerunning a potentially long analysis.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.