Video Link: https://youtu.be/hp4Nlf8IRgs?si=-em6S7XQZkgdqGgY
GZip
GZip is an algorithm that can help you reduce the size of the payload
smaller payload = faster
Flame Graph
Run your program on FlameGraph to be able to tell what’s on your stack and what’s taking the CPU the most time to execute
https://github.com/brendangregg/FlameGraph
Batching
If there’s a lot of the same operations that need to be done, try doing it all at once and storing them, it’s a lot faster