Re: Where can I place code to read a db table at startup to create an in memory cache?

2018-08-07 Thread B K
Hello Jason, This is a project dealing with Internet of Things/5G. The plan was to cache millions of devices session information in memory for the frequently communicating things and to age out the infrequent things to the database. The in memory search would be done first, If cache hit did

Where can I place code to read a db table at startup to create an in memory cache?

2018-08-07 Thread B K
I would like to read a table from the database at startup time to build an in memory cache for fast data retrieval. Where is the best place to insert this code to run in django? thx bk -- You received this message because you are subscribed to the Google Groups "Django users" group. To