Mike
Mike

Reputation: 4075

Approaches for overcoming 10000 file limit on Google App Engine?

Google App Engine currently has a 10,000 file limit per project.

I have a couple questions:

  1. Has anyone seen any indications from Google that this will be increased? Why do they have such a small file limit?

  2. My app has thousands of images. What are the options for reducing file count. Do I have to move the images to another hosting service... or can I zip them up somehow so that they don't all count towards the 10,000 file limit?

Upvotes: 5

Views: 4087

Answers (1)

Dan Cornilescu
Dan Cornilescu

Reputation: 39824

You could have your app store the images in Google Cloud Storage (GCS), as app data, not as app static files, so they wouldn't count towards the app's 10k files limit.

Actually I shouldn't even call them app data, as they can be any files, not even related to GAE. And GCS can serve them like any other CDS, as illustrated in this answer: https://stackoverflow.com/a/15969224/4495081

You can find specific GCS integration notes for other Google Cloud Platform products including GAE here.

Upvotes: 5

Related Questions