chill117 / express-mysql-session

A MySQL session store for the express framework in node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

In memory cache?

sanjay-io opened this issue · comments

I'm curious if this could benefit from an optional in memory cache. If a session is found in memory we could avoid the round trip to the DB. I'm happy to PR, I was wondering thoughts?

If you are presently using this proposal I would be open to reviewing your fork as this isnt the most active repository.

This session store is aimed at using MySQL directly without any intermediate cache. If your application requires higher performance session reads I suggest to switch to connect-redis, which will use redis as its data store - with a focus on performance over correctness.