Skip to content

Instantly share code, notes, and snippets.

@guillaumebort
Created June 22, 2012 16:04
Show Gist options
  • Save guillaumebort/2973705 to your computer and use it in GitHub Desktop.
Save guillaumebort/2973705 to your computer and use it in GitHub Desktop.
Configuration for a blocking Play 2.0 application
web: target/start -Dhttp.port=${PORT} -Dconfig.resource=prod.conf ${JAVA_OPTS}
include "application.conf"
play {
akka {
actor {
deployment {
/actions {
router = round-robin
nr-of-instances = 100
}
/promises {
router = round-robin
nr-of-instances = 100
}
}
retrieveBodyParserTimeout = 5 seconds
actions-dispatcher = {
fork-join-executor {
parallelism-factor = 100
parallelism-max = 100
}
}
promises-dispatcher = {
fork-join-executor {
parallelism-factor = 100
parallelism-max = 100
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment