On Sat, Mar 24, 2012 at 06:07:45PM -0700, James Peach wrote:
> On Mar 24, 2012, at 12:06 AM, Jack Bates <6ny...@nottheoilrig.com> wrote:
> > On 22/03/12 10:08 PM, James Peach wrote:
> >> On 22/03/2012, at 4:19 AM, Jack Bates wrote:
> >>> On 10/03/12 08:43 PM, Jack Bates wrote:
> >>>> What can sites like this do to help intermediate proxies like Apache
> >>>> Traffic Server make cache hits from requests for the same content from
> >>>> different mirrors?
> >>>> 
> >>>> Are there any best practices?
> >>> 
> >>> Has there ever been any discussion or work on supporting RFC 6249 [1] or 
> >>> "Metalink" [2] in Apache Traffic Server?
> >> 
> >> No I don't think so.
> >> 
> >>> I found this [3] mention of Metalink and intermediate caching proxies 
> >>> ("Metalink integration with Proxy/Cache" heading)
> >> 
> >> That sounds like a pretty useful project. There's probably a number of 
> >> different ways a plugin could implement this. Folks on the dev list or 
> >> #traffic-server would be happy to help.
> >> 
> >>> [1] http://tools.ietf.org/html/rfc6249
> >>> [2] http://metalinker.org/
> >>> [3] http://sourceforge.net/apps/trac/metalinks/wiki/GsocIdeas
> > 
> > Thank you very much James, I am replying to the dev list
> > 
> > Perhaps a minimum viable product could:
> > 
> >  1. If the response status code is 3XX
> >  2. Scan RFC 6249 "Link: <...>; rel=duplicate" headers for URL that already 
> > exist in cache
> >  3. If found, update "Location: ..." header with this URL and pass on 
> > response
> 
> That sounds like a promising approach.
> 
> > It could also check for an RFC 3230 "Digest: ..." header and, if found, 
> > check for content with same digest already in cache?
> 
> I think there was some conversation on IRC indicating that doing cage lookups 
> by hash would require a fair amount of change to the cache.
> 
> > Could this behavior be achieved with any of the existing "remap" plugins?
> 
> I don't think so, but I don't have much experience with them. It might be 
> worth poking around the trafficserver-plugins repository to see whether 
> there's anything similar ...

Since the Metalink project is accepted to the Google Summer of Code this year, 
maybe I can work on a Metalink Traffic Server plugin, and participate in GSoC? 
No one in the Metalink project is familiar with Traffic Server: Are any Traffic 
Server project members interested in mentoring work on a Metalink plugin?

I am from Vancouver in Canada but am volunteering here in Rwanda for a year. My 
open source experience includes maintiaing a couple packages in Debian. Once 
upon a time I contributed to the Gallery web photo album project: I 
successfully contributed a WebDAV module. I contributed some small patches to 
Asterisk, the Python OpenID library, the Android Open Source Project

I am new to Traffic Server code, but there are other plugins to study and the 
scope of a Metalink plugin is modest

Reply via email to