负载均衡在性能测试里的应用
作者:网络转载 发布时间:[ 2015/1/19 13:24:34 ] 推荐标签:软件测试技术 负载均衡 性能测试
谷哥找到的一段参考:
Using the Registry to Control the Caching Time
The length of time for which a positive or negative response is cached depends on the values of entries in the following registry key:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesDNSCacheParameters
The TTL for positive responses is the lesser of the following values:
The number of seconds specified in the query response the resolver received
The value of the MaxCacheTtl registry setting.
Notes
The default TTL for positive responses is 86,400 seconds (1 day).
The TTL for negative responses is the number of seconds specified in the MaxNegativeCacheTtl registry setting.
The default TTL for negative responses is 900 seconds (15 minutes).
If you do not want negative responses to be cached, set the MaxNegativeCacheTtl registry setting to 0.
To set the caching time on a client computer:
Start Registry Editor (Regedit.exe).
Locate and then click the following key in the registry:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesDnscacheParameters
On the Edit menu, point to New , click DWORD Value, and then add the following registry values: Value name: MaxCacheTtl
Data type: REG_DWORD Default value: 86400 seconds Value data: If you lower the Maximum TTL value in the client's DNS cache to 1 second, this gives the appearance that the client-side DNS cache has been disabled.
Value name: MaxNegativeCacheTtl
Data type: REG_DWORD Default: 900 seconds Value data: Set the value to 0 if you do not want negative responses to be cached.
Type the value that you want to use, and then click OK.
Quit Registry Editor.
相关推荐
更新发布
功能测试和接口测试的区别
2023/3/23 14:23:39如何写好测试用例文档
2023/3/22 16:17:39常用的选择回归测试的方式有哪些?
2022/6/14 16:14:27测试流程中需要重点把关几个过程?
2021/10/18 15:37:44性能测试的七种方法
2021/9/17 15:19:29全链路压测优化思路
2021/9/14 15:42:25性能测试流程浅谈
2021/5/28 17:25:47常见的APP性能测试指标
2021/5/8 17:01:11