java - If I build a Spring app on App Engine, will it use multithreading by default or can it be configured to? -
according latest app engine news, java apps can minimize number of instance hours use enabling multi-threading - allow them use more resources per instance-hour.
if build spring app on app engine, use multithreading default optimize resource use?
or there need configure take advantage of app engine feature?
servlet multithreading on appengine off default. can enable adding <threadsafe>true</threadsafe>
element appengine-web.xml
.
in case servlets must thread safe: means should not have internal state (fields) or access state data must synchronized.
about spring: i'm not familiar spring internals, not if it's thread safe.
Comments
Post a Comment