Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a21a77c9dd5c376a

Jump to content

Perlbal

From Wikipedia, the free encyclopedia
Perlbal
DeveloperDanga Interactive
Stable release
1.80 / February 27, 2012; 14 years ago (2012-02-27)[1]
Written inPerl
TypeReverse proxy
LicenseGNU General Public License / Artistic License
Websitewww.danga.com/perlbal/
Repository

Perlbal is a Perl-based reverse proxy, load balancer, and web server.[2] Developed and maintained by Danga Interactive, Perlbal is widely used by high-traffic websites to distribute requests across multiple servers.[3]

Like Perl itself, Perlbal is distributed under both the GNU General Public License and the Artistic License, making it free software.[4]

Features

[edit]

Re-proxy mechanism

[edit]

Perlbal supports a re-proxy mechanism, whereby a backend web application can return a lightweight response that functions as an internal redirect, instructing Perlbal to retrieve the actual response data from a separate source. This is commonly used to offload static file serving from application servers to simpler, faster HTTP servers, freeing application server capacity for dynamic processing. The re-proxy mechanism is most frequently used in conjunction with MogileFS.

Plugin support

[edit]

Perlbal supports a plugin architecture that enables functionality traditionally handled at the application layer to be performed at the proxy layer instead. As one example, a filter plugin has been developed that can dynamically alter the colour palette of PNG and GIF images as they pass through the proxy. This capability is used on LiveJournal to support customisable page templates, allowing users to adjust the colour scheme of a page — including colours embedded in images — without involving the application servers. Performing such transformations at the proxy layer reduces load on backend infrastructure.

References

[edit]
  1. "Perlbal-1.80".
  2. Garcia, Jeremy (2007-02-05). "Splice Traffic with Perlbal". Linux Magazine. Archived from the original on February 13, 2007. Retrieved 24 February 2011.
  3. Henderson, Cal (2006). Building Scalable Web Sites. O'Reilly Media. pp. 217. ISBN 0-596-10235-6.
  4. "A source code file showing the licence". Archived from the original on 2012-08-17. You can use and redistribute Perlbal under the same terms as Perl itself.
[edit]