IMHO splitting up entities may be regarded as premature optimization unless your calculations say daily bandwidth usage to datastore is going to be a problem.
Regards, Brandon Thomson On Mon, Jun 14, 2010 at 3:44 PM, Blixt <[email protected]> wrote: > Hey, > > If I have a model with a TextProperty and I want to list it, that > means a query such as Entry.all().fetch(10) could potentially fetch > several megabytes of data (not in my case, but just a worst case > scenario). In a list I would only show some of the smaller properties, > such as a title and whatnot. > > Would you say I should clone every Entry into EntryShort which would > have only the properties necessary for the list and a reference to the > original Entry-object? Or will it do fine to just fetch this > potentially huge amount of data every now and then and memcache the > list (excluding the large properties)? > > /Andreas Blixt > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
