Loki Server Presets
Minimal 10-25 GB/Day Edge Loki Preset (2-4 GB RAM Node)
Lean single-binary Loki 3.x configuration without external Memcached for small internal clusters and staging labs.
1.6 GB RSS · In-Memory Cache · 30-90d Retention · $12/mo
When Embedded Cache Beats Memcached
Below 25 GB/day and 1,000 streams, Loki built-in FIFO chunk and results caches perform cleanly inside 512 MB without running a separate Memcached daemon.
Clean Upgrade Path
Once query concurrency exceeds 6 Grafana dashboards or 50 GB/day, attach an external Memcached container with 4-6 GB allocated.
Measured Thresholds & Loki TSDB Parameters
| Directive | Setting | Effect |
|---|---|---|
| Embedded Cache | max_size_mb: 512 (no Memcached) | Saves 1.2 GB container overhead |
| Chunk Flush | chunk_idle_period: 15m / block: 256KB | Smaller head buffers in RAM |
| Compactor | compaction_interval: 30m | Lower background CPU/I/O footprint |