Google App Engine
Scaling Config
GCPUG Admin
Google Developers Expert
Mercari / Merpay Solution Team
@sinmetal
https://goo.gl/Xnz3XA
https://gcpug.jp
App Engine Components
2
Application
Service
Service
Version
Version
Version
Version
Instance
Instance
Instance
https://gcpug.jp
App Engine Service
3
https://gcpug.jp
App Engine Version
4
https://gcpug.jp
App Engine Architecture
5
Google Datacenter
App Engine Services
Frontend
App Engine
Frontend
Static Server
Pending Request Queue
App Server
Datastore
Memcache
Task Queue
Search
URL Fetch
Socket
自分のDeployしたApplicationが動いている場所
https://gcpug.jp
Scaling Config
6
https://gcpug.jp
Frontend , Backend
7
https://gcpug.jp
Scaling Config
8
https://gcpug.jp
Automatic Scaling
9
https://gcpug.jp
Resident Instanceの消滅
No more resident instances in auto scaling. Previously, if you used the min_idle_instances setting, the minimum idle instances were labelled as Resident in the Cloud Console, with the remainder of the instances labelled as Dynamic. The new scheduler simply labels all instances as Dynamic with auto scaling. However, the underlying behavior remains similar to previous behavior. If you use min_idle_instances and enable warmup requests, you will see at least that many dynamic instances running even during periods with no traffic.
https://cloud.google.com/appengine/docs/standard/go/release-notes?hl=en
10
https://gcpug.jp
Resident Instanceの消滅
11
https://gcpug.jp
min_idle_instancesの仕様変更
12
https://gcpug.jp
min_instancesの追加
13
https://gcpug.jp
min_instances, min_idle_instances 両方指定
14
https://gcpug.jp
min_instances, min_idle_instances 両方指定
15
https://gcpug.jp
min_instances, min_idle_instances 両方指定
16
暇だから予約していた
インスタンスを解放した?
https://gcpug.jp
pending_latency?
17
https://gcpug.jp
App Engine Request Processing Flow
18
https://gcpug.jp
Basic Scaling
19
https://gcpug.jp
Manual Scaling
20
https://gcpug.jp
GCPUG Slack
#g-app-engine_ja
21
https://gcpug.jp
Resources
22
https://gcpug.jp