Skip to content

Consider running the server on Cloudflare Workers #1

@robinplace

Description

@robinplace

Cloudflare's new serverless Workers platform may be a perfect platform for Melon's small server.

Highlights:

  • Room codes: their API supports a simple key-value store that supports key listing, prefixes, and expiration:
    https://developers.cloudflare.com/workers/runtime-apis/kv
  • Payments: if we add accounts/payments at some point Cloudflare can run request-response work with a payment processor.
  • Analytics: again, the KV store can keep logs and usage information no problem.

Still needs investigation:

  • Cost: what's an estimated monthly cost once we pass the free tier?
  • Migration: Vendor lock-in is a concern. What would it take to migrate data out to AWS Lambda or another serverless platform if needed?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions