I’ve known about Vert.x and Play for quite some time but just never got around to covering them here. I recently decided that it was past time to correct for that error in judgement. For those wishing to build reactive microservices for the JVM, these two frameworks definitely merit your consideration. While you don’t absolutely require a reactive framework in order to develop reactive microservices, it sure does help to adopt one. If you feel comfortable developing microservices that don’t depend on the Spring framework, then read on.
|Writing Reactive Microservices for the JVM||article below|
|Vert.x||reactive web framework used by feed 11|
|Play||reactive web framework used by feed 12|
|Google Trends||Google trends comparison of Play with Vert.x|
|Netty||server backend used by both feed 11 and feed 12|
|reactive programming||concepts behind reactive programming|
|feed 6||news feed implementation in Scalatra|
|feed 11||news feed implementation in Vert.x|
|feed 12||news feed implementation in Play|
|Slick||library used by feed 11 and 12 for accessing MySql|
|Scalatra||servlet web framework used by feed 6|
|Circe||Library used by feed 11 and 12 for working with JSON|
|Guice||Library used by feed 12 for dependency injection|
|Gatling||Library used by feed 12 for local profile based load testing|
|Akka HTTP||Play can be configured to use this instead of Netty|
|Java NIO||Netty uses this part of the JRE for non-blocking IO|
By the Numbers
Here is a summary of the article below in numbers.
Static Code Analysis
|per file Lines of Code||cyclomatic||external|
Performance Under Load
Having trouble viewing the embedded document? Feel free to download the PDF for offline viewing.