THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Server Host: Vultr (www.vultr.com)
- CPU: 3.6 Ghz Intel CPU (dual single core)
- Memory: 2GB1GB
- Disk: 40GB 20GB SSD
- OS: CentOS Linux 7.0
- Cache Size: 1GB
- Browser: Google Chrome v40v43
Testing Regimen
The following settings have been tested against the following:
...
Code Block |
---|
CONFIG proxy.config.net.poll_timeout INT 2550 CONFIG proxy.config.net.sock_option_flag_out INT 0 CONFIG proxy.config.net.sock_recv_buffer_size_out INT 65536 CONFIG proxy.config.net.sock_send_buffer_size_out INT 65536 |
Cache Control
The following configurations tell Traffic Server to be more aggressive than it would otherwise, with regard to caching overall as well as some speed-ups.
...
Code Block |
---|
CONFIG proxy.config.net.connections_throttle INT 2K1K |
RAM And Disk Cache Configuration
...
Code Block |
---|
CONFIG proxy.config.cache.ram_cache.size INT 64M8M CONFIG proxy.config.cache.ram_cache_cutoff INT 8M1M CONFIG proxy.config.cache.ram_cache.algorithm INT 1 CONFIG proxy.config.cache.min_average_object_size INT 24K CONFIG proxy.config.cache.force_sector_size INT 4K CONFIG proxy.config.cache.target_fragment_size INT 4M CONFIG proxy.config.cache.mutex_retry_delay INT 50 CONFIG proxy.config.cache.enable_read_while_writer INT 2 |
...
Third, I also allow the cache to use stale DNS records for up to 15 minutes 60 seconds while they're being updated. This also contributes to cache speed.
...
Code Block |
---|
############################################################################## # HostDB ############################################################################## CONFIG proxy.config.hostdb.ip_resolve STRING ipv6;ipv4 CONFIG proxy.config.hostdb.size INT 48K CONFIG proxy.config.hostdb.storage_size INT 12M CONFIG proxy.config.hostdb.serve_stale_for INT 90060 CONFIG proxy.config.cache.hostdb.sync_frequency INT 900 |
...