The configuration file "resources/WEB-INF/ui-config.xml" in the Cryptshare Server installation directory can be used to adjust how the web server behaves, the following section includes comments to highlight the options that can be adjusted to improve performance under high load. You can find the full documentation for the configuration file in the Jetty Wiki.
ui-config.xml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | <? xml version = "1.0" encoding = "UTF-8" ?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "resources/WEB-INF/configure.dtd">
< Configure id = "Cryptshare" class = "org.eclipse.jetty.server.Server" >
< Arg name = "threadpool" >
< New class = "org.eclipse.jetty.util.thread.QueuedThreadPool" >
< Arg name = "minThreads" type = "int" >5</ Arg >
< Arg name = "maxThreads" type = "int" >25</ Arg >
< Arg name = "idleTimeout" type = "int" >1000</ Arg >
< Arg name = "queue" >
< New class = "java.util.concurrent.ArrayBlockingQueue" >
< Arg type = "int" >200</ Arg >
</ New >
</ Arg >
</ New >
</ Arg >
< Call name = "addConnector" >
< Arg >
< New class = "org.eclipse.jetty.server.ServerConnector" >
< Set name = "idleTimeout" >
< Property name = "http.timeout" default = "15000" />
</ Set >
</ New >
</ Arg >
</ Call >
< Call id = "sslConnector" name = "addConnector" >
< Arg >
< New class = "org.eclipse.jetty.server.ServerConnector" >
< Set name = "idleTimeout" >
< Property name = "http.timeout" default = "15000" />
</ Set >
</ New >
</ Arg >
</ Call >
</ Configure >
|
Additionally, other settings of the Cryptshare Server can be adjusted to improve responsiveness as described here: Advanced Cryptshare Configuration