SJRK-444: Store session in the database

Metadata

Source
SJRK-444
Type
Improvement
Priority
Major
Status
Open
Resolution
N/A
Assignee
N/A
Reporter
Justin Obara
Created
2020-12-14T11:56:37.668-0500
Updated
2021-01-25T15:31:50.363-0500
Versions
N/A
Fixed Versions
N/A
Component
  1. Storytelling Tool Server

Description

As part of SJRK-405 we are using 
https://www.npmjs.com/package/memorystore which is a production ready in memory session store. However, in the future we should switch to one that is backed by a database so that the sessions will persist after a server restart. At the moment we've gone with the in memory one as it requires less overhead to start with and we do not know for sure if we'll be sticking with couchDB as the database for storytelling.

Alternatives available are mentioned under the Compatible Session Stores for express-session; which is the underlying middleware used by kettle.

Comments