Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edge hosting #126

Open
coryhouse opened this issue Apr 23, 2022 · 0 comments
Open

Edge hosting #126

coryhouse opened this issue Apr 23, 2022 · 0 comments

Comments

@coryhouse
Copy link
Owner

coryhouse commented Apr 23, 2022

Cloudflare's initial announcement and overview (also explains why they chose to use the service worker API)

Fastly
Vercel
Cloudflare
Fly.io
Netlify

Not all use V8. So, no standardization of the environment across providers yet.

Why Cloudflare uses V8:

  1. It starts up 100x faster than Node. (stat from Vercel 12 announcement YouTube video describing their own Edge offering)
  2. Security: The V8 JavaScript engine is arguably the most scrutinized code sandbox in the history of computing, and the Chrome security team is one of the best in the world. Moreover, Google pays massive bug bounties to anyone who can find a vulnerability. (That said, we have added additional layers of our own sandboxing on top of V8.)
  3. Ubiquity: JavaScript is everywhere. Anyone building a web application already needs to know it: whereas their server could be written in a variety of languages, the client has to be JavaScript, because that's what browsers run.

Note: Netlify uses Deno along with V8.

Edge data

Fly.io Postgres Read Replicas
Cloudflare KV
Durable Objects
FaunaDB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant