Post

with tap bandwidth do you mean ingress or egress? the full firehose does add up to a lot of ingress every month, but that is no-cost with many hosting providers. in theory you could split out just the tap part to one of those, and keep the rest of your setup where it is

That’s kinda where I ended up. I’m currently running tap on railway and sending webhooks to Cloudflare to handle data processing, but since it’s getting so many records it’s pushing egress costs up.

0 reposts0 likes

Have you looked at Durable Objects on Cloudflare for listening? It shouldn't cost too much to listen to the Jetstream from there. Ingress and egress are free. You just pay for the DO minutes, which would be within the free tier.

For a while I moved the tap instance to my home server which did work, but eventually the ingress was so high my home internet was getting throttled (kids and wife were not happy lol).

I’m likely going to look at quickslice since it can use jetstream instead, so might be going back to a local setup if it’s not too intense. I think even then I might have to filter out bridgy records because there’s just so many.

I did some deeper digging around my billing for Railway which has been the primary cost, and its kinda split between egress and CPU. Currently switching to a durable object on cloudflare that listens to jetstream which should help a bunch.

Yeah that's a good way forward for something like this. Data integrity wise the downside of jetstream is it doesn't handle sync events (the new ones in sync 1.1). I'm not sure how common these are in practice but if you absolutely must consume every commit you need to handle these in the listener