Ask HN: Best way to handle user authentication for a high volume Node.js App
I am considering Passport since it seems to have pretty good documentation, but I want to make sure I'm not missing out on something better. This app could have a ton of traffic, so I am trying to build it very efficiently right from the start.
4 comments
[ 5.9 ms ] story [ 22.9 ms ] threadConsider running your authentication service as a separate node server so it can scale independent of the rest of your application.
It's generally 1 insert into a user table.
The most important thing is your users security. The passwords need to be hashed and salted.