21. Core
based on DDD concept
Scala (& Java enumeration)
sbt + IntelliJ IDEA (sbt-idea)
jedis (redis client) for caching
Using Java serialization
Specs 2 + Mockito
22. Open API
based on Core Library
Play 2.0.2 (JSON only)
Redis-based sessions (using jedis)
CSRF-free customized Action (Play)
Daemonized (Apache Daemon)
23. Management
based on Core Library
Play 2.0.2 (Internal web system)
Statistics and Operations
Daemonized (Apache Daemon)
24. Project scale
# of files # of tests LOC
CORE 665 976 52k
OPEN API 75 530 21k
manage 32 173 2k
25. TEST (Core)
Almost 1000
TODO: Jenkinsのスクリーンショット
TODO:テスト件数
80% Coverage
45. CSRF self check
Implements Customized Action to
check CSRF like below:
• if Method == POST ¦ PUT ¦ DELETE
• if request.body( token ) != token
• BadRequest
48. Request Overflowed
In production
ERROR play Cannot invoke the
action, eventually got an error:
environment, Play
Thrown(akka.pattern.AskTimeoutExc
causes many out)
eption: Timed
exceptions
49. Few documentation
for Akka...
http://www.playframework.com/documentation/2.0.4/
AkkaCore
50. Increase number of threads
from 24 to 100
Extends timeouts from 5 to 10
seconds
Almost errors aren’t occurred