TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Lessons learned tuning TCP and Nginx in EC2

97 pointsby jlintzover 11 years ago

4 comments

larsmakover 11 years ago
If I understand this correctly then the huge improvement in latency (from 200ms to 3ms) comes from not having to deal with slow clients directly. Traffic to your front-end server are now only from ELB, and ELB is "spoon-feeding" the web-clients. This is true if you are using ELB in "http-mode". This also explains why you can cut the front-end servers by 20% - as each request is handled more efficiently (lower latency equals higher throughput). Also, connection-reuse is more efficient as the set of servers in the ELB-pool is more limited that the set of web-clients.
reedlodenover 11 years ago
ELBs have terrible TLS support... Cipher suite choice and ordering support is abysmal, and they only recently started supporting newer TLS versions. OCSP stapling isn&#x27;t supported either.<p><a href="https://wiki.mozilla.org/Security/Server_Side_TLS#Amazon_Web_Services_Elastic_Load_Balancer_.28AWS_ELB.29" rel="nofollow">https:&#x2F;&#x2F;wiki.mozilla.org&#x2F;Security&#x2F;Server_Side_TLS#Amazon_Web...</a> gives more information if you&#x27;re curious.
falcolasover 11 years ago
Small note - gratutious arp and traditional VIPs are available within a VPC.
评论 #7234871 未加载
评论 #7234626 未加载
评论 #7234086 未加载
gogover 11 years ago
Check you site with Ghostery, the CSS does not load.
评论 #7236634 未加载