Comments on: Shortest Code and Lowest Latency https://speedment.com/shortest-code-and-lowest-latency/ Build Fast Java Applications for the Fastest Business Performance Fri, 01 May 2020 05:21:37 +0000 hourly 1 https://wordpress.org/?v=5.1.1 By: Per Minborg https://speedment.com/shortest-code-and-lowest-latency/#comment-56 Wed, 12 Dec 2018 13:43:57 +0000 https://speedment.com/shortest-code-and-lowest-latency/#comment-56 I have actually re-used the same connection for all benchmark calls. So, connection pooling would not provide any additional performance increase. I wrote some texta about this just before the test results for SQL/JDBC.

You are right that connection pooling is implicit in Speedment for database access. For in-JVM-acceleration with Speedment, connections are bypassed altogether.

]]>
By: Ilya Novoseltsev https://speedment.com/shortest-code-and-lowest-latency/#comment-57 Wed, 12 Dec 2018 11:27:07 +0000 https://speedment.com/shortest-code-and-lowest-latency/#comment-57 Well, this just shows that connection pooling is a good thing. I believe it is implicitly done in speedment, so it's not fair to compare it to a bruteforce JDBC solution. Comparisons against the commonly used Spring JDBC template + HikariCP would be more interesting AND fair.

]]>