I've noticed that I am getting a lot of 502 error as the latency of my 
service starts to grow. The number of 502 error basically grows with the 
number of requests sent, and it seems like I can only process very small 
number of events on the GAE.

The service is written in Python, and is performing data ETL of my app 
events that is then loaded into Google BigQuery. 

I've tried changing the instance class or increasing the maximum number of 
instances but I thing there is some other problem with my setup as we are 
still in development and shouldn't really need that much computing power.

<https://lh3.googleusercontent.com/-s_T8tbamEiA/WcrvM8aeZLI/AAAAAAAAAAM/sOVjza6oSoAm_0SjPpcT_oH8CAednf7yACLcBGAs/s1600/server%2B502%2Berror.png>

runtime: python
env: flex
entrypoint: gunicorn -b :$PORT standard-event-service:app
threadsafe: true

runtime_config:
  python_version: 3

service: standard-event-service

instance_class: F1
automatic_scaling:
  min_num_instances: 1
  max_num_instances: 10
  max_idle_instances: automatic  # default value
  max_concurrent_requests: 20

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/192f0b3d-83e5-4615-ab45-e4d7fc21c408%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to