Hello Monks

Evidently I'm not inquiring of the internet adequately, as I find it difficult to believe this hasn't been done before:

Is there such a thing as a pre-existing perl based, or perl interfaceable Content delivery network *framework*?

The context is a multi-site catalyst application which has a single application server, but multiple content servers. Specifically catalyst sits on the web and chucks one of two non-interactive apache services to resolve high bandwidth file requests. Due to shifting needs it would be valuable to have a content server inside the NAT barrier used by the client machines which is where I'm looking for what I can only describe as a CDN framework.

The existing system has some 10-15k folders with some .7m files distributed within. These are split about evenly between the two content servers with some overlap, with a master copy stored on the catalyst host. The decision as to which to provide to any given response is already handled by the application (although it could probably be done better).

What I need to do is to add in a couple of inner network hosts for a few hundred of the content folders which need to be updated with additions from the central master copy. I'd imagine this could be done with, e.g. rsync but the management of which blocks should be hosted inside should ideally be administered through the catalyst application in some way to reduce user training.

Any suggestions?


In reply to Pre-packaged perl CDN framework? by maruhige

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.