本文へスキップ
記事中級

リアルタイムチャットアプリをデプロイする

各チャットルームを Durable Object で管理するサーバーレスのリアルタイムチャットをデプロイします。WebSocket で接続し、履歴は永続ストレージに保存されます。

最終更新
2026年1月29日
元の記事を読む

この紹介文は現在英語版のみです。

Each chat room is controlled by a Durable Object. Users connect to it with WebSockets, messages are broadcast to everyone in the room, and the history lives in durable storage — a classic example of what Durable Objects are for.

What you’ll learn

  • Clone the chat application
  • Authenticate Wrangler and deploy
  • See how a Durable Object coordinates a room
  • Remove the application when you’re done

Cloudflare products used

Durable Objects, Workers.

Follow the full, step-by-step tutorial in Cloudflare’s documentation.

さらに学ぶ