D4774: wireprotov2: define semantics for content redirects

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Wed Sep 26 21:17:39 EDT 2018


indygreg added a subscriber: sheehan.
indygreg added a comment.


  @sheehan: patches in this series implement content caching and "redirect" support for Mercurial servers. We'll want to implement an S3-based content cache for use at Mozilla so we can cache things in S3 and then make that data available by CDN, just like we do with clonebundles. You expressed interest in possibly authoring that extension. So if you want to do that, there should be enough in this series to get going. It will probably help to look at tests/wireprotosimplecache.py (added later in this series) to get an idea for what a cache extension looks like. An MVP S3-backed cache should take fewer than 100 lines of code. Adding support for e.g. IP-based filtering so it can target the local AWS region's S3 bucket (like what we do for clonebundles at Mozilla) could take a bit more work.

REPOSITORY
  rHG Mercurial

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

To: indygreg, #hg-reviewers
Cc: sheehan, mercurial-devel


More information about the Mercurial-devel mailing list