Chronicle Map
jOOQ
Our great sponsors
- CodiumAI - TestGPT | Generating meaningful tests for busy devs
- Sonar - Write Clean Java Code. Always.
- ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
- InfluxDB - Access the most powerful time series database as a service
Chronicle Map | jOOQ | |
---|---|---|
3 | 83 | |
2,582 | 5,445 | |
0.9% | 1.5% | |
8.9 | 9.8 | |
about 1 month ago | 3 days ago | |
Java | Java | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
Chronicle Map
-
Off-heap memory in Java
Chronicle-Map: Chronicle Map is an in-memory, key-value store, designed for low-latency, and/or multi-process applications.
-
Solution for hash-map with >100M values
https://github.com/OpenHFT/Chronicle-Map - Maybe a better offheap map
I've wrangled data sets in the ~600gb range using nothing but plain old Java and a few beefy boxes. This can all be kept in memory, but you have to go off-heap. You can use Chronicle Map and Chronicle Values to model this data and work with it off-heap in a way that's still very clean and object oriented. 128gb of RAM is cheap these days, whether you're in the cloud or not.
jOOQ
-
Any library you would like to recommend to others as it helps you a lot? For me, mapstruct is one of them. Hopefully I would hear some other nice libraries I never try.
JOOQ. I love this one; its very very useful when you don't need/like any ORM, and it works with, for example Spring JDBC, so you don't have to write directly the SQL into Strings. The generator helps you with all the DAO layer, and if you want it generates JPA Models too.
-
Using Flyway for Database Setup
In our last episode (https://youtu.be/GLYL2bkNPjM) we decided to use jOOQ (https://www.jooq.org/), rather than JetBrains Exposed for our database access, but discovered that we were using Exposed to create our tables, so we couldn't remove it straight away.
-
Is it just me, or does the Spring Framework lead to hard-to-maintain code and confusion with annotations?
I strongly advocate frameworks like https://javalin.io/ and Jooq (https://www.jooq.org/) if you are going to start a new project in Java.
- Are there any poplar alternatives to siesta?
-
jOOQ vs Exposed
This is part two of my interview with Lukas Eder about jOOQ - the Java Object Oriented Query library (https://www.jooq.org/), best watched after part one (https://youtu.be/0WcNM7UCtmQ)In this part we take the code we had written in tests and move it into an implementation of the repository pattern, checking that jOOQ version passes the tests we had previously written for Exposed ((https://youtu.be/Uza_dWsNMUs).
You've probably reported this here? https://github.com/jOOQ/jOOQ/issues/new/choose. If not, what was this about?
-
Xtext - Do you use it in large projects?
ANTLR opinionated query lang (this stuff is actually translating into SQL queries using jooq): Fatcoach
-
You might not need an ORM
> all I really want is a nice API for building queries (that actually supports all underlying database features) and automatic mapping of the results to whatever objects/structs and primitives the language supports.
For Java based solutions, check out https://www.jooq.org/ or http://querydsl.com/
-
Are forcedtypes supported in routines?
tnx I have created https://github.com/jOOQ/jOOQ/issues/14524
What are some alternatives?
Querydsl - Unified Queries for Java
JDBI - jdbi is designed to provide convenient tabular data access in Java; including templated SQL, parameterized and strongly typed queries, and Streams integration
MapDB - MapDB provides concurrent Maps, Sets and Queues backed by disk storage or off-heap-memory. It is a fast and easy to use embedded Java database engine.
Spring Data JPA - Simplifies the development of creating a JPA-based data access layer.
HikariCP - 光 HikariCP・A solid, high-performance, JDBC connection pool at last.
Speedment - Speedment is a Stream ORM Java Toolkit and Runtime
Redisson - Redisson - Easy Redis Java client with features of In-Memory Data Grid. Over 50 Redis based Java objects and services: Set, Multimap, SortedSet, Map, List, Queue, Deque, Semaphore, Lock, AtomicLong, Map Reduce, Publish / Subscribe, Bloom filter, Spring Cache, Tomcat, Scheduler, JCache API, Hibernate, MyBatis, RPC, local cache ...
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.
Presto - The official home of the Presto distributed SQL query engine for big data
requery - requery - modern SQL based query & persistence for Java / Kotlin / Android
blaze-persistence - Rich Criteria API for JPA providers
SQLDelight - SQLDelight - Generates typesafe Kotlin APIs from SQL