lmdbjava/lmdbjava
lmdbjava/lmdbjava has 875 GitHub stars and 125 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-09 06:49 UTC. Last push 2026-08-14.
Lightning Memory Database (LMDB) for Java: a low latency, transactional, sorted, embedded, key-value store
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalLMDB for Java
LMDB offers:
- Transactions (full ACID semantics)
- Ordered keys (enabling very fast cursor-based iteration)
- Memory-mapped files (enabling optimal OS-level memory management)
- Zero copy design (no serialization or memory copy overhead)
- No blocking between readers and writers
- Configuration-free (no need to "tune" it to your storage)
- Instant crash recovery (no logs, journals or other complexity)
- Minimal file handle consumption (just one data file; not 100,000's like some stores)
- Same-thread operation (LMDB is invoked within your application thread; no compactor thread is needed)
- Freedom from application-side data caching (memory-mapped files are more efficient)
- Multi-threading support (each thread can have its own MVCC-isolated transaction)
- Multi-process support (on the same host with a local file system)
- Atomic hot backups
LmdbJava adds Java-specific features to LMDB:
- Extremely fast across a broad range of benchmarks, data sizes and access patterns
- Modern, idiomatic Java API (including iterators, key ranges, enums, exceptions etc)
- Nothing to install (the JAR embeds the latest LMDB libraries for Linux, OS X and Windows)
- Buffer agnostic (Java
ByteBuffer, AgronaDirectBuffer, NettyByteBuf, your own buffer) - 100% stock-standard, officially-released, widely-tested LMDB C code (no extra C/JNI code)
- Low latency design (allocation-free; buffer pools; optional checks can be easily disabled in production etc)
- Mature code (commenced in 2016) and used for heavy production workloads (eg > 500 TB of HFT data)
- Actively maintained and with a "Zero Bug Policy" before every release (see issues)
- Available from Maven Central and Central Portal Snapshots
- Continuous integration testing on Linux, Windows and macOS with Java 8, 11, 17, 21 and 25
Performance


Full details are in the latest benchmark report.
Documentation
Support
We're happy to help you use LmdbJava. Simply open a GitHub issue if you have any questions.
Building
LmdbJava uses a standard Maven build. Its native libraries are provided by the
org.lmdbjava:native dependency.
To use a different LMDB library, set lmdbjava.native.lib system property to the file path.
Contributing
Contributions are welcome! Please see the Contributing Guidelines.
License
This project is licensed under the Apache License, Version 2.0.
This project distribution JAR includes LMDB, which is licensed under The OpenLDAP Public License.
Explore related projects
Asabeneh/30-Days-Of-Python
The 30 Days of Python programming challenge is a step-by-step guide to learn the Python programming language in 30 days. This challenge may take more than 100 days. Follow your own pace. These videos may help too: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,423 starsgrafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
77,763 starsredis/redis
For developers, who are building real-time data-driven applications, Redis is the preferred, fastest, and most feature-rich cache, data structure server, and document and vector query engine.
77,309 starsapache/superset
Apache Superset is a Data Visualization and Data Exploration Platform
75,453 stars