网络级缓存
我们正在构建一个测试客户端来对 Apache Qpid 进行一些负载/故障转移测试。
我的管理员同行告诉我,我应该随机化消息负载中的字节。他们的理由是,存在某种类型的缓存可能会影响测试的有效性。
在我费尽心思随机化所有有效负载字节(这本身就会对测试结果产生影响)之前,这是真的吗?我应该注意接口级别是否会发生缓存?您认为这会对我的测试结果产生重大影响吗?考虑到除了消息的有效负载之外,其他字段也会发生变化(消息 ID、目的地、元数据等)
We are building a test client to do some load/failover testing for Apache Qpid.
My admin counterparts told me that I should randomize the bytes in the message payload. Their reasoning for this is that there is some type of caching going on that could impact the validity of the tests.
Before I go to all the trouble of randomizing all the payload bytes(which itself will have an impact on the test results), Is this true? Is there caching that will occur at the interface level that I should be aware of? Do you think it could significantly impact my test results? Consider that beyond the payload of the message are other fields that will change(Message Id, Destinations, meta-data, etc.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为你的同事混淆了 TCP 和 HTTP。据我所知,唯一在接口级别进行的缓存是 ARP 缓存 和一些 Linux 发行版提供网络统计缓存,您可以通过参数关闭它。
I think your colleague is mixing up TCP and HTTP. The only caching that I know goes on at the interface level is ARP caching and some linux distros offer network statistic caching, which you can cut off via a parameter.