Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8373309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:38:47+00:00 2026-06-09T14:38:47+00:00

I need to read a 5Mb file on Google App Engine (Python 2.7) and

  • 0

I need to read a 5Mb file on Google App Engine (Python 2.7) and use it frequently.

As read a file in GAE is not difficult: Read a file on App Engine with Python?

The difficult part is storing it somewhere so I can access it as fast as possible frequently. It is 5MB so it exceeds the 1MB datastore item limit.

I consider to use Blobstore, but I am afraid it is not fast enough. Is reading Blobstore faster than reading a file?

I am thinking about put the whole file in memcache. Is it possible? Is the memcache big enough to store a 5MB file?

Just like on a computer, I need to put this file in memory not hard disk.

Any suggestions?

Thanks a lot!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T14:38:49+00:00Added an answer on June 9, 2026 at 2:38 pm

    If your file does not change, then you can simply put it in your project directory and have it served as a static file.

    Now on to questions:

    1. Blobstore will be fast enough because all requests (blobstore or user code) on GAE go through a transparent cache. You can simply set an appropriate Cache-control header on the blobstore response to have it cached.

    2. Memcache max stored value is 1Mb. Also data in memcache can go away anytime, so you need to store data in a permanent storage anyway. Also, I doubt it would be faster because your frontend instance has to get data from Memcache and then serve it, while Blobstore serving works a bit differently (by intercepting responses and inserting data in body).

    3. IMHO, the fastest would be if data is served via transparent cache.

    Also, if you want to serve images, then you might want to use Image Service, as it seem to be faster then Blobstore.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to use SQLite as a relational database from Google App Engine?
I need to read a 950mb txt file in a console app without getting
After creating a file and populating data into it, before close, need read part
I need to read test.TXT file(tab delimited) into MATLAB. TXT file have form: Datum
I need to read 16 bits from the binary file as std::string or char
I need to read a file line by line, and change a variable accordingly.
I need to read data from XML to a List<>. The XML file contains
I need to read the editurl from one jqgrid for use in a DND
I need to read the size of a file but the server is forcing
I need to read and write some data on .mdb Access file and over

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.