简体   繁体   English

如何处理google-app-engine中的大型帖子数据?

[英]How can I handle large post data in google-app-engine?

I'm working on a web based data visualization application. 我正在研究基于Web的数据可视化应用程序。 In some cases the uploaded data files have a size of several tens of MB. 在某些情况下,上传的数据文件的大小为几十MB。 Connection drops should not be an issue since the users are typically from a university environment with good connections. 连接断开应该不是问题,因为用户通常来自具有良好连接的大学环境。 I basically want to only process the data directly rather then saving it, because 99% is discarded anyways. 我基本上只想直接处理数据而不是保存数据,因为无论如何都会丢弃99%的数据。 What is a simple way to handle this GET requests, since they are over the limit of standard GAE GET sizes. 处理此GET请求的简单方法是什么,因为它们超出了标准GAE GET大小的限制。

If You are uploading a file which is taking more time. 如果您要上传的文件需要更多时间。 you can use taskqueues for uploading that data. 您可以使用任务队列上载该数据。 https://developers.google.com/appengine/docs/java/taskqueue/ .Dont process the data when user uploaded. https://developers.google.com/appengine/docs/java/taskqueue/ 。用户上载时不要处理数据。 Just store that data in temparory storage table. 只需将这些数据存储在临时存储表中即可。 In task queue process the data. 在任务队列中处理数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM