so i’ve been running posthive + 2 other projects on railway hobby plan for a while now and was curious what it actually costs

here’s the breakdown:

posthive api (fastify + bullmq + sqlite) sitting at 136mb ram-> $0.59/month redis for the job queue, only using 12mb memory, 300mb volume for rdb snapshots -> $0.12/month two other projects -> $1.63/month

total so far this month: $2.58, estimated end of month: $3.32

the thing i like about railway billing is it’s based on memory + cpu time, not requests. so traffic spikes don’t really affect the cost. egress is free tier too.

kept redis lean by configuring bullmq to only keep the last 100 completed and 200 failed jobs so it doesn’t just accumulate forever

for the docker setup i’m building multi-arch images (amd64 + arm64) on ghcr with github actions layer caching, and a paths filter so doc-only commits don’t trigger a rebuild

source: github.com/AstaBlackClove/posthive

    • Guna@programming.devOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      17 hours ago

      onlinepersona

      Would be cool to add peertube, loops, and pixelfed as a destinations.

      opened a github issue to track all three. pixelfed is going in first since it uses the mastodon api so most of the work is already done. peertube after that. loops