Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: Best Node.js in production course/book?
8 points by alexbezhan on Oct 30, 2022 | hide | past | favorite | 4 comments
Production best practices to make NodeJS run reliably in production.

I looked around and there is only newbie level courses, like installing on Heroku, etc.

I'm looking for some real-world hardcore professional stuff. With database migrations, logging, monitoring, debugging, optimising the environment, etc.




You might find some books with more advanced Node.js material on Packt Publishing.

https://subscription.packtpub.com/search?query=node.js

I'd sort by recently published. The difficulty with the JS ecosystem is that books can go out of date within a couple years.

The best learning material for me has been studying open-source projects on GitHub, by searching relevant keywords.


I’ve had some experience with moderately hardcore nodejs setups (hundreds of nodes).

I’m far from being an expert, but I noticed that nodejs is such a joy to work with that most of the time it just works.

As long as you write a quality code within given set of basic constraints - there’s almost nothing to dance around.

Cmon, it’s just a single threaded process pushing jsons back and forth. What else there to “architect”?

My old jvm days seem nightmare now.


The only advice on this subject:

1. Learn to use Nodes APIs and don’t rely on NPM packages for most things. For external applications, like databases, rely on the vendor integration package supplied by that application’s vendor.

2. Take error handling seriously and apply it universally and uniformly.

3. Everything else will come down to understanding JavaScript (or TypeScript) and solid principles of architecture.


I'm not a fulltime node dev, but nginx.com has some books.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: