can you slice up your data into 1mb chunks that you can load into the app 
engine memcache?  we do that a lot with our data and use expiration times 
to evict keys and trigger re-loads quite a lot in our system.

cfh 

On Thursday, November 5, 2015 at 4:42:49 AM UTC-8, John Smith wrote:
>
> Each instance of my application module (default) needs to load data from 
> the datastore into local memory (for performance/cost reasons), where it 
> will be read-only.
> A separate module updates the data in the datastore (updater), and the 
> data needs to be refreshed (entirely) in each default instance every 
> several minutes (preferably when the data is updated by the updater module).
> Loading the data into instance memory takes more time than is reasonable 
> for a single user request.
>
> I would have used a thread (goroutine) with a background context to reload 
> the data in each (default) instance, but background context is not 
> supported in automatically scaled modules.
>
> How should I update each (default) instance's memory when the data is 
> updated by the updater module?
>
> I am using the go runtime environment.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ca5c82ba-bbe0-46d0-8a47-927578efc909%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to