electric-sql / electric-sql/electric

Track disk usage and handle when getting close to full

Open
#1,529 0 comments 1 reaction 0 assignees View on GitHub
feature
Dominant language
TypeScript
Stars
10.4k
Forks
375
Avg merge
3d 1h
Merged PRs (30d)
18

Description

Electric uses a lot of disk space to store Shape logs. This could lead to running out of disk space. We'll need ways to handle this e.g. setting a cap on total disk space and GCing LRU Shapes when close to the cap.

A default could be some percentage of the total disk space available at start similar to how chrome works.

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.