datasource-proxy
Provide listener framework for JDBC interactions and query executions via proxy. (by jdbc-observations)
testing-n-1-problem
An example of writing tests to track N + 1 problem automatically (by SimonHarmonicMinor)
datasource-proxy | testing-n-1-problem | |
---|---|---|
2 | 1 | |
652 | 1 | |
0.5% | - | |
7.3 | 5.6 | |
5 months ago | 12 months ago | |
Java | Java | |
MIT License | MIT License |
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.
datasource-proxy
Posts with mentions or reviews of datasource-proxy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-21.
-
Integration Tests for N + 1 problem in Java
There is a cool library called datasource-proxy. It provides a convenient API to wrap javax.sql.DataSource interface with a proxy containing specific logic. For example, we can register callbacks invoked before and after query execution. What's interesting is that the library also contains out-of-the-box solution to count executed queries. We're going to alter it a bit to serve our needs.
-
A Tale of Two Connection Pools
In this option, we wrap our HikariCP instance in another object. The nice thing about this option is that it can be used with any connection pooling library (not just HikariCP); but, it does require that you add an additional dependency to your project: https://github.com/jdbc-observations/datasource-proxy
testing-n-1-problem
Posts with mentions or reviews of testing-n-1-problem.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-21.
-
Integration Tests for N + 1 problem in Java
The tech stack consists of Java, Spring Boot, Spring Data JPA, and PostgreSQL. You can check out the repository with code examples by this link.
What are some alternatives?
When comparing datasource-proxy and testing-n-1-problem you can also consider the following projects:
Hibernate - Hibernate's core Object/Relational Mapping functionality