4 ms·
Yes, I didn't get the Fly.io association either, but CFW looks about right.
by k__ 5y ago
Yes, I didn't get the Fly.io association either, but CFW looks about right.
- tptacek 5y agoI mean, I guess all 3 are ways to run code closer to users. We really like Deno here! I'm maybe less bullish on the prospect of coding to a particular CDN's Javascript API (which is not a problem Deno has).
- k__ 5y agoDeno and CFW both try to be close to web standards.
- eins1234 5y agoDeno Deploy so far feels a lot closer though. For instance, CFW forces you to bundle your code into 1 js file, whereas with Deno Deploy you can just point to an arbitrary .js hosted anywhere on the internet, and any transitive dependencies will be fetched and cached for subsequent runs. It doesn't support dynamic imports yet, but fingers crossed that's on the roadmap. UPDATE: apparently CFW has been updated to support deploying as unbundled files since I last checked.
- lights0123 5y agoCFW now supports modules, and allows you to upload them unbundled and import/export between them.
- eins1234 5y agoVery nice! Glad to hear they've addressed this limitation. Updated the original post.
- ignoramous 5y ago> I'm maybe less bullish on the prospect of coding to a particular CDN's Javascript API (which is not a problem Deno has). Workers, Sites, Workers KV, and now Durable Objects... it is much more than a JS API. I recently experimented with Durable Objects and they do make developing against a kv-database much simpler, even if it is limited while in beta. Our development is all-in Cloudflare atm, but we also look fondly at fly.io to move other workloads (over from AWS) that Cloudflare won't / can't support.
- tptacek 5y agoSorry, I didn't mean to sound dismissive! The thing I'm not bullish about is people programming directly to a set of CDN APIs. What I like about Deno is that it runs anywhere. There's clearly an upside to programming directly to your CDN! It lets you integrate more ambitiously!
- babelfish 5y agoWhat kind of workloads have you moved over to CF that you have found were a good fit for the Workers model?
- ignoramous 5y agoWeb server, rate limiter, fronting actual servers (api gateway / reverse proxy), user auth / user data (db), and file hosting (downloads).
- kall 5y agoInterestingly, fly.io did do something very similar with javascript in the beginning, before they pivoted to their current container based model.
- k__ 5y agoAh, okay. Then I learned about them after this pivot, I guess.