October 2018
Intermediate to advanced
556 pages
15h 18m
English
David Moten's rxjava2-jdbc library (https://github.com/davidmoten/rxjava2-jdbc) was created to wrap a JDBC driver in a way that does not block a reactive application. The library is built on RxJava 2 and uses a dedicated thread pool and the concept of the non-blocking connection pool. Consequently, a request does not block a thread while waiting for a free connection. As soon as a connection is available, the query starts executing on the connection and blocks the thread. The application may not manage a dedicated scheduler for blocking requests because the library does this. Additionally, the library has a fluent DSL that allows us to issue SQL statements and receive results as Reactive Streams. Let's define ...
Read now
Unlock full access