Web server log concern - connect.session() MemoryStore is not designed for a production environmen

I’m seeing this on my web server logs - any ideas ?

Warning: connect.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.

Node/Latest Wappler build

Well that is a general node warning if you use tge memory store for storing sessions.

We have already optimized it, so it won’t leak memory but indeed it is recommended to use different sessions store for heavy production environment. Specially if you want to scale to multiple instances.

Usually Redis is the best option.

Also, for each node server restart(i.e. small hotfix) you will wipe out all current sessions stored. So users will have to log in again.

Thank you George.

Unfortunately my builds with Redis enabled are no longer working in latest Wappler build. I’ve upgraded from a 3.9x build this week. Some debugging to do…

Yes, I’ve noticed that with these latest builds. Just need to figure out how to get a build that works with Redis enabled again

Redis support is enabled in the Server Connect options.

A post was merged into an existing topic: Cannot find module ‘socket.io-redis’