Karan Tongay
Karan Tongay

Reputation: 207

How to execute long running tasks if I my project has no modules but still want to run on a the backend instance in GAE (Using Java)?

I had referred different documentations and few questions that state the use of modules for running long running tasks on Google App Engine. What if my application consists of only one default project which requires a long time to execute and I want to run it on a backend instance?

Due to some reason, it won't be possible for me to convert my existing application into "Modules".

Please suggest.

Upvotes: 0

Views: 99

Answers (1)

Dan Cornilescu
Dan Cornilescu

Reputation: 39834

What allows long running tasks for a module (default or not) is the module's scaling being set to manual or basic. Details in my answer to your other question: How to use Modules in Google App Engine and add a target to them using Task Queue (Java)?

So just configure your default module for one of these scaling options and set its instance class to one of the B classes (B4_1G for example). As you observed you can't use an F class in this case since F classes are only allowed for modules configured for automatic scaling.

Upvotes: 1

Related Questions