Tuesday, 11 September 2018

[Question] Best option for MemoryStore when you aren't using a traditional Database

So I am readying my app for deployment and I am addressing the following warning:"Warning: connect.session() MemoryStore is not designed for a production environment, as it will leak memory, and will not scale past a single process."I want to store everything server side but it seems I need a DB for this(according to the compatible session store options here). I am using DB service that I access via REST API calls so I am not keen on using it for my memstore.Anyone have a simple solution to this or am I going to need to use a secondary DB for my memstore?

Submitted September 11, 2018 at 05:49PM by onlyslavesobey

No comments:

Post a Comment