3 ms·
The most novel use of transit is in the Sente [1] library for clojure/script. It is an abstraction over long-polling / websockets that lets us treat it as a co
by escherize 11y ago
The most novel use of transit is in the Sente [1] library for clojure/script. It is an abstraction over long-polling / websockets that lets us treat it as a core.async channel (which is like a go-block in Go).
It's worked awesome for updates, and using Transit to keep the transmissions minimal has let us focus on the API for a realtime system.
[1] - https://github.com/ptaoussanis/sente#sente-channel-sockets-for-clojure https://github.com/ptaoussanis/sente#sente-channel-sockets-f...
- retrogradeorbit 11y agoIn a project I tried both chord and sente and settled on chord. Chord was much simpler. It was a point to point system. Sente seemed to have better support for point to multipoint (like a chat app). It was overkill for what we were doing and chord fit the bill nicely. https://github.com/jarohen/chord https://github.com/jarohen/chord