influxdata / influxdata/influxdb

optimal cache settings for a SD-Card

Open
#23,040 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

Hallo,

many people use influx on SBC (RapberryPis or similar).
Those are equipped with SD-Cards, which means permanent writes really kill em over time...
Is there any optimal way to buffer the data in Memory?
In my example I write every second data, but only like ~1KB per second.
I thought about changing the INFLUXDB_DATA_WAL_FSYNC_DELAY env var...
Any other suggestions?

BR;
ALex

Contributor guide

Open the contributing guide

Research direction

Start by tracing the INFLUXDB_DATA_WAL_FSYNC_DELAY setting through the configuration and documentation, then check how write buffering is described for SD-card-backed deployments. Done means the issue has a documented, actionable recommendation with its durability trade-offs, or a clearly scoped change request.

Written by the indexing model from the issue text.

Assessment

Domain
databases, performance
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.