I'm using nodejs flex environment and express.static middleware for hosting 
a static site, a mix of html, javascript, css and images that has about 30 
rps

It seems the defaults on flex environment isn't powerful enough to serve 
static files in under 100ms. I've fixed this problem by increasing the cpu 
count and ram of the base instance to:

resources:
cpu: 2
memory_gb: 7.6
disk_size_gb: 10

and have a minimum instance count of 

automatic_scaling:
min_num_instances: 4
max_num_instances: 20

can anyone recommend the proper sizing for resource instances and proper 
automatic scaling for this workload?

Thanks!
Jason

-- 
****NOTICE****
*This e-mail message is confidential, is intended only for the named 
recipient(s) above, and may contain information that is privileged, 
attorney work product or exempt from disclosure under applicable law.  If 
you have received this message in error, or are not a named recipient(s), 
you are hereby notified that any dissemination, distribution or copying of 
this e-mail is strictly prohibited.  If you have received this message in 
error, please immediately notify the sender by return e-mail and delete 
this e-mail message from your computer.  Thank you.*

-- 
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/ff2bcca2-5b3b-487c-8119-2063497557ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to