Skip to content

Reduce volume sizes for IRC services to optimize costs #22

@perigrin

Description

@perigrin

Problem

Both IRC service volumes are significantly over-provisioned:

  • magnet-9rl (Solanum IRCd): Currently 3GB, needs ~256-512MB
  • magnet-atheme (IRC services): Currently 3GB, needs ~512MB-1GB

Current Usage Analysis

Solanum IRCd (magnet-9rl):

  • Config files: <1MB
  • Log files: ~10-50MB/month with rotation
  • Ban database: ~1-10MB
  • SSL certs: <1MB
  • Recommended: 512MB (generous with room for growth)

Atheme Services (magnet-atheme):

  • User/channel database: 50-100MB for small network
  • Memos and logs: ~50-100MB
  • Configuration: <1MB
  • Recommended: 1GB (allows for network growth)

Cost Impact

  • Current: 6GB total storage
  • Proposed: 1.5GB total storage
  • Savings: ~75% reduction in storage costs

Implementation Plan

  1. Create new smaller volumes
  2. Migrate data from existing volumes
  3. Update fly.toml configurations
  4. Remove old oversized volumes

Files to Update

Priority: Medium (cost optimization, no functional impact)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions