0

I have a rather large (6 MBish) look-up table that I want to load once and use for all requests.

I came across this Flask-Session library which might be useful but then read somewhere that the session objects should be kept small. I am also not sure if there is a lot-cost sharing between different requests (I guess they are run in separate processes).

I wonder if there is a flask-only way to achieve this. It will be a read-only object.

Luca
  • 10,458
  • 24
  • 107
  • 234

0 Answers0