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/5f9c7c9e-221f-4287-af7b-8ef601b3f96b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to