You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Flavio Junqueira (JIRA)" <ji...@apache.org> on 2012/04/24 12:43:33 UTC
[jira] [Commented] (BOOKKEEPER-220) Managed Ledger proposal
[ https://issues.apache.org/jira/browse/BOOKKEEPER-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260424#comment-13260424 ]
Flavio Junqueira commented on BOOKKEEPER-220:
---------------------------------------------
Hi Matteo, Thanks for putting this proposal up, I really like this direction. I have a few comments and questions based on the interface proposal/wip implementation you've put up:
# At a high level, I see a lot of similarities between what you are proposing and hedwig. The terminology is certainly different, but I'm not entirely sure if you're not recreating hedwig hubs. It might be worth trying to sketch down the differences.
# My understanding is that each managed ledger has a single writer, but can have many cursors. I couldn't really understand how to prevent multiple writers.
# Might be a minor detail for now, but the asyncAddEntry implementation in ManagedLedgerImpl is not really an asynchronous call, since it calls the synchronous version of addEntry in LedgerHandle.
> Managed Ledger proposal
> -----------------------
>
> Key: BOOKKEEPER-220
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-220
> Project: Bookkeeper
> Issue Type: New Feature
> Components: bookkeeper-client
> Reporter: Matteo Merli
> Assignee: Matteo Merli
>
> The ManagedLedger design is based on our need to manage a set of ledgers, with a single writer (at any point in time) and a set on consumers that read entries from it.
> The ManagedLedger also takes care of periodically closing ledgers to have a "reasonable" sized sets of ledgers that can individually deleted when no more needed.
> I've put on github the interface proposal (along with an early WIP implementation)
> http://github.com/merlimat/managed-ledger
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira