Hi guys,

I have a static table of information (approx 1000 rows), and I need to
access information in this table many times per request.  Since the
data in the table is static, would you recommend storing it in a
python dictionary or adding it to the datastore and querying for it?

I would go immediately with storing it in a python data structure, but
I need to query by various columns and the datastore seems to be
efficient at this.  The downside of using the datastore/memcache is
that it increases the request time, since I have to do multiple
queries per request.  However, I'm wondering if "querying" the python
data structure is going to eat up my cpu usage considering that I have
to "query" the data structure by various columns.

If the data structure is the way to go, is there a recommended way to
store the table so that I can basically query for rows by any
combination of columns?

Thanks!
Aaron

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to