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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T10:11:56+00:00 2026-06-05T10:11:56+00:00

I have an application built with GWT+AppEngine, for automatic creation of quizzes: The main

  • 0

I have an application built with GWT+AppEngine, for automatic creation of quizzes:

  1. The main web page has a button “Create new quiz”.

  2. Clicking the button activates a service in the back-end, that creates the quiz and returns it.

  3. The main page then displays the quiz.

The quiz creation takes a lot of time, so I thought of pre-loading a quiz while the user answers a quiz: after displaying the quiz, I activate another service in the back-end, that creates the next quiz and keeps it in a local variable. When the user clicks “create new quiz” again, the back-end notices that there is a pre-created quiz, and returns it immediately.

This works well in development mode on my computer, but doesn’t work when I deploy to AppEngine.

It seems that there are several copies of the back-end with all its local variables, so that the “preload” service runs on one copy, and the “return new quiz” runs on another, and doesn’t use the preloaded quiz.

Is this so? How many copies of my back-end exist? If the number is constant, I can just run “preload quiz” several times, one for each copy.

  • 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-05T10:11:57+00:00Added an answer on June 5, 2026 at 10:11 am

    The number is not constant, and you should not assume that your backend servers can work in this way.

    You must use the provided services like memcache and the datastore to communicate between requests. You should essentially assume that every request is answered by a completely different, completely new instance of your application. Variables in normal memory just don’t work well between requests.

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

Sidebar

Related Questions

I have an application built using JSF1.2. I have a home page which has
I have an application built with GWT/Appengine/Jdo...and i am using Google User Service for
I have a web-application built with GWT (2.0.3) and run on Apache Tomcat 6.
I have an application built upon ASP.NET 3.5 and PostgreSQL 8.3. My database has
I have an application built that hits a third party company's web service in
I am planning a new application and have been experimenting with GWT as a
I have created a google project... went new web project with the gwt/gae plugin.
I have an application built on Flex 2. I am writing a new application
I have a web application built in ASP and initially hosted on my own
I have a web application built using Spring which contains some jobs. A typical

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.