One approach that can work really is to store this data as a json document 
in google cloud storage. This may require architectural changes however for 
the client to get the information.

On Wednesday, June 8, 2016 at 10:20:03 PM UTC-5, YuRen Lin wrote:
>
> Hi, all
>
> I am in the game industry and use Google App Engine as my backend server. 
> My problem is we do the game logic calculation in the server side and use 
> thousands of Constants which read from csv files. Our current solution is 
> to read CSV files and store them into the datastore. Then when a request 
> comes, the servlet checks memcache first, if miss read from datastore. This 
> is done automatically by Objectify. I am wondering if there is other more 
> effective way to do this. 
>
> Other solutions include:
> 1. store all constants in the servlet as int array. But I think the launch 
> overhead may be a lot, since there are thousands more constants.
> 2. read constant from csv files each time the servlet needs it. I don't 
> think this is a good idea.
>
>
> Thanks in advance. First time to post here.
>

-- 
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/974a59b9-6a77-4f95-8912-5795305c8529%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to