Re: [squid-users] reverse proxy, 2 backends and vhost

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Sun, 25 Jun 2006 00:57:03 +0200

lör 2006-06-24 klockan 23:54 +0200 skrev jb:

> But a few questions about this script :
>
> 1. It is possible to make a "catch all" for all requests that doesn't match
> storage.mysite.com ?

Yes... by using a bit of Perl magics

  while(<>) {
    s%...%...% && next;
    s%...%...% && next;
  } continue {
    print;
  }

> 2. What is a overhead for the box with this script (Squid box with 250
> req/s) ? I imagine that it is very small ?

Overhead of using redirectors (any redirector, even if taking 0 time to
execute) is quite high.

Regards
Henrik

Received on Sat Jun 24 2006 - 16:57:07 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Jul 01 2006 - 12:00:02 MDT