4 ms·
> It brings the power of edge computing to your own infrastructure. I like the idea of self-hosting, but it seems fairly strongly opposed to the concept of edg
by bob1029 10mo ago
> It brings the power of edge computing to your own infrastructure.
I like the idea of self-hosting, but it seems fairly strongly opposed to the concept of edge computing. The edge is only made possible by big ass vendors like Cloudflare. Your own infrastructure is very unlikely to have 300+ points of presence on the global web. You can replicate this with a heterogeneous fleet of smaller and more "ethical" vendors, but also with a lot more effort and downside risk.
- patmorgan23 10mo agoBut do you need 300 pops to benefit from the edge model? Or would 10 pops in your primary territory be enough.
- trevor-e 10mo agoI agree, latency is very important and 300 pops is great, but seems more for marketing and would see diminishing returns for the majority of applications.
- st3fan 10mo agomany apps are fine on a single server
- andrewaylett 10mo agoHonestly, for my own stuff I only need one PoP to be close to my users. And I've avoided using Cloudflare because they're too far away. More seriously, I think there's a distinction between "edge-style" and actual edge that's important here. Most of the services I've been involved in wouldn't benefit from any kind of edge placement: that's not the lowest hanging fruit for performance improvements. But that doesn't mean that the "workers" model wouldn't fit, and indeed I suspect that using a workers model would help folk architect their stuff in a form that is not only more performant, but also more amenable to edge placement.
- nrhrjrjrjtntbt 10mo agoFor most applications 1 location is probably good enough.I assume HN is single location and I am a lomg way from CA but have no speed issues. Cavaet for high scale sites and game servers. Maybe for image heavy sites too (but self hosting then adding a CDN seems like a low lock in and low cost option)
- locknitpicker 10mo ago> For most applications 1 location is probably good enough. If your usecase doesn't require redundancy or high-availability, why would you be using something like Cloudflare to start with?
- robertcope 10mo agoSecurity. I host personal sites on Linodes and other external servers. There are no inbound ports open to the world. Everything is accessed via Cloudflare Tunnels and locked down via their Zero Trust services. I find this useful and good, as I don't really want to have to develop my personal services to the point where I'd consider them hardened for public internet access.
- h33t-l4x0r 10mo agoNot even ssh? What happens if cloudflare goes down?
- c0balt 10mo agoNot oc, but services like Linode often offer "console" access via a virtualized tty for VPS systems. Having a local backup user is a viable backup path then. If you wire up pam enough you can even use MFA for local login.
- nwellinghoff 10mo agoYou could restrict the ssh port by ip as well.
- 10mo ago
- locknitpicker 10mo ago> But do you need 300 pops to benefit from the edge model? Or would 10 pops in your primary territory be enough. I don't think that the number of PoPs is the key factor. The key factor is being able to route requests based on a edge-friendly criteria (latency, geographical proximity, etc) and automatically deploy changes in a way that the system ensures consistency. This sort of projects do not and cannot address those concerns. Targeting the SDK and interface is a good hackathon exercise, but unless you want to put together a toy runtime to do some local testing, this sort of project completely misses the whole reason why this sort of technology is used.
- closingreunion 10mo agoIs some sort of decentralised network of hosts somehow working together to challenge the Cloudflare hegemony even plausible? Would it be too difficult to coordinate in a safe and reliable way?
- geysersam 10mo agoIf you have a central database, what benefits are you getting from edge compute? This is a serious question. As far as I understand edge computing is good for reducing latency. If you have to communicate with a non-edge database anyway, is there any advantage from being on the edge?
- martinald 10mo agoWell you can cache stuff and also use read replicas. But yes, you are correct. For 'write' it doesn't help as much to say the least. But for some (most?) sites they are 99.9% read...
- csomar 10mo agoDatabases in Cloudflare are not edge. That is, they are tied to a central location. Where workers help is async stateless tasks. There are a lot of these (authentication, email, notifications, etc.)
- h33t-l4x0r 10mo agoIt has edge replicas though. You're talking about d1, right?