s*****w 发帖数: 1527 | 1 we have web server (my-service.com) running on a docker container, this
docker runs inside amazon EC2 instance.
my-service.com 用 some-service.com 的api, (which is not hosted on aws but on
-premise)
there's a ssh tunnel between them.
从 EC2 linux shell,
curl -o /dev/null -s -w '%{time_total} s' https://some-service.com
大约 20 ms.
if do the same command from docker, 要他妈的 500 ms.
Q1: this big 500 ms delay, 是 ssh tunneling 引起的吗 ?
Q2: 如何改进 ?
多谢! | h**********c 发帖数: 4120 | 2 你这个问题应该去问john hennesey( computer architecture 作者),james gosling
谁的。
这么大的问题,说错了丢人怎么办。they don't giwashit,别人谁还敢放生。 | h**********c 发帖数: 4120 | 3 敏捷工业几万亿几万亿的霍嚯
估计docker 也得几十比林的体量 |
|