usnistgov / SpectrumBrowser

ITL
12 stars 11 forks source link

Move Session Objects to Memcache. #99

Closed ranganathanm closed 9 years ago

ranganathanm commented 9 years ago

Currently, session objects are stored in mongodb and cleared on restart. It would be better to store them in memcache (see DataStreaming.py for an example on how to use memcache) as they are ephemeral. This way, they are automatically cleared on restart as memcache is restarted when the system is started. Also this way, they are automatically cleared between flaskr worker processes.

ranganathanm commented 9 years ago

I have done this.