Detailed Overview:
Day to day developers deal with how to improve performance of slow operations. The challenge is, how to get the most performant result, the right concurrency model and to choose which programming language offers the best solution.
In this talk I will focus on the topic of ‘Concurrency Models in Java vs Node.JS’ beginning with formulating a slow task and mention alternative ways how to handle those kind of operations.
Then in following sections concurrency features and capabilities of both Java [Core Thread API, Thread Safety Techniques and Java Concurrency API, Enhanced Java Concurrency (new era)] and Node.js [Event Loop, Multithreading in Node.js — Worker Threads] are described. Some practical scenarios and examples (here) are examined with employing threads to improve the performance. This help us to compare and describe concurrency related factors as well as concurrency models more concisely. Finally, comparison matrix (generated after executing same task with different solutions) showing best|average|worst elapsed-time results gave us better understanding how to achieve better performance when solving slow operations, and learn which concurrency factors should be taken into consideration.
- What level of knowledge should attendees have before joining your session:
Beneficial to any level of Java or NodeJS, or who has interest to concurrency models (every programming language offers its own solution on this) - What will your session accomplish and what will attendees have learned: Attendees will learn concurrent programming principles and how to choose right concurrency models to achieve the most performant result in both programming Languages Java and NodeJS. Moreover will witness the real-computation results and the comparison matrix with showing best | average | worst elapsed-time results for Java vs Node.js.