...
The default settings for ATS regarding DNS are set pretty high. I think the following represents a pretty good balance between caching too much and caching too little in terms of DNS. I've also set the cache to retain DNS cache records for up to a month, and serve stale records if necessary for up to 1 minute5 minutes. This seems to speed things up a bit.
Code Block |
---|
CONFIG proxy.config.hostdb.size INT 32K CONFIG proxy.config.hostdb.storage_size INT 8M CONFIG proxy.config.hostdb.timeout INTverify_after 43200 CONFIG proxy.config.hostdb.serve_stale_for 60 300 |
HTTP Socket I/O Buffers
The default config for ATS leaves enables some buffering between ATS and the client. While this isn't necessary, I eventually decided on the following settings. Combined with other performance tweaks, these work well overall.
...