Hacker News new | ask | show | jobs
by csours 842 days ago
1. Don't do remote calls in loops.

That's it.

1 comments

Really depends what you are doing. But something something loops is a good start; be weary of loops, especially nested ones, loops that call functions with other loops, loops that create variables/structures and, indeed, loops that do RPC/any type of networking.
Yes, it's very reductive; anything beyond that requires more specific domain knowledge.