sql2o VS HikariCP

Compare sql2o vs HikariCP and see what are their differences.

sql2o

sql2o is a small library, which makes it easy to convert the result of your sql-statements into objects. No resultset hacking required. Kind of like an orm, but without the sql-generation capabilities. Supports named parameters. (by aaberg)

HikariCP

光 HikariCP・A solid, high-performance, JDBC connection pool at last. (by brettwooldridge)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
sql2o HikariCP
1 33
1,132 19,395
- -
7.9 6.2
18 days ago about 1 month ago
Java Java
MIT License 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.

sql2o

Posts with mentions or reviews of sql2o. We have used some of these posts to build our list of alternatives and similar projects.
  • Are there recommended approach working with Database except Panache/Hibernate ?
    1 project | /r/quarkus | 29 May 2022
    Mostly i think because in our Kubernetes - the max resources allocated for single service instance - 2gb ram + 4vcore (2vcore, for 4 there is special agreement process). Under load i often see high memory pressure (gc count, high pauses, etc.). But handling http requests and dealing with CRUD is not a big problem. The huge difference appears during data batch upload into big-data system. The only service which was able to upload it's database faster than 300k record/s+ (peak ingestion) is using https://github.com/aaberg/sql2o + https://vertx.io/docs/vertx-pg-client/java/ . I don't remember numbers for services which use hibernate, but they mostly are very low.

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.

What are some alternatives?

When comparing sql2o and HikariCP you can also consider the following projects:

JDBI - The Jdbi library provides convenient, idiomatic access to relational databases in Java and other JVM technologies such as Kotlin, Clojure or Scala.

c3p0 - a mature, highly concurrent JDBC Connection pooling library, with support for caching and reuse of PreparedStatements.

jOOQ - jOOQ is the best way to write SQL in Java

spring-boot-r2dbc - An example implementation of Spring Boot R2DBC REST API with PostgreSQL database.

H2 - H2 is an embeddable RDBMS written in Java.

Vibur DBCP - Vibur DBCP - concurrent and dynamic JDBC connection pool

Presto - The official home of the Presto distributed SQL query engine for big data

Crate - CrateDB is a distributed and scalable SQL database for storing and analyzing massive amounts of data in near real-time, even with complex queries. It is PostgreSQL-compatible, and based on Lucene.

Flyway - Flyway by Redgate • Database Migrations Made Easy.

Querydsl - Unified Queries for Java