Memory limits on connections
Open
enhancement
- Dominant language
- C++
- Stars
- 4.4k
- Forks
- 658
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 10
Description
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/kvrocks/issues) and found no similar issues.
### Motivation
The lack of memory constraints in current Kvrocks can lead to OOM, especially when deployed in container environments.
### Solution
We should provide mechanisms to limit memory and avoid OOM.
In the connection dimension:
- avoid large `WriteBatch`
- limit connection output buffer, support `client-output-buffer-limit` and `maxmemory-clients`
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.