Skip to content

markjen/gcptest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Google Cloud Platform Tests

gc

This package contains a small app to help observe GC behavior while running in GAE.

findings

  • runtime.GC() successfully executes the GC within the execution of a single request.
  • if runtime.MemStats.Sys exceeds the configured amount, the instance will be shutdown cleanly after the request if it finishes within ~1 second (i.e. /_ah/stop will be called).
  • if a request exceeds configured memory amount and continues to run for more than 1 second, the request will be killed and instance shutdown uncleanly (i.e. /_ah/stop will not be called).

scaling

This package contains GAE components that test the module scaling policies, driven by various triggers (HTTP requests and push task queues).

findings

  • Taskqueue pushes to the worker module in bursts of ~10 tasks
  • Automatic scaling does not strictly respect max_concurrent_requests
  • As worker module is hit with traffic over a period of time, automatic scaling increases the number of instances; but seemingly gradually?

About

Google Cloud Platform tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published