simerplaha/SwayDB
소개
단일 머신에서 확장 가능한 JVM용 영구 및 인메모리 키-값 저장소 엔진
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Original
SwayDB

Persistent and in-memory key-value storage engine for the JVM aimed at high performance & resource efficiency.
Small footprint: around 7.1 MB jar size. No external core dependency (#307).
Scalable on a single machine: Distribute data on multiple local SSDs. Allocate single or multiple Threads
for reads, caching & compaction.
Branches: This is the master branch. See develop for
latest (unstable).
Status: Under testing & performance optimisations. See project status.
Sponsors
Thank you JetBrains & JProfiler for full-featured open-source licences to their awesome development tools!
![]() |
![]() |
[Become a sponsor] |
Overview
- Simple data types -
Map,Set,Queue,SetMap&MultiMapwith native Java and Scala collections support. - Conditional updates using any pure JVM function - No query language.
- Atomic updates and inserts with
TransactionAPI. - Non-blocking core with configurable APIs for blocking, non-blocking and/or reactive use-cases.
- Single or multiple disks persistent, in-memory or eventually persistent.
- Streams - Async & sync forward and reverse data streaming/iteration.
- TTL - non-blocking, non-polling asynchronous auto expiring key-values.
- Range operations to update, remove & expire a range of key-values.
- Key only iterations (Lazily fetched values).
- Configurable compression with LZ4 & Snappy
- Configurable core internals to support custom workloads.
- Duplicate values elimination with compressDuplicateValues.
Use cases
Highly configurable to suit different workloads. Some known use-cases are:
- General key-value storage
- Message queues
- Time-series or Events data
- Caching
- Application logs
- Archiving data or cold storage with high file level compression
Quick start
Contributing
Contributions are encouraged and welcomed. We are here to help and answer any questions.
Code of conduct - Be nice, welcoming, friendly & supportive of each other. Follow the Apache foundation's COC.
Contributing to data management API
Contributing to core API
- See issues labelled good first issue .
Contributing to core internals
- See code marked
TODO. - Pick any small section to improve. You will find that everything is a function and can be unit-tested independently, so you can easily pick anything to work on.
- See code marked
Project status
Under testing & performance optimisations.
Your feedback and support is very important to get to production. Please get involved via chat, discussion, issues or by becoming a sponsor.
Future releases might not be backward compatible until we are production ready.
See tasks labelled Production release that are required before becoming production ready.
Related GitHub projects
- SwayDB.java.examples - Java examples demonstrating features and APIs.
- SwayDB.kotlin.examples - Kotlin examples demonstrating features and APIs.
- SwayDB.scala.examples - Scala examples demonstrating features and APIs.
- SwayDB.benchmark - Performance benchmarks.
관련 프로젝트 살펴보기
불러오는 중…

