3 ms·
Hi all, if you login with Github on desktop, you'll see a multiplayer experience built with https://replicache.dev https://replicache.dev and webgl. I can't an
by aboodman 4y ago
Hi all, if you login with Github on desktop, you'll see a multiplayer experience built with https://replicache.dev https://replicache.dev and webgl.
I can't answer questions about the (absurdly epic) webgl stuff. That's https://twitter.com/0xca0a https://twitter.com/0xca0a.
But happy to answer questions about the multiplayer.
As an overview, this uses an upcoming version of Replicache that has been upgraded to support high rate collaborative experiences. The current client-side only version of Replicache can manage about 4-5 updates / second, depending on your server setup, or maybe 10 if you spend a lot of time tuning it.
In this upcoming version, we are offering our own server for Replicache, based on Cloudflare's durable object technology. We are getting about 40 updates per second now, but our goal is 60fps.
We have been really happy building on Cloudflare, and think durable objects in particular are a super unique and valuable tool. Not useful for every situation, but there's nothing else really like it on the market and when you need it you really need it.
- aboodman 4y agoAnd if you're curious, here's a video of the multiplayer "game" in action: https://twitter.com/aboodman/status/1565817772772564992 https://twitter.com/aboodman/status/1565817772772564992