Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

1. Don't do remote calls in loops.

That's it.



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: