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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:28:02+00:00 2026-05-16T05:28:02+00:00

I have a local scientific application that uses threads to process independent pieces of

  • 0

I have a local scientific application that uses threads to process independent pieces of a large calculation. My group would like this to become a web application, so now I’m figuring out how to port it (so please forgive any complete bonehead statements). I’m using Google App Engine to take care of the “web” part of it, but I’m still working out what other translations are appropriate.

My first inclination was to leave the calculation completely as is (e.g., digest some web form data into the appropriate format, pass that into calculator which spawns threads, etc).

However, I’m also reading about Queues + TaskOptions – that sort of looks like what I should be using instead of ExecutorService + Callable. The individual sub-calculations can take a bit to process (though they can also differ widely in amount of time required), so I guess ideally I’d like a user to be request the whole calculation and then be taken to a page which loads the results as they become available.

Are Queues + TaskOptions the right thing to be using? If not, what is? If so, are there convenient parallel examples to what I’m looking to do?

Lastly, my group has some short-term qualms about wide-release of the internals of the calculation so its details are all server-side – should that allay those concerns?

Eventually (after some publications etc) we plan to make those internals openly available and presumably then the web version could move the calculation client-side. Is there a preferable way to do implementation now that will make that future translation simpler? Or is that not even worth worrying about (since I already effectively have a “client-side” version in my local application)?

  • 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-05-16T05:28:02+00:00Added an answer on May 16, 2026 at 5:28 am
    1. All requests (including tasks) in app engine have a time limit of 30 seconds. If your calculations will take longer than that, you will need to figure out a way to break them down into smaller chunks. App engine’s sweet spot is web apps, not number crunching.

    2. If you want to be able to share code between the client and server side, one option is to look into GWT. (google web toolkit) It will allow you to write a client using java source code that it then converts to javascript. This would be one method of reusing the number crunching code you already have.

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

Sidebar

Related Questions

I have local commit that are not on any branch that I would like
I have local scripts that I would like to run on a remote server.
I have local html files that I need to know how they look like
Suppose i have an XML file, that i use as local database, like this):
I have a local repository. I created the whole application, but now I want
I have local folder that is branch from formal_versions. My workflow is: Mkae changes
I have some scientific image data that's coming out of a detector device in
I have local HTML files that I'm displaying with a UIWebView. Everything is displaying
I have some code in the form of a string and would like to
I would like to get methods from REST XML file via PHP. I have

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.