top | item 32114605

(no title)

elgertam | 3 years ago

I've been playing around with Synit & Syndicate a bit already, and it's an impressive system. I've told Tony that Syndicate is the "missing session layer" for the Internet, since Syndicate enables multicast & broadcast communication between parties, not just unicast.

If anyone wants to really understand what's going on, I'd recommend looking at preserves[0], a serialization format Tony and some others have been working on. Preserves is a superset of JSON with actual semantics, a schema language and a binary representation. Syndicate, syndicate-server and synit all follow protocols defined in preserves schema, and so those are a good hook into learning how this system works.

Synit itself is impressive. With nearly trivial effort, I was able to get a web server running as a daemon, and verified that it was resilient to my repeated `killall`s.[1] I simply replaced the `"echo httpd"` with `"python -m http.server"` and then started `syndicate-server -c ./boot` inside the `experiments/layered-server-config/` directory. This example is actually overkill for my use case (a replacement for supervisord), but is simple enough that it can show how Synit works without much clutter.

Congratulations, Tony!

[0] https://preserves.dev/

[1] https://git.syndicate-lang.org/synit/synit/src/branch/main/e...

discuss

order

tonyg|3 years ago

Thanks, Andrew :-)