You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by "hangc0276 (via GitHub)" <gi...@apache.org> on 2023/09/04 02:35:30 UTC
[GitHub] [bookkeeper] hangc0276 commented on pull request #4069: Parallel checkpoint when dbledgerStorage config multi ledgerStorageDir
hangc0276 commented on PR #4069:
URL: https://github.com/apache/bookkeeper/pull/4069#issuecomment-1704529904
>after we changed to multi ledgerStorageDir, the SyncThread will become bottleneck
@lifepuzzlefun Could you provide more detail about the SyncThread bottleneck?
Checkpoint will triggered in two ways:
- Triggered by addEntry in SingleDirectoryDbLedgerStorage, which is executed by the thread in SingleDirectoryDbLedgerStorage
- Triggered by SyncThread every 60s by default
When high throughput writes in to bookie, the SyncThread won't be the bottleneck for the throughput because the checkpoint will be triggered by the thread in SingleDirectoryDbLedgerStorage
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@bookkeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org