While I'm sure there are other options you should explore first, one idea
is to look at using App Engine Flexible.  The instances in flex tend to
last longer [o(days)], and the data could be cached on the instance.

Depending on the APIs and services you're using, a change like this could
be pretty extreme, so you may want to read up on the differences here:
https://cloud.google.com/appengine/docs/the-appengine-environments



On Mon, Apr 24, 2017 at 8:25 AM, Shachar Grembek <shachar.grem...@gmail.com>
wrote:

> Hi,
>
> I have a resource file that its size is 1.6 Mega (A Machine learning
> model). The data is required and needs to be loaded for every API call I
> receive, but loading the file to memory takes around 8 seconds. So I would
> like to find a way to have the data available in a more efficient manner. I
> considered to store the data in Memcache, but Memcache objects are limited
> to 1M. I would really appreciate, if someone can help me find a way to
> store it in a manner so it can be loaded it in 1 second or less.
>
> Thanks!
>
> --
> 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 google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-appengine/eae5b849-f1db-43f5-af88-
> 424a6b04890b%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/eae5b849-f1db-43f5-af88-424a6b04890b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Justin Beckwith | Google Cloud Platform | @justinbeckwith
<http://twitter.com/JustinBeckwith> | http://jbeckwith.com

-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CADd%3D1Q3m_DhRL_zH3GB1xZOnTi_TPW37NRnEgyW770tR9-OaCw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to