mirror of
https://github.com/google/nomulus.git
synced 2025-05-06 23:17:51 +02:00
Steady state QPS for prod is <30 on both default and pubapi, so number of instances can easily be brought safely down to 15 & 10 instances. Sandbox has negligible steady state QPS (especially on pubapi), so it is brought even lower. Note that, if we have any issues with these levels, we can increase them instantly using the nomulus set_num_instances command, without having to do another release or a rollback; this is therefore low risk. Note that we'll want to go back to 100 instances for the first day of .dev sunrise as well as the entire week of EAP and first day of GA. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=226566822
31 lines
994 B
XML
31 lines
994 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
|
|
|
|
<runtime>java8</runtime>
|
|
<service>pubapi</service>
|
|
<threadsafe>true</threadsafe>
|
|
<sessions-enabled>true</sessions-enabled>
|
|
<instance-class>B4_1G</instance-class>
|
|
<manual-scaling>
|
|
<instances>5</instances>
|
|
</manual-scaling>
|
|
|
|
<system-properties>
|
|
<property name="java.util.logging.config.file"
|
|
value="WEB-INF/logging.properties"/>
|
|
<property name="google.registry.environment"
|
|
value="sandbox"/>
|
|
</system-properties>
|
|
|
|
<static-files>
|
|
<include path="/*.html" expiration="1d"/>
|
|
<include path="/assets/js/**" expiration="1d"/>
|
|
<include path="/assets/css/**" expiration="1d"/>
|
|
<include path="/assets/images/**" expiration="1d"/>
|
|
</static-files>
|
|
|
|
<!-- Prevent uncaught servlet errors from leaking a stack trace. -->
|
|
<static-error-handlers>
|
|
<handler file="error.html"/>
|
|
</static-error-handlers>
|
|
</appengine-web-app>
|