THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
CONFIG proxy.config.http.keep_alive_no_activity_timeout_in INT 600
CONFIG proxy.config.http.keep_alive_no_activity_timeout_out INT 600
CONFIG proxy.config.http.transaction_no_activity_timeout_in INT 30
CONFIG proxy.config.http.transaction_no_activity_timeout_out INT 30
CONFIG proxy.config.http.transaction_active_timeout_in INT 43200
CONFIG proxy.config.http.transaction_active_timeout_out INT 43200
CONFIG proxy.config.http.accept_no_activity_timeout INT 30
CONFIG proxy.config.net.default_inactivity_timeout INT 30 |
...
I decided to go with 32 connections per origin server simultaneously. I also found keeping a few extra connections open for additional requests speeds things up.
The second third setting controls how often Traffic Server will internally poll to process network events. As I'm on a machine that can't easily handle 2-3% CPU load constantly, I reduced this.
Code Block |
---|
CONFIG proxy.config.http.origin_max_connections INT 32
CONFIG proxy.config.http.origin_min_keep_alive_connections INT 2
CONFIG proxy.config.net.poll_timeout INT 50 |
...
Code Block |
---|
CONFIG proxy.config.http.cache.cache_urls_that_look_dynamic INT 0 CONFIG proxy.config.http.chunking.size INT 128K CONFIG proxy.config.http.server_session_sharing.match STRING host CONFIG proxy.config.http.cache.ignore_client_no_cache INT 0 CONFIG proxy.config.http.cache.ims_on_client_no_cache INT 0 CONFIG proxy.config.http.cache.ignore_server_no_cache INT 1 |
...
Code Block |
---|
CONFIG proxy.config.http.cache.heuristic_min_lifetime INT 2592000 CONFIG proxy.config.http.cache.heuristic_max_lifetime INT 7776000 CONFIG proxy.config.http.cache.heuristic_lm_factor FLOAT 0.5075 |
Network Configuration
The default config for Traffic Server allows for up to 30,000 simultaneous connections.
...
Code Block |
---|
############################################################################## # HostDB ############################################################################## CONFIG proxy.config.hostdb.ip_resolve STRING ipv6;ipv4 CONFIG proxy.config.hostdb.size INT 16K64K CONFIG proxy.config.hostdb.storage_size INT 4M16M CONFIG proxy.config.hostdb.serve_stale_for INT 300 |
...