In this chapter, we've learned about how Go allocates the heap and stack. We've also learned how to effectively monitor VSZ and RSS memory, and how we can optimize our code to make better use of available memory. Being able to do this allows us to effectively scale with the resources we have, serving more concurrent requests with the same amount of hardware.
In the next chapter, we will be discussing GPU processing in Go.