gpt4 book ai didi

java - 在测试中模拟可变网络条件

转载 作者:塔克拉玛干 更新时间:2023-11-03 03:21:04 24 4
gpt4 key购买 nike

我正在使用 GWT 在 GAE/J 上编写应用程序。在我的开发机器上,一切正常 - RPC 总是成功返回,并且顺序相同。当我部署到 AppEngine 时,一些 RPC 失败,并且它们经常以不同的顺序返回。

测试环境如何包含这种可变性?有什么好的工具可以为应用引擎处理这个问题吗?

最佳答案

NIST Net是一个成熟的网络模拟器。

退出他们的网站:

The NIST Net network emulator is a general-purpose tool for emulating performance dynamics in IP networks. The tool is designed to allow controlled, reproducible experiments with network performance sensitive/adaptive applications and control protocols in a simple laboratory setting. By operating at the IP level, NIST Net can emulate the critical end-to-end performance characteristics imposed by various wide area network situations (e.g., congestion loss) or by various underlying subnetwork technologies (e.g., asymmetric bandwidth situations of xDSL and cable modems).

关于java - 在测试中模拟可变网络条件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4074204/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com