public
Last active

Configuration for a blocking Play 2.0 application

  • Download Gist
Procfile
1
web: target/start -Dhttp.port=${PORT} -Dconfig.resource=prod.conf ${JAVA_OPTS}
prod.conf
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 40 41 42 43
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
}
}
}
}
 
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.