Skip to content

Instantly share code, notes, and snippets.

@wKovacs64
Created March 4, 2024 06:57
Show Gist options
  • Save wKovacs64/2c8044f673a26545a89ff984496576d3 to your computer and use it in GitHub Desktop.
Save wKovacs64/2c8044f673a26545a89ff984496576d3 to your computer and use it in GitHub Desktop.
New Architecture

Options for New Architecture

Hosts/Platforms

Cloudflare

  • Cloudflare Pages (static assets + serverless functions)
  • Cloudflare CDN

AWS (SST)

  • AWS S3 (static assets)
  • AWS Lambda/Edge Functions (serverless functions)
  • CloudFront CDN
  • No streaming/defer yet? Needs more research.

Databases

  • Drizzle ORM (no deps, runs on V8, single query, none of Prisma's warts)
  • Cloudflare D1 (sqlite)
  • PlanetScale (mysql)
  • Neon (pg)
  • AWS Aurora (uses AWS Data API)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment