Is it correct that you are allowed 3,000 files per App Engine app (not 1,000)?

心已入冬 提交于 2019-11-30 15:37:55

问题


According to this Wikipedia article, you are allowed 3,000 files per app but I was reading a thread on Google Groups that someone's Java app received a warning when it tried to upload more than 1,000 files - he got around it by bundling some files inside jars. Which is correct?


回答1:


Updated from [Python Appengine Quotas and Limits]

  • Maximum total number of files (app files and static files): 10,000 total, 1,000 per directory
  • Maximum size of an application file: 32 megabytes
  • Maximum size of a static file: 32 megabytes

Guido van Rossum provides the answer in Google App Engine issue 161:

All, the combined limit on static and code files has indeed increased to 3000. There is no plan to increase it further. The following limits are also still in place:

  • 150 MB max combined size of code files

  • 10 MB max individual size of any file

  • 1000 files max per directory (not counting files in subdirectories)

In the quoted message, "blob" refers to static files; "file" refers to code files.




回答2:


According to the "Quotas and limits" section:

maximum total number of files (app files and static files) 3,000

The Java environment states the same




回答3:


New numbers as of 2011:

10 000 files, 1000 per directory, 32MB app and static files total.

  • http://code.google.com/appengine/docs/python/runtime.html#Quotas%5Fand%5FLimits


来源:https://stackoverflow.com/questions/1462208/is-it-correct-that-you-are-allowed-3-000-files-per-app-engine-app-not-1-000

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!