Skip to content

Suitable memory stores #256

Description

@parky128

So I see from the docs that the regular MemoryStore that express-session writes to is not practical for use in a production environment.

I would still like to be able to store the sessions in RAM and I have seen mentions about other more stable memory stores such as redis (im not sure this is a memory type store?) and memcache.

I'd like to avoid using a store such as mongoDB to reduce the overhead of setup and maintenance on the production server. Plus the team I am working in does not have any real noSQL db experience, so I want to simplify using express-session within our application as much as possible.

Can anyone provide me some advice on why we really ought to be using a non memory based stored, or can a memory store still provide decent functionality out of the box (cleanup sessions, setting expiry, etc)

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions