ybdemo
Lab environment for YugabyteDB demos (by FranckPachot)
HikariCP
光 HikariCP・A solid, high-performance, JDBC connection pool at last. (by brettwooldridge)
ybdemo | HikariCP | |
---|---|---|
17 | 33 | |
15 | 19,424 | |
- | - | |
6.6 | 6.2 | |
4 months ago | about 1 month ago | |
Shell | Java | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ybdemo
Posts with mentions or reviews of ybdemo.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-07.
-
B-Tree vs. LSM-Tree: measuring the write amplification on Oracle Database and YugabyteDB
As I did with Oracle, I can run a single insert and look at the statistics from explain analyze and my ybwr:
-
In-Memory counters with YugabyteDB
I've also updated my YugabyteDB Lab with Grafana for this scenario, running:
-
Scalable Job Queue in SQL (YugabyteDB)
I check, with my ybwr.sql script, that reading one row from the job_fanout view reads from one table only:
-
Flashback query in YugabyteDB
Here is a quick test using my ybwr on this demo table which has 3 tablets across 3 nodes.
-
Gitpod with YugabyteDB image
If you want to play with a multi-node, as you need multiple network interfaces, it is better not to use this image but start YugabyteDB nodes in docker, as I do in my ybdemo:
-
EXPLAIN from pg_stat_statements normalized queries: how to always get the generic plan in 🐘&🚀
@franckpachot
-
find the partition key with a local read in 🚀 YugabyteDB geo-partitioned tables
I've used this docker-compose
-
PITR snapshot: an easy flashback / backtrack for application releases
I'm starting a RF=3 cluster on my laptop using my ybdemo/docker/yb-lab/ and I set two aliases, ysqlsh, for SQL commands, and yb-admin, for snapshot commands:
-
Nested Loop performance in YugabyteDB
I also load my ybwr.sql to show the number of rocksdb seek() and next() in the tservers:
-
"I want to try it" 🚀 YugabyteDB at KubeCon
Now that you know how to scale out, just with the --join option of yugabyted, you can build your docker-compose file. For example, to replace PostgreSQL in a Docker Compose used for tests, I use the same variables as the PostgreSQL image - example here. And yugabyted is convenient for quick start, but you can have more control by starting all components like I do when I demo high availability and elasticity: https://github.com/FranckPachot/ybdemo/tree/main/docker/yb-lab
HikariCP
Posts with mentions or reviews of HikariCP.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-15.
-
Java virtual threads caused a deadlock in TPC-C for PostgreSQL
Looks like HikariCP is also awaiting fixes for this https://github.com/brettwooldridge/HikariCP/pull/2055
- About Pool Sizing
- HikariCP maximumPoolSize based on AWS ECS number of tasks
-
Writing to db
I have used hikari and exposed to do this in the past with postgres, although other dialects are supported.
-
A Tale of Two Connection Pools
I found one suggestion from the author of HikariCP on how to address this, which I implemented and it worked. However, there are additional classes involved, and it feels a little clunky and hard to follow.
-
Spring boot change password runtime
Not really, you can change some things in spring boot but doing so will typically trigger a refresh which is less reliable than restarting but still causes a large performance hit. You could probably do it with hikari if you really needed to but it's inadvisable to build your application around this mechanic.
-
Help with bungeecord server
# https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
-
Currently load testing a Django API I don’t get good results, Help me brainstorm this
Not familiar with Python but this thread about a Java connection pool might be interesting: https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
-
Should I use diesel ORM if performance is the most important thing?
Whatever you choose, presuming your app is database heavy, I highly recommend spending time on DB schema design to make all queries as short as possible, avoid relying on transactions, and keep your connection pool tiny. For reference: https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
-
Art of README
You reminded me of the HikariCP library and it’s documentation: Clear and simple with references to other libraries trying to accomplish the same thing. It is not in the closure space though.
https://github.com/brettwooldridge/HikariCP