servers are !? !? > > dead dead > Node.js > Node.js app! app! hipster hipster Java is Java is ... (and Node.js is fast?) ... (and Node.js is fast?) > > slow slow But is that all true? But is that all true? Which one is Which one is / / / / ? ? faster faster better better hipster hipster
context > independendly deployable own datastore (we used key/value store) > resilience (w/ use of ) scalable > lightweight own process > > Redis Sentinel > >
independent process > good and easy-to-use redis/sentinel communication (also ) few lines of code > solution was after 30mins of coding > asnychronously > ready
Java Java Can I use ? > No, only (Java EE 6 with Java 7) But that's a heavy-weighted, old-fashioned application server, and everybody is claiming: > ! Do I really have to use such a rhinoceros for such a small "no-brainer"? > Vert.x JBoss EAP 6 > App Servers are dead >
6 / JAX-RS 1.x doesn't support async requests > synchronous requests result in many HTTP threads Resteasy provides annotation > processing becomes true in JAX-RS 1.x > For the sake of : use an asynchronous redis connector > worker > @Suspend Asynchronous completeness
EAP: 1 JVM thread, only ~3 used > http-worker-threads load/stress tests were performed with .io > Gatling 50 threads min tps Node.js 1ms ~2.000 req/sec JBoss EAP 1ms ~2.000 req/sec