使用 Windows Server 2012 r2 操作系统,配置为 n1-standard-32(32 个 vCPU,120 GB 内存)。
上传和下载 api 在 C# REST api 中使用 httprequests。
GCP 文档未提及任何带宽上限:https://cloud.google.com/vpc/docs/quota#per_instance .
gcp 实例可以与单个网络接口(interface)一起使用的最大带宽是多少?
最佳答案
GCP does not cap the ingress or egress traffic - 但这一切都取决于机器可以处理什么以及可以占用多少网络(取决于网络条件)。
您链接到的文档说没有上限,但它说的是
egress and ingress bandwidth depends on machine type
它还指出(在“Notes”列中的“Maximum ingress data rate”下,您应该只为一台机器计划 10Gbps:
For purposes of capacity planning, you should assume that each VM instance can handle no more than 10 Gbps of external Internet traffic.
您可以查找max bandwidth for various machine types在文档中。您有 N1 32cpu,其限制为 32Gbps(
32 Gbps for Skylake or later CPU platforms. 16 Gbps for all other platforms
考虑到您确实有效地达到了大约 26 Gbps,我会说这是非常好的结果——此外,在非理想的网络条件下。
There's more :
Network bandwidth is up to the specified limit. Actual performance depends on factors such as network congestion or protocol overhead.
取决于测量方法 - 在我看来,您几乎达到了单个 GCP VM 的任意带宽限制。
如果我是你,我会坚持这个数字并做出相应的计划。如果您想要更快的速度,那么您可以编写 GCP 支持并询问。
关于google-cloud-platform - gcp 实例可以与单个网络接口(interface)一起使用的最大带宽是多少?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59137224/