sijie commented on issue #1580: (@bug W-5100764@) Write Ledger Handle listens for metadata changes URL: https://github.com/apache/bookkeeper/pull/1580#issuecomment-410796880 > Currently we add a watch for each reader, this is a waste of resources in some use case and it slows down reads. I am not sure it is a waste of resources and why it would slow down reads. the readers have to be notified with the ensemble changes, otherwise the readers will be stuck at tailing. > There is a stale patch on ZK about 'persistent recursive watches' which will reduce a lot the expense of resources in cases like ours, I am not sure a `recursive watches` will help in this case. because a reader only cares about the ledgers that it is interested in. it doesn't care about all the ledgers. that says if you have thousands of clients, that each reader only cares about one ledger, how "persistent recursive watches" will help this situation.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
