Load globally accessible singleton on app start in Google App Engine using Python
Posted
by jamesaharvey
on Stack Overflow
See other posts from Stack Overflow
or by jamesaharvey
Published on 2010-06-16T03:01:55Z
Indexed on
2010/06/16
3:32 UTC
Read the original article
Hit count: 192
python
|google-app-engine
Using Google app engine, is it possible to initialize a globally accessible singleton on app startup? I have a large static tree structure that I need to use on every request and want to initialize it beforehand. The tree structure is too large (20+MB) to be put into Memcache and I am trying to figure out what other alternatives I have.
© Stack Overflow or respective owner