News for hackers. Stuff that matters.
Re:Braid: Synchronization for HTTP by toomim on Sunday May 26, 2024 @08:16AM (#40481586)
You could sync two servers. Or you could sync a server with clients.

Braid is transitioning HTTP into a peer-to-peer world, where the distinction between clients and servers doesn't matter.

Re:Braid: Synchronization for HTTP by victorbjorklund on Sunday May 26, 2024 @10:54AM (#40482629)
Could you call it websockets without websockets?
Re:Braid: Synchronization for HTTP by toomim on Sunday May 26, 2024 @11:15AM (#40482783)
In some sense, you could!

The reason is that almost every use WebSockets is actually for Synchronizing State. What you really want to do is to synchronize state. Braid is a protocol for doing just that. So you don't need to turn to WebSockets anymore!

Re:Braid: Synchronization for HTTP by victorbjorklund on Sunday May 26, 2024 @05:20PM (#40485485)
I wonder if Braid could be a transport layer for Phoenix Liveview. It uses Websockets but falls back to long-polling if websockets isnt available.
Re:Braid: Synchronization for HTTP by toomim on Monday May 27, 2024 @03:49PM (#40494001)
Yes! Phoenix Liveview is very similar to the Statebus project (https://stateb.us) that inspired Braid. Braid was the protocol that Statebus needed, and Phoneix Liveview is one of the most exciting projects in the Statebus space that I know!

I think we are working from a common inspiration!