Skip to content

v0.3.4

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Jun 09:59
· 54 commits to main since this release
9f73661

What's New

SQLite performance overhaul

Reduced I/O amplification and fixed query contention under write load. Servers with chatty containers were experiencing excessive block I/O in docker stats and intermittent TUI connection timeouts.

Read/write connection split
Queries no longer queue behind log inserts. The single SQLite connection is split into a dedicated write connection and a 4-connection read pool, reducing query latency under load from 12.9x to 1.2x baseline.

I/O reduction
Dropped two rarely-needed indexes on the logs table (5 → 3), increased log batch size (100 → 500), and tuned WAL/cache PRAGMAs. Per-entry I/O drops from 2,246 to 1,057 bytes — a 53% reduction. At 4 containers × 500 lines/sec, daily I/O goes from 363 GB to 170 GB.

PRAGMA tuning
cache_size 2MB → 8MB,
auto_vacuum incremental → off,
wal_autocheckpoint 1000 → 10000,
cache_spill disabled,
busy_timeout 5000ms,
mmap_size 256MB for reads.

All changes are backwards compatible — same logs stored, same queries work, same TUI behavior. Existing databases require no migration.

Dependency Updates

  • modernc.org/sqlite 1.48.0 → 1.52.0
  • Go image bumps in /deploy
  • Alpine 3.21 → 3.24 in /deploy
  • goreleaser/goreleaser-action 6.4.0 → 7.2.2
  • codecov/codecov-action 6.0.0 → 7.0.0
  • actions/checkout 6.0.2 → 6.0.3
  • docker/setup-qemu-action 4.0.0 → 4.1.0
  • docker/setup-buildx-action 4.0.0 → 4.1.0
  • docker/login-action 3.7.0 → 4.2.0

Changelog

  • 9f73661 Merge pull request #110 from thobiasn/fix/performance-and-crash
  • 9c31d9b Reduce SQLite I/O amplification and fix query contention under write load
  • 02bccab Merge pull request #107 from thobiasn/dependabot/docker/deploy/golang-f1ddd9f
  • 92a1d54 Merge pull request #108 from thobiasn/dependabot/docker/deploy/alpine-3.24
  • 7bdc9a4 Merge pull request #109 from thobiasn/dependabot/go_modules/all-d902ad55bd
  • 96b4820 Bump modernc.org/sqlite from 1.51.0 to 1.52.0 in the all group
  • f2d29f0 Bump alpine from 3.23 to 3.24 in /deploy
  • 16ebc46 Bump golang from f23e8b2 to f1ddd9f in /deploy
  • 7f368df Merge pull request #102 from thobiasn/dependabot/docker/deploy/golang-f23e8b2
  • 66c823b Merge pull request #103 from thobiasn/dependabot/go_modules/all-820560494d
  • ee35d3a Merge pull request #104 from thobiasn/dependabot/github_actions/docker/setup-qemu-action-4.1.0
  • 1fd1fb3 Merge pull request #105 from thobiasn/dependabot/github_actions/actions/checkout-6.0.3
  • 3a6dc95 Merge pull request #106 from thobiasn/dependabot/github_actions/codecov/codecov-action-7.0.0
  • 50f765c Bump codecov/codecov-action from 6.0.1 to 7.0.0
  • 6372a1b Bump actions/checkout from 6.0.2 to 6.0.3
  • 1ce3745 Bump docker/setup-qemu-action from 4.0.0 to 4.1.0
  • cfff57d Bump modernc.org/sqlite from 1.50.0 to 1.51.0 in the all group
  • 431796d Bump golang from 91eda97 to f23e8b2 in /deploy
  • 3fc046f Merge pull request #96 from thobiasn/dependabot/go_modules/all-979f697e72
  • f105410 Merge pull request #97 from thobiasn/dependabot/docker/deploy/golang-91eda97
  • c3ff8ff Merge pull request #98 from thobiasn/dependabot/github_actions/codecov/codecov-action-6.0.1
  • 7fc866b Merge pull request #99 from thobiasn/dependabot/github_actions/goreleaser/goreleaser-action-7.2.2
  • 4dd45bd Merge pull request #100 from thobiasn/dependabot/github_actions/docker/setup-buildx-action-4.1.0
  • 60f6ee8 Merge pull request #101 from thobiasn/dependabot/github_actions/docker/login-action-4.2.0
  • 27ad701 Bump docker/login-action from 4.1.0 to 4.2.0
  • caca15f Bump docker/setup-buildx-action from 4.0.0 to 4.1.0
  • 9abc1fe Bump goreleaser/goreleaser-action from 7.2.1 to 7.2.2
  • 88a1295 Bump codecov/codecov-action from 6.0.0 to 6.0.1
  • 844f42f Bump golang from f853308 to 91eda97 in /deploy
  • 2d80180 Bump modernc.org/sqlite from 1.49.1 to 1.50.0 in the all group
  • 0728760 Merge pull request #91 from thobiasn/dependabot/docker/deploy/golang-f853308
  • 91868ce Merge pull request #93 from thobiasn/dependabot/docker/deploy/alpine-5b10f43
  • 151e6d7 Merge pull request #94 from thobiasn/dependabot/go_modules/all-3b2d7b40bc
  • be69984 Merge pull request #95 from thobiasn/dependabot/github_actions/goreleaser/goreleaser-action-7.2.1
  • e938ef6 Bump goreleaser/goreleaser-action from 7.0.0 to 7.2.1
  • b90d205 Bump modernc.org/sqlite from 1.48.2 to 1.49.1 in the all group
  • 0892c60 Bump alpine from 2510918 to 5b10f43 in /deploy
  • 75ba39e Bump golang from c2a1f7b to f853308 in /deploy
  • 584a5f2 Merge pull request #90 from thobiasn/dependabot/go_modules/all-5ee118762d
  • a5e49f2 Merge pull request #89 from thobiasn/dependabot/docker/deploy/golang-c2a1f7b
  • bcbe138 Bump the all group with 2 updates
  • 072dcb4 Bump golang from 2389ebf to c2a1f7b in /deploy
  • cb8e8b6 Merge pull request #86 from thobiasn/dependabot/github_actions/docker/login-action-4.1.0
  • e2b48dd Merge pull request #87 from thobiasn/dependabot/go_modules/all-5c2567775d
  • 760df33 Merge pull request #88 from thobiasn/dependabot/go_modules/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp-1.43.0
  • 0abea56 Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
  • 974d612 Bump modernc.org/sqlite from 1.48.0 to 1.48.1 in the all group
  • 9513509 Bump docker/login-action from 4.0.0 to 4.1.0
  • 3faf49c Merge pull request #85 from thobiasn/dependabot/github_actions/docker/login-action-4.0.0
  • e9e683b Merge pull request #84 from thobiasn/dependabot/github_actions/goreleaser/goreleaser-action-7.0.0
  • 45d8efd Bump docker/login-action from 3.7.0 to 4.0.0
  • da80443 Bump goreleaser/goreleaser-action from 6.4.0 to 7.0.0