apache / apache/incubator-seata

Support RocksDB storage engine in File mode

Open
#8,114 1 comment 0 reactions 1 assignee Claimed by @LegendPei View on GitHub
task: help-wanted type: feature
Dominant language
Java
Stars
26k
Forks
8.8k
Avg merge
1d 8h
Merged PRs (30d)
4

Description

### Check Ahead

- [x] I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate.

- [ ] I am willing to try to implement this feature myself.

### Why you need it?

In the current File mode, transaction records are written to disk in an append-only manner. Upon restart, the system must scan and reload all persisted records to rebuild its state, resulting in lengthy recovery times and high disk I/O consumption.

Furthermore, since all data is stored in memory, the system's capacity is constrained by the amount of available RAM.

Integrating RocksDB allows us to separate hot and cold data more effectively. Frequently accessed data can remain memory-resident, while colder data is persisted on disk. This not only reduces recovery time and memory pressure, but also enables much better scalability without sacrificing throughput.

### How it could be?

_No response_

### Other related information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.