Usa*_*jad 5 latency amazon-web-services amazon-vpc aws-regions
我在同一地区有一个EC2和RDS,US East(N. Virginia)但是两种资源都在不同的区域中;中的RDS us-east-1a和中的EC2 us-east-1b。
现在的问题是,如果我将两个资源放在同一个位置,zone那么它将加快数据到DB或从DB传输的速度吗?我每天从应用程序收到20k-30k的条目到此实例。
编辑
我在这里读到:
每个可用区都是隔离的,但是区域中的可用区通过低延迟链接连接。
现在我想知道它们low-latency links是否很小,还是应该考虑在同一区域中转移资源以加快数据传输速度?
结论
如答案和评论中所述:
EC2and的一个实例,因此RDSa中一项服务的失败zone将影响整个系统。因此,将它们放在单独的区域中没有任何优势。zones连接在一起,low-latency links但仍然存在一些延迟,在我的情况下可以忽略不计。EC2RDSWhat are typical values for Interzone data transfers in the same region?
Although AWS will not guarantee, state, or otherwise commit to hard numbers, typical measurments are sub 10 ms, with numbers around 3 ms is what I have seen.
How does latency affect data transfer throughput?
The higher the latency the lower the maximum bandwidth. There are a number of factors to consider here. An excellent paper was written by Brad Hedlund.
Should I worry about latency in AWS networks between zones in the same region?
Unless you are using the latest instances with very high performance network adapters (10 Gb or higher) I would not worry about it. The benefits of fault tolerance should take precendence except for the most specialized cases.
For your use case, database transactions, the difference between 1 ms and 10 ms will have minimal impact, if at all, on your transaction performance.
However, unless you are using multiple EC2 instances in multiple zones, you want your single EC2 instance in the same zone as RDS. If you are in two zones, the failure of either zone brings down your configuration.
在某些情况下,延迟和网络带宽非常重要。对于这种特殊情况,AWS提供了放置组,因此EC2实例基本上在同一机架中并排在一起,以将延迟最小化到绝对最小。
| 归档时间: |
|
| 查看次数: |
3948 次 |
| 最近记录: |