News for hackers. Stuff that matters.
Re:Webserver Benchmark: Erlang vs. Go vs. Java vs. Node.js by kt315_ on Tuesday January 07, 2020 @08:17PM (#21987255)
Sleeping is done with setTimeout:

https://gitlab.com/stressgrid/dummies/blob/b342b02407ce09cec...

This isn't busy wait. Instead it yields for specified time period, much like network request to the backend database would do.

There are no comments on this comment yet.