top | item 46849162

Traforo – Ngrok/Localtunnel Alternative as a Cloudflare Durable Object

2 points| xmorse | 28 days ago |github.com

2 comments

order

clawsyndicate|28 days ago

interesting approach. how does the cost scale for persistent tunnels? durable objects bill by active duration and memory, so this seems expensive compared to a standard ingress controller. curious if you hit any connection limits per object.

xmorse|25 days ago

I am using WebSocket hibernation so the connection will cost nothing if no events are being sent after some time, 9 seconds I think. I think cost is completely negligible. I run a similar service for the Framer MCP and it costs basically nothing even with thousands of users using it every week.

The big advantage of this architecture is that it that it's very lightweight and starts in less than 200ms. Much faster than the built in Cloudflare tunnel, and no login required