Static textual files are always compressed Dynamic textual responses are only compressed if they are big http://code.
Static textual files are always compressed Dynamic textual responses are only compressed if they are big http://code.google.com/speed/page-speed/docs/payload.html#GzipCompression
Google recommends > 150B-1KB
In case of CPU bound, the pool size should be equal the number of cores http://grizzly.
In case of CPU bound, the pool size should be equal the number of cores http://grizzly.java.net/nonav/docs/docbkx2.0/html/bestpractices.html
akka.
akka.actor.ActorSystem("xitrum")
config/application.
config/application.conf
Shutdowns Hazelcast and call System.
Shutdowns Hazelcast and call System.exit(-1). Once Hazelcast is started, calling System.exit(-1) does not stop the current process!
Use lazy to avoid starting Hazelcast if it is not used (starting Hazelcast takes several seconds, sometimes we want to work in sbt console mode and don't like this overhead)
Logger name is inferred from the class name.
Logger name is inferred from the class name.
true if "xitrum.
true if "xitrum.mode" system property is set to "production" See bin/runner.sh.
Path to the root directory of the current project.
Path to the root directory of the current project. If you're familiar with Rails, this is the same as Rails.root. See https://github.com/ngocdaothanh/xitrum/issues/47
with leading "/"
Avoids returning path with double "//" prefix. Something like //xitrum/postback/zOIc0v... will cause the browser to send request to http://xitrum/postback/zOIc0v...
config/xitrum.
config/xitrum.conf
See config/xitrum.properties