Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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,441 Aufrufe • vor 3 Jahren •via X (Twitter)

10 Kommentare

Profilbild von Steve Ruiz
Steve Ruizvor 3 Jahren

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)

Profilbild von Steve Ruiz
Steve Ruizvor 3 Jahren

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

Profilbild von Steve Ruiz
Steve Ruizvor 3 Jahren

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

Profilbild von Abhimanyu
Abhimanyuvor 3 Jahren

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

Profilbild von Jeff Rafter
Jeff Raftervor 3 Jahren

@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?

Profilbild von Steve Ruiz
Steve Ruizvor 3 Jahren

@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)

Profilbild von Dragan Okanovic
Dragan Okanovicvor 3 Jahren

@tldraw What happened to Liveblocks?

Profilbild von Steve Ruiz
Steve Ruizvor 3 Jahren

@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.

Profilbild von Mr Jake Gordon
Mr Jake Gordonvor 3 Jahren

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

Profilbild von Steve Ruiz
Steve Ruizvor 3 Jahren

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

Ähnliche Videos

This is happening in real time
1:02

Sensitive content

This is happening in real time

𝕯𝖆 𝕭𝖗𝖆𝖙 🤎

130,300 Aufrufe • vor 1 Jahr