An open-source NoSQL embedded document store for Java, supporting in-memory and file-based persistence with a simple API.
Nitrite Database is an open-source NoSQL embedded document store for Java applications. It provides a lightweight, serverless database that can run in-memory or with file-based persistence, eliminating the need for external database servers. It solves the problem of adding local data storage to Java apps with a simple API, document-oriented collections, and support for transactions and indexing.
Java developers building desktop, mobile (including Android), or small web applications that require embedded, persistent data storage without external dependencies.
Developers choose Nitrite for its simplicity, zero-configuration setup, and rich feature set including transactions, full-text search, and schema migration—all in a single lightweight library. It offers a clean Java/Kotlin API and extensible storage backends, making it a versatile embedded database solution.
NoSQL embedded document store for Java
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Runs entirely within the application process, eliminating external database servers—ideal for desktop, mobile, or small web apps as per the README's emphasis on lightweight deployment.
Supports MVStore and RocksDB backends for flexible persistence, allowing developers to choose based on performance and storage needs, demonstrated in the module configuration examples.
Includes ACID transactions, full-text search, and schema migration, providing robust data management without external dependencies, as shown in the detailed code snippets for queries and migrations.
Offers a Kotlin extension (Potassium Nitrite) and works on Android API Level 26+, making it suitable for modern mobile development with seamless integration.
Version 4.x introduced breaking API changes, requiring careful migration and potential code rewrites, as warned in the README's deprecation notice and upgrade guide.
GUI tools like Nitrite DataGate and Explorer are deprecated, reducing out-of-the-box management options and forcing reliance on code-based administration.
Only compatible with Android API Level 26 and above, excluding older devices and potentially limiting adoption in legacy or resource-constrained environments.
As an embedded database, it may not handle extremely high transaction volumes or massive datasets as efficiently as server-based solutions, with no native clustering support.