...
Code Block |
---|
CONFIG proxy.config.http.chunking.size INT 64K |
HTTP Server Sessions
The default config for ATS specifies that connections to origin servers be shared on a per-thread basis.
I found that changing this behavior to a global connection pool made the cache significantly faster.
Code Block |
---|
CONFIG proxy.config.http.share_server_sessions INT 1 |
HTTP Connection Timeouts
I decided to use some of Mozilla Firefox's values here, along with some of my own.
It turns out proxy.config.http.transaction_active_timeout_in was essentially shutting down my
streaming Internet Radio connections. I increased that setting from 15 minutes to 12 hours.
...
As it turns out, my original thoughts on this were a bit misguided. For my purposes, I first monitored ATS with the command-line tool "traffic_top".
After letting the cache run for quite some time, I discovered the Average Internet Object Size was much larger than I'd guessed. As it turns out, the my "average internet object" is roughly 80KB in size, and so we can do the following math:
...
Code Block |
---|
CONFIG proxy.config.cache.threads_per_disk INT 24 |
Cache Disk Write Lock Delay
...