Huskehhh / MySQL

Simple JDBC MySQL database wrapper for Java
MIT License
69 stars 51 forks source link

Can I create a pool of connections? #21

Closed TimoA200 closed 4 years ago

TimoA200 commented 4 years ago

Maybe that's a stupid question, but I'm new to this topic. I heard that using a pool of MySQL connections is more efficient if you have a lot of requests. I saw a few examples of pools, which I didn't really understand, so can I use this wrapper to create a connection pool easily?

Huskehhh commented 4 years ago

Hey mate! Certainly no stupid questions. This wrapper is built on top of HikariCP which is a popular and incredibly fast connection pool, which does all the pooling for us!