https://github.com/raptodb/rapto
For engineers seeking a fast, memory-efficient database, Rapto provides transposition-heuristic storage, low memory footprint and high-performance querying.
https://github.com/raptodb/rapto
database in-memory in-memory-database key-value key-value-store low-memory-footprint memory-efficient no-sql rapto transposition-heuristic
Last synced: 3 months ago
JSON representation
For engineers seeking a fast, memory-efficient database, Rapto provides transposition-heuristic storage, low memory footprint and high-performance querying.
- Host: GitHub
- URL: https://github.com/raptodb/rapto
- Owner: raptodb
- License: bsd-3-clause
- Created: 2025-06-13T14:38:29.000Z (7 months ago)
- Default Branch: unstable
- Last Pushed: 2025-09-23T13:56:55.000Z (3 months ago)
- Last Synced: 2025-09-23T15:40:23.203Z (3 months ago)
- Topics: database, in-memory, in-memory-database, key-value, key-value-store, low-memory-footprint, memory-efficient, no-sql, rapto, transposition-heuristic
- Language: Zig
- Homepage:
- Size: 216 KB
- Stars: 22
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
## The Rapto database
Rapto is an in-memory key-value database with persistent storage. It is designed to ensure speed and simplicity in operations and is used in very specific contexts.
The supported data types are intentionally minimal for reasons of efficiency and purpose and include `integer`, `decimal` and `string`. They are subject to continuous optimization to maximize performance in query operations.
The contexts of use are limited and very specific, such as real-time monitoring, embedded systems, LRU cache. For a general overview, it is recommended to use a few frequently accessed keys.
## The pillars
**🎯 _Quality_**
Architecture and code quality ensuring readability and maintainability.
**🛡️ _Security_**
Built using trusted, safety-focused languages like Zig.
**👣 _Footprinting_**
Memory is used efficiently by tracking it at each operation.
**⚡ _Performance_**
Optimized for peak computational and memory efficiency.
**🦾 _Flexibility_**
Introduction of new features without cost and performance regression.
> ***The foundation of all these pillars is the reliability that Rapto is committed to ensuring in professional systems.***
## Benchmarks
Valid benchmarks are available through Rapto clients.
Internal tests focused on query resolution showed latencies in a few microseconds.
> [!IMPORTANT]
> However, these results are not publicly verified and should be considered indicative only.
Benchmarks should be based on max, min and avg statistics based on 2000 epochs of `SET` and `GET` which give a general overview of the performance.
#### Official Rapto clients
| Client | Server version | Benchmark tested | AVG stats |
| :------------------------------------------------ | :-------------------: | :--------------: | :--------------------: |
| [zig-rapto](https://github.com/raptodb/zig-rapto) | `v0.1.0` (unreleased) | ✅ | `SET`: 19µs, `GET`:12µs |
## Documentation
The only official documentation of Rapto resides in the [wiki](https://github.com/raptodb/rapto/wiki) of this repository.
## License
Copyright (c) raptodb
Copyright (c) Andrea Vaccaro (President)
The content of this repository is licensed under the [BSD-3-Clause](LICENSE.md) license.