Best way to read/write text data

39 views
Skip to first unread message

Alex V.

unread,
May 28, 2012, 3:56:13 PM5/28/12
to Google App Engine
Hi, i'm trying to figure out best way to do this. I basically want to
create a pastebin alternative on app engine, whats the best way to
read/write such paste into on an App Engine stack? Should i use
blobstore or try to dump them into data store? Any feedback is well
appreciated, thanks!

Barry Hunter

unread,
May 29, 2012, 7:08:06 AM5/29/12
to google-a...@googlegroups.com
Whats wrong with the datastore? Seems to be what its designed for -
storing data.

If its the 1Mb entity limit, surely its not very often that a paste
will be bigger than that. And when it is just break it into parts, and
have 'next part' pointer on the main entity.

While there are experimental apis for writing (and reading from) the
blobstore, they sound more trouble than just using datastore.
> --
> 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-a...@googlegroups.com.
> To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
>

alex

unread,
May 29, 2012, 8:23:10 AM5/29/12
to google-a...@googlegroups.com
I'd definitely use blobstore for "pastes" and keep a reference to that blob in the datastore along with metadata you might have attached to that blob.
Reply all
Reply to author
Forward
0 new messages