Re:Ask HN: How can I learn about performance optimization?
by pca006132 on Sunday March 03, 2024 @03:03AM
(#39579302)
Well I don't intend to mean they are the same, but optimization to improve the latency can often improve throughput as well. Whatever...
Re:Ask HN: How can I learn about performance optimization?
by m00x on Sunday March 03, 2024 @03:07AM
(#39579314)
You can expand on a question without being douchey.
OP is right that you can often improve both at the same time, it's just worded poorly.
Re:Ask HN: How can I learn about performance optimization?
by sroussey on Sunday March 03, 2024 @10:56AM
(#39581637)
Agreed. When dealing with low hanging fruit, you often improve both.
Later though… once your system is somewhat optimized, you will tend to make latency vs throughput decisions. For most people though, slight changes to latency are the cost to large increases in throughput, but that may just be my experience.
Re:Ask HN: How can I learn about performance optimization?
by isbvhodnvemrwvn on Sunday March 03, 2024 @05:41AM
(#39579977)
Please do read a bit about history of TCP and how latency impacts the overall throughout. It's a classic thing and applies to any processing where you need results of some steps to proceed.
Latency and thruput are never the same, they don't even have the same units so they can't be the same.
Advice to OP. Learn how to make measurements, and you'll never make mistakes like these.