22nd December 2019
Node.js Top 10 lists
Following our interview series on the 10 years of Node.js, we’ve compiled a few top 10 lists based on opinions of some leading community members and contributors whom we spoke with over the recent months.
Here they are, in no particular order with the exception of Workers which came out tops as the best feature in the history of Node.js so far!
Best Node Feature of the past 10 years?
- Async iterators
- Diagnostic tools
- Diagnostic Report
- Native addons
Best Reason to adopt Node in the enterprise?
- Velocity and beating your competitors to the punch
- Speed of development
- Front-end related tasks are still great with Node
- Developer productivity
- Speed of iteration
- Vibrant community
Most Common Node pitfalls/programming mistakes to avoid?
- Failing to allow for production-level qualities of service up-front, such as logging, internationalization, monitoring, health checks, metrics etc.
- Going full async/await before learning callback style
- Assuming a property of an object is present
- Unnecessary usage of synchronous operations
- Unnecessary usage of native addons
- Careless consumption of npm modules
- Careless selection of Node.js for wrong workloads
- Depending on un-exported Node.js internals
- Using Promises without studying them. It is very common to break the promise chain
- Race conditions
Best Node.js Performance tricks?
- Fastify codebase contains some neat tricks!
- Debugger; “:)
- Use ArrayBuffers to communicate with native addons.
- Proper usage of async I/O
You can read back on all our interviews via the links below.
- 10 Years of Node with Michael Dawson from IBM
- 10 years of Node with Ujjwal “Ryzokuken” Sharma
- 10 years of Node with Ricardo Leon from Bloomberg
- 10 years of Node with Tomas della Vedova of Elastic
- 10 years of Node with Alex Korzhikov of ING Bank
- 10 years of Node with Gabriel Schulhof from Intel
- 10 years of Node with Gireesh Punathil of IBM
Feel free to share your own entries with us over on Twitter!
Thank you to our participants!
- Gireesh Puntil – IBM
- Gabriel Schulhof – Intel
- Alex Korzhikov – ING Bank
- Ujjwal “Ryzokuken” Sharma
- Tomas Della Vedova – Elastic
- Ricardo Leon – Bloomberg
- Michael Dawson – IBM
- Alex Liu – Netflix.