D1856: wireproto: server-side support for pullbundles

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Sun Jan 14 17:55:02 EST 2018


indygreg added a comment.


  Another idea to consider is storing changegroup data or bundle2 parts on disk instead of full bundles. Then, we could stream multiple changegroup parts into a larger bundle2 payload.
  
  That does mean that'd we'd have to compress outgoing data over the wire. So not ideal if minimizing CPU usage is your goal. But we still come out ahead by not having to generate the changegroup data.
  
  This would require a mechanism to generate files of that format, however. Not a huge amount of work. But still work.
  
  I'm just not sure what the sweet spot for this feature is. Is it enough to eliminate changegroup generation overhead. Or are we striving for ~0 CPU usage to service `hg pull` operations (like what clone bundles achieve)?

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1856

To: joerg.sonnenberger, #hg-reviewers, indygreg
Cc: indygreg, durin42, mercurial-devel


More information about the Mercurial-devel mailing list