JSConf JP

Motoki Shakagori (釋迦郡 元気)

Motoki Shakagori (釋迦郡 元気)

Engineering Manager at Spir Inc. He writes TypeScript every day and is passionate about types. GitHub: https://github.com/m-shaka X: https://x.com/schwmtl

Track A (7F party space)
14:20-14:50(30 min)

Cloudflare Workers in Production

  • English

Cloudflare Workers is a serverless platform that allows you to run JavaScript code on Cloudflare's edge servers. In Japan, it's not yet widely adopted for production use, especially for building ""standard"" SaaS applications. ""standard"" here means applications that have user authentication, database access, and so on. At Spir Inc., we've successfully launched a ""standard"" SaaS application using Cloudflare Workers! In this talk, I'll share my experience of using Cloudflare Workers in production. My main focus will be on matters around the runtime. The runtime of Cloudflare Workers is workerd, which is different from Node.js, Deno, or Bun. I'll provide a brief introduction to workerd and demonstrate how to write and test code that runs on this runtime. You’ll learn what workerd makes possible, as well as its limitations. Additionally, I will address common concerns, such as database access and interaction between services.