Hello, I would like to know if it is reliable to use express-Session in production environment

Asked

Viewed 93 times

0

I am developing in Ode and need package for login authentication...

1 answer

1

It is not recommended for production as it may cause Leak memory when allocating, as it is default Node does not have a native Garbage Collector or something of the kind to manage the memory and remove the unused objects, very likely errors occur.

as it says in the npmjs article itself recommendable for development and debugging

https://www.npmjs.com/package/express-session

  • Do you have any indication for that function?

  • I believe that anyone who does not use, Memorystorage, or better use according to your bank as oracle-Session or postgres-Session.

  • a tip to better understand, is that sessions are always allocated via server side, if you have ever used javaweb or php if you use recover data from current session or allocations, practice very common.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.