We will show how to write application in Java 8 that do not waste resources and which can maximize effective utilization of CPU/RAM. There will be presented comparison of blocking and non-blocking approach for I/O and application services. Based on microservices implementing simple business logic in security/cryptography/payments domain, we will demonstrate following aspects:
· NIO at all edges of application
· popular libraries that support NIO
· single instance scalability
· performance metrics (incl. throughput and latency)
· resources utilization
· code readability with CompletableFuture
· application maintenance and debugging
All above based on our experiences gathered during development of software platforms at Oberthur Technologies R&D Poland.
Software architect and technical manager specializing in systems integration (EAI/SOA/Microservices) and cloud computing. For over 10 years develops Java based IT solutions. Involved in IT projects for enterprises and R&D work on innovative products around cloud computing, IoT connectivity and High Performance Computing. Technical trainer and mentor. Currently system architect at Oberthur Technologies R&D Poland.