Durable Objects provide a building block for stateful applications and distributed systems.| Cloudflare Docs
The WebSocket API makes it possible to open a two-way interactive communication session between the user's browser and a server. With this API, you can send messages to a server and receive responses without having to poll the server for a reply.| MDN Web Docs