Dev.to
7/18/2026

Building a real-time browser MMORPG with Three.js, Rust/Wasm, and Durable Objects
Short summary
Realm of Echoes is a browser-based 3D MMORPG built with a Three.js client, a Rust/Wasm gameplay worker, and Cloudflare Durable Objects for authoritative shared-world state. The architecture separates client-side presentation and input from server-authoritative outcomes, using an intent-versus-outcome boundary to balance responsiveness with cheat resistance. Key engineering challenges include reconciliation legibility, guest-to-account identity transitions, stable frame pacing on integrated graphics, and debugging content bugs across persistent multiplayer systems.
- •Three.js client handles presentation while Rust/Wasm worker in Cloudflare Durable Objects owns authoritative game state
- •Intent-vs-outcome boundary lets client react immediately while server validates combat and progression
- •Guest play, reconciliation legibility, and integrated-graphics performance are the hardest architectural constraints
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



