Java platforme, programski okviri i poslužitelji
utorak, 14. svibanj 2019., 15:55
We’ve been using JDBC to access our SQL databases for decades, but JDBC is a blocking API. Blocking API’s can be problematic at times, and after years of promises, a ‘non blocking JDBC’ is on the horizon. First we'll look into why we may want to move away from blocking API's, and the we address two options of doing that, R2DBC and ADBA. We'll go through show some code, and discuss what impact it has on your code and on the performance of your system.