3 ms·
>" this is only acceptable for application start-up routines" You gonna come spank me if I do it synchronously and it works for me? I hate when people are so f
by btipling 15y ago
>" this is only acceptable for application start-up routines"
You gonna come spank me if I do it synchronously and it works for me? I hate when people are so forceful with their opinions.
- ricardobeat 15y agoIt's not just an opinion, blocking your event loop will halt the world in nodejs. Now give me your address, please.
- thenduks 15y agoYea, he means acceptable from a performance standpoint since in node the event loop will just stop and wait for that to finish before doing anything else. http://nodejs.org/#about http://nodejs.org/#about The `*Sync` methods are really only there for convenience sake, so you don't end up with 'banana code' around your whole app because of your initialization (reading config files, etc).