开发者

Pre-populating a High Replication Datastore for Google App Engine

I have the following problem

  • I have around 25,000 XML files I need to pre populate the data store with
  • I am using a High Replication Datastore therefore I can't use the bul开发者_StackOverflow中文版k uploader for that

I can't of course upload those files as part of my WEB-INF because the limit is 3000 files.

One solution I can think of is to write a client that send one file at a time to my Web App then I parse it and insert it into the Data Store but that will eat up my entire Band Width and time consuming.

Is there another solution for my problem?


How about using the mapper library to process lines from an uploaded file? You could then preprocess your xml files to csv files and then upload them, have a handler that creates an entity for each line.

http://code.google.com/p/appengine-mapreduce

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜