Are Text and Blob model properties lazily loaded?

1 view
Skip to first unread message
Message has been deleted

Edoardo Marcora

unread,
Nov 6, 2008, 3:13:49 AM11/6/08
to Google App Engine
Are Text and Blob model properties lazily loaded? Id est, when I query
for 100 entities each containing ~1MB worth of data in a blob
property, am I moving 100MB of data across google's wires?

ryan

unread,
Nov 6, 2008, 6:20:28 PM11/6/08
to Google App Engine
good question! currently, no, they're not lazy loaded. queries and
gets fetch entire entities with all property values, including blob
and text properties.

Edoardo Marcora

unread,
Nov 7, 2008, 3:38:13 AM11/7/08
to Google App Engine
Well, I now understand why the 1MB size limit is there in the first
place. Not being able to store binary content larger than 1MB is a
huge limitation. Perhaps Text/Blob properties ought to be lazily
loaded to raise that limit. I have actually been wondering whether the
"service for storing and serving large files" on the roadmap will be
something like S3, totally separate from the datastore, or would it be
in the form of a new property type (e.g., FileProperty) or (preferred
by me) a lazily-loaded BlobProperty without the current 1MB size
limit??? It would be nice to know so that I can plan ahead and code my
models properly.
Reply all
Reply to author
Forward
0 new messages