google app engine - Objectify: How can I disable session cache? -


i love objectify's "just use ofy()" convenience objectify instance i'm running use case use advice.

my use case datastore such in 1 part of process writing entities in long running process. hundreds of thousands of entities. scattered across time / entity-groups (so datastore contention isn't issue me). during long running process not have need read datastore entity more once.

i know can disable "second level" cache using objectify.cache(false) create instance not use memecache. that's great.

my concern on session cache. did little peeking objectify code , seems in writeengine.java when "save()" entity encounter:

                // stuff in session                 session.addvalue(key, obj); 

so objectify holding onto items in memory? i'd turn off saving entities in sort of cache of possible.

unfortunately, right way call ofy().clear() periodically. see have added issue github tracker, good.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -