Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory limits on connections #2284

Open
1 of 2 tasks
caipengbo opened this issue Apr 30, 2024 · 0 comments
Open
1 of 2 tasks

Memory limits on connections #2284

caipengbo opened this issue Apr 30, 2024 · 0 comments
Labels
enhancement type enhancement

Comments

@caipengbo
Copy link
Contributor

Search before asking

  • I had searched in the 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!
@caipengbo caipengbo added the enhancement type enhancement label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement type enhancement
Projects
None yet
Development

No branches or pull requests

1 participant