Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
CONFIG proxy.config.http.chunking.size INT 1638416K

HTTP Connection Sharing

The default config for ATS specifies that outbound connections be shared within connection pools
on a per-thread basis. Fair enough. For some reason, though, this caused me no end of performance
problems. Thus, the following specifies one "global" connection pool which is much faster.

...

Average Internet Object Size: 32KB
Disk Cache Size: 1GB
Disk Cache Size In Bytes: 1073741824 (1 * 1024 * 1024 * 1024)
Average Internet Object Size In Bytes: 32768 (32 * 1024)
Disk Cache Object Capacity: 65536 32768 (1073741824 / 32768)

Code Block
CONFIG proxy.config.cache.min_average_object_size INT 6553632K

NOTE: This setting should be sized relative to the size of your disk cache.
Also, it requires clearing the disk cache and restarting ATS to properly take effect.

...