Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

permit me me to flex: this is tldraw on two devices syncing in real time. This is NOT local dev! sync is happening via a websockets server hosted on Cloudflare workers

291,420 görüntüleme • 3 yıl önce •via X (Twitter)

10 Yorum

Steve Ruiz profil fotoğrafı
Steve Ruiz3 yıl önce

This kind of low latency sync is only possible due to the work of @djsheldrick, who built the sync engine, and @threepointone, who set up the workers. (see @partykit_io for Sunil’s continued work on that)

Steve Ruiz profil fotoğrafı
Steve Ruiz3 yıl önce

Here’s a shared project to try out / beat up on:

Steve Ruiz profil fotoğrafı
Steve Ruiz3 yıl önce

Fun fact! This is the most popular room we've ever had and we discovered a pretty big issue (with leftover user data) so this specific room will perform worse than all other rooms. 🫠 build in public yall

Abhimanyu profil fotoğrafı
Abhimanyu3 yıl önce

@tldraw @Cloudflare Did something similar while building scribble. Sent coordinates of mouse events over the network using websockets.

Jeff Rafter profil fotoğrafı
Jeff Rafter3 yıl önce

@tldraw @Cloudflare This is awesome! I'm curious if you considered something like yjs under the hood with the ability to jump to WebRTC for local peering when collaborators are in the same room / local network?

Steve Ruiz profil fotoğrafı
Steve Ruiz3 yıl önce

@tldraw @Cloudflare The library itself can in theory plug into any backend, however for the moment we're building around our own arch (which involves a server)

Dragan Okanovic profil fotoğrafı
Dragan Okanovic3 yıl önce

@tldraw What happened to Liveblocks?

Steve Ruiz profil fotoğrafı
Steve Ruiz3 yıl önce

@tldraw liveblocks was great! But I wanted something that was quicker and better integrated with tldraw’s client state, and which we could license out / sell to folks who wanted to self host it.

Mr Jake Gordon profil fotoğrafı
Mr Jake Gordon3 yıl önce

@tldraw @Cloudflare Flexing right back at you with This is also NOT local dev. Sync happening via my websocket server.

Steve Ruiz profil fotoğrafı
Steve Ruiz3 yıl önce

@tldraw @Cloudflare Looks good! Use my perfect-freehand if you’re not already, it’s MIT and will handle stylus pressure ✍️

Benzer Videolar

This is happening in real time
1:02

Sensitive content

This is happening in real time

𝕯𝖆 𝕭𝖗𝖆𝖙 🤎

130,249 görüntüleme • 1 yıl önce