Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit92f0de0

Browse files
committed
Fix typo
1 parent1776d4d commit92f0de0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎stubbornjava-webapp/ui/src/posts/database-connection-pooling-in-java-with-hikaricp.hbs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<p><Ahref="https://github.com/brettwooldridge/HikariCP">HikariCP</a> is a very fast lightweight Java connection pool. The API and overall codebase is relatively small (A good thing) and highly optimized. It also does not cut corners for performance like many other Java connection pool implementations. The Wiki is highly informative and dives really deep. If you are not as interested in the deep dives you should at least read and watch the video on <ahref="https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing">connection pool sizing.</a></p>
1212

1313
<h2class="anchored">Creating Connection pools</h2>
14-
<p>Let's create two connections pools one for OLTP (named transactional) queries and one for OLAP (named processing). We want them split so we can have a queue of reporting queries back up but allow critical transactional queries to still get priority (This is up to the database of course but we can help a bit). We can also easily configure different timeouts or transactioniscolation levels. For now we just just change their names and pool sizes.</p>
14+
<p>Let's create two connections pools one for OLTP (named transactional) queries and one for OLAP (named processing). We want them split so we can have a queue of reporting queries back up but allow critical transactional queries to still get priority (This is up to the database of course but we can help a bit). We can also easily configure different timeouts or transactionisolation levels. For now we just just change their names and pool sizes.</p>
1515

1616
<h3class="anchored">Configuring the Pools</h3>
1717
<p>HikariCP offers several options for configuring the pool. Since we are fans of roll your own and already created our own <ahref="/posts/environment-aware-configuration-with-typesafe-config">Typesafe Configuration</a> we will reuse that. Notice we are using some of Typesafe's configuration inheritance.</p>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp