4 ms·
We (http://Clara.io http://Clara.io) run multiple NodeJS instances per machine and our code base is Async. I believe this gives us the best of both worlds. Al
by bhouston 11y ago
We (http://Clara.io http://Clara.io) run multiple NodeJS instances per machine and our code base is Async. I believe this gives us the best of both worlds.
Also Sync versions of calls in NodeJS are likely going to be deprecated, thus this won't even be possible in NodeJS going forward.
- egeozcan 11y agoSync calls wouldn't be deprecated IMHO as not everything utilizing Node.js is an HTTP server (think of build scripts, background jobs, etc.).
- pokpokpok 11y agoI often use it for ad hoc scripts, similar to the way many people use python
- falcolas 11y agoSometimes. Measure, don't assume. For example, we ran across a bug recently with docker and AUFS which caused multiple instances of Dockerized node to all wait on a single mutex, resulting in no improvement in speed over a single instance.