apple / apple/foundationdb

Protect storage servers from running out of memory

Open
#2,795 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

A sufficiently large read rate to storage servers could cause read queues to grow and exhaust a storage servers memory. We should implement protections from this.

This is a similar issue to #2792, which describes an analogous need for the proxy.

Contributor guide

Open the contributing guide

Research direction

Start by reading this issue alongside the analogous proxy request in #2792. Trace how storage-server read queues grow under a high read rate and identify the existing memory-management and protection paths. Done should mean sustained large read rates cannot exhaust storage-server memory, with tests demonstrating the protection.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.