8
API Performance
Everybody loves performance. The faster, the better, right? Performance is always a hot topic, and for APIs, it is essential. The more performant your API is, the better experience your users will have. You will save money on your infrastructure if your API does not consume many resources. Also, if your API is fast enough, it will be easier to absorb spikes in traffic. The good news for you is that Go is a very fast language, so if you are using Go, you are already in a great position. But there are two things that you need to be clear about. One, you can’t optimize without knowing what to optimize, and two, when optimizing, there is something that is always faster than executing highly optimized code, and that is not executing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access