Google App Engine: Traffic Flashcards

1
Q

What does App Engine consider a ‘version’?

A

Every time you redeploy your application with changes made

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the 3 major options for splitting traffic?

A
  • IP Address
  • Cookie
  • Random
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

By default, where does google automatically redirect 100% of its traffic to?

A

The newest version

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can we fetch an environment variable?

A

Using the getenv() function in the os module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do we fetch the instance ID

A

Use the getenv() function with ‘GAE_INSTACE’ as a parame

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do we fetch the current version?

A

Use the getenv() function with ‘GAE_VERSION’ as a parameter to store it in a variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly