Re:The Future of the Web Is on the Edge
by ZephyrBlu on Thursday October 06, 2022 @06:59PM
(#33115252)
It looks like Cloudflare is moving towards that with functions in Pages, which allows you to call Workers within your Pages app.
https://blog.cloudflare.com/cloudflare-pages-goes-full-stack...
Re:The Future of the Web Is on the Edge
by Comevius on Thursday October 06, 2022 @07:19PM
(#33115451)
Exactly my point, and I'm working on a complicated web app on top of Pages Functions and Durable Objects. The idea is that you can provide dynamic functionality without or with less client-side JavaScript, which is what SSR is about, and at the same time you can also build things like an authentication server, which traditionally requires an actual server, but can be done with just Workers and Durable Objects.
Re:The Future of the Web Is on the Edge
by dinvlad on Thursday October 06, 2022 @09:03PM
(#33116184)
Too bad distributed DBs are very expensive atm. Their multi-region offerings are only good for companies who can spend thousands on a database each month.
I’m actually thinking that with GDPR and similar regional lock-in laws, the future might well be “distributed but independent” DBs, and then both the compliance and the performance problems are solved using more traditional architectures.
Re:The Future of the Web Is on the Edge
by fragile_frogs on Friday October 07, 2022 @07:37AM
(#33119909)
yugabyte looks quite interesting in that space. From what I can tell their OSS product allows for "Row-level geo-partitioning" https://docs.yugabyte.com/preview/explore/multi-region-deplo...
I haven't used it for anything yet, so I don't know how well it works.
Re:The Future of the Web Is on the Edge
by diroussel on Saturday October 08, 2022 @06:17AM
(#33131162)
Cloud flare made a blog post about this. I tried to find it but I couldn’t. The general idea was that in a post GDPR world as more and more countries put legal limits on the movement of data about their citizens, it gets harder and harder to serve these users with classic web tech. However, they say, that cloudflare workers and durable objects the user data is kept in region and thus you have a clean scalable architecture without legal worries about data jurisdiction.
I love the CF stuff. I've been using Workers for a couple of years, even right now in production for streaming audio and other duties. But Workers are not a generalist solution for building complete applications.