sijie commented on issue #970: ISSUE #966: Expose quorum write complete latency 
to the client
URL: https://github.com/apache/bookkeeper/pull/970#issuecomment-357357514
 
 
   @athanatos 
   
   > If we go in that direction, would it be better to modify the above patch 
to pass the same WriteResult object rather than adding an argument? 
   
   I think it is fine to have current approach, since you guys might still need 
this old client for BC purpose. We can create an issue for adding this feature 
to the new client api. 
   
   > It would be a natural place to add any future information we want to pass 
out of the write pipeline. 
   
   yes.
   
   > I think the main disadvantage would be yet another allocation?
   
   I think this can be addressed with object pooling. for example, 
https://github.com/apache/bookkeeper/blob/master/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/impl/LedgerEntriesImpl.java

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to