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 8383229
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:06:52+00:00 2026-06-09T17:06:52+00:00

I have got doubts considering the lifetime cycle of webapps using AppEngine. Let’s consider

  • 0

I have got doubts considering the lifetime cycle of webapps using AppEngine.
Let’s consider the following situation: I would like the servlet to be super peer in my p2p network, which serves information about currently connected users, and all the other details that are useful while using p2p protocol.

I have decided to store these data using Datastore Java API. When the request comes to the app, the data is retrieved from the database and sent to the user. Simple. Here is the thing – the data retrieval seems to be somewhat redundant. I wonder if it is possible to retrieve the data once, when the app starts and then send it to the users.

I am aware of the 60 seconds request and response limit, and based on this topic Google App Engine Instance Life Cycle , I guess that every user request will create another instance of servlet, and all of the data will have to be retrieved everytime the user sends a request. Am I right? Is there something that can be done to get rid of redundant database access? How about using Backend provided by Google?

Thanks in advance!

  • 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-09T17:06:53+00:00Added an answer on June 9, 2026 at 5:06 pm
    1. A new instance is NOT started for every request.

    2. Instances are started when GAE believes it need more computing power to serve requests.

    3. You can never know which instance will serve a request.

    4. Backends are fixed instances (= you configure how many are running) so they are a good fit to hold shared data. Keep in mind: backends are not permanent storage, they can be restarted anytime (in my experience this happens once a day). So you need to save your data

    5. You can use memcache (=volatile, but fast and cheap) to hold shared data and datastore as a fallback (=reliable, but slower and expensive).

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

Sidebar

Related Questions

I have the following code: http://jsfiddle.net/fCWJ5/1/ , and following doubts regarding the viewbox. body{margin:0;}
Got some doubts with bottom half.Here, I consider tasklets only. Also , I consider
I have being studying (newbie) .NET and I got some doubts. Reading from a
Have got an NSString *str = @12345.6789 and want to find out if there
I have got the requirement to find the core file in multiple box/machine and
I have got this code: function init(){ if (typeof window.jQuery !== 'function') { var
I have got a form into which information is entered, and a drop down
i have got <div><a class='link' href='index.php' data-container='target'>Load</a></div> <div class='target'></div> i need to write jquery
I have got a table [newsletter] in the db, which saves the email address,
I have got two pages. example.com/php.com and example.com. I use this function to set

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.