...
Please keep in mind the following only applies to creating a forward-only web proxy caching setup.
My personal goal here was to replace Squid with Traffic Server as a "drop-in" replacement.
The following lists the initial steps involved in getting a generic Traffic Server install up and running.
...
I was originally using localhost, but after looking at the HTTP proxy headers that ATS produced, I decided to be more specific.
DNS Round-Robin
Unlike many applications, the default in ApachTraffic Server is to actually round-robin requests among your configured DNS servers.
I didn't like this much, so I disabled it.
Code Block |
---|
CONFIG proxy.config.dns.round_robin_nameservers INT 0 |
Required Remapping
The Apache Traffic Server default install configures URL re-mapping as required.
...
The Apache Traffic Server default install configures this to be 256MB, a rather small size as is noted in the configuration file.
I eventually went with 8GB1GB. The following is found in the config file /usr/local/etc/trafficserver/storage.config.
Code Block |
---|
var/trafficserver 8G1024M |
Web Cache Partitions
The Apache Traffic Server default install doesn't really provide for this. I found over time this can cause all sorts of issues relating to disk lock contention.
...