Skip to content

Keeping Instances - appengine/endpoints-frameworks-v2/backend #880

Closed
@alistairsykes

Description

@alistairsykes

In which file did you encounter the issue?

https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/appengine/endpoints-frameworks-v2/backend

Did you change the file? If so, how?

No - except to change the project id

Describe the issue

I ran this example project on a app engine project, and after _ah/start in order to handle my request it starts an instance. That instance never seems to stop of its own accord. I thought it was supposed to given its using the basic-scaling setting. Is there something wrong, or have I misunderstood the behaviour its supposed to exhibit.

Activity

changed the title [-]appengine/endpoints-frameworks-v2/backend Keeping Instances[/-] [+]Keeping Instances - appengine/endpoints-frameworks-v2/backend[/+] on Oct 5, 2017
frankyn

frankyn commented on Oct 10, 2017

@frankyn
Contributor

Pinging @tangiel Hey Daniel, do you know why AppEngine Standard wouldn't scale down? I'm not quite sure why it wouldn't scale down.

tangiel

tangiel commented on Nov 2, 2017

@tangiel
Contributor

It's a current known issue for basic scaling--background threads seem to prevent termination of instances.

frankyn

frankyn commented on Nov 2, 2017

@frankyn
Contributor

Is there a known workaround?

tangiel

tangiel commented on Nov 2, 2017

@tangiel
Contributor

You can use automatic scaling. If your traffic is extremely low, then metrics may not be totally accurate in automatic scaling, but it should allow instances to shut down.

removed their assignment
on May 28, 2019
self-assigned this
on Jun 5, 2019
kurtisvg

kurtisvg commented on Jun 10, 2019

@kurtisvg
Contributor

Notice: this issue has been closed because it has been inactive for {days_inactive} days. You may reopen this issue if it has been closed in error.

added 2 commits that reference this issue on Nov 14, 2022
5f057a8
0cd4a86
added a commit that references this issue on Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @frankyn@alistairsykes@tangiel@kurtisvg

      Issue actions

        Keeping Instances - appengine/endpoints-frameworks-v2/backend · Issue #880 · GoogleCloudPlatform/java-docs-samples