If I have 4, 8 or more threads & clusters on one box running this code, can there be resource contention over log files / file writers? If so, could you post an example that illustrates? So far all the testing I've done seems to indicate that write data won't get interwoven and won't get thrown away, but I am not 100% convinced
Thanks!
var errLog = fs.createWriteStream(... + '/error.log');
GLOBAL.dbLog = fs.createWriteStream(... + '/db.log');