Experiment with Vertx reactive driver in hibernate-core #5107
Replies: 2 comments 4 replies
-
It's definitely worth trying out the Vert.x driver with Hibernate ORM. I think that was a great idea. |
Beta Was this translation helpful? Give feedback.
-
I have no objections about trying, but I'm a bit skeptical about what you're going to get out of it. The adaptation layer isn't trivial; if the goal is performance comparison, there's a very real risk that such layer will bias your outcomes. And also, ee need to wonder: how is that substantially different from using Hibernate Reactive? Those pipelining capabilities are almost never going to kick in unless the model of use to invoke the driver is changed at higher level, like HR is doing. |
Beta Was this translation helpful? Give feedback.
-
During JNation, I came up with the idea to make use of the reactive driver in hibernate-core to improve performance, by reducing the loading latency, thanks to possible network level pipelining features of the Vertx driver. In case the transaction isolation level is
READ_COMMITTED
and the transaction is "read only" or the persistence context is empty, we could even make use of pool level pipelining, which will essentially execute queries in parallel. Note though, that we could also try out using multiple JDBC connections for parallelizing which would be similar to pool level pipelining.I just wanted to write down these ideas before I forget about this. Maybe we can discuss a few things here or somebody wants to work on this experiment about which we could discuss results here.
Beta Was this translation helpful? Give feedback.
All reactions