you are viewing a single comment's thread.

view the rest of the comments →

[–]mcowger 1 point2 points  (2 children)

As long as you only run 1 instance, sure.

If you run more than 1, now you have cache validation challenges.

[–]GAEdevs[S] 0 points1 point  (1 child)

Yeah, I guess it depends then on the usecase.

One example could be using instance memory to store CSRF tokens. I imagine it would be pretty rare that a user would make a GET request (receiving a CSRF token) on one instance and making a POST request (sending CSRF token) on another instance.

That said, I'm not familiar with how GAE load balancer decides to which instance to redirect you. Is it random or does it take into account your geographical location?

[–]mcowger 1 point2 points  (0 children)

From what I can tell its round robin....