dedis / d-voting

📧 E-Voting platform based on the Dela blockchain
https://dedis.github.io/d-voting
BSD 3-Clause "New" or "Revised" License
18 stars 7 forks source link

Changing server side session storage #358

Closed ineiti closed 8 months ago

ineiti commented 1 year ago

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

Warning The default server-side session storage, MemoryStore, is purposely not designed for a production environment. It will leak memory under most conditions, does not scale past a single process, and is meant for debugging and developing.

As we expect many hundreds, or even thousands, of requests, this should be changed to something else than memory.

https://github.com/dedis/d-voting/blob/main/web/backend/src/Server.ts#L99

ineiti commented 8 months ago

Probably not relevant because it works with 10'000 votes.