3 ms·
Please, stop using HTTP and JSON as a transport. I can't take any project seriously that thinks this is a good combination. Everything at Uber was HTTP and JSO
by junon 6y ago
Please, stop using HTTP and JSON as a transport. I can't take any project seriously that thinks this is a good combination.
Everything at Uber was HTTP and JSON and all it did was slow things down and cause more bug surface area.
- gsich 6y ago"but crappy networks" is the common excuse. Not entirely valid though, games work just fine.
- p_l 6y agoUsed to deal with a network that banned UDP traffic purely to offer higher paid tier for "gaming"
- barbs 6y agoWhy?
- Arathorn 6y agoWe use HTTP+JSON as the baseline default transport because it’s so ubiquitous and well understood. Anyone who’s ever touched a browser or curl knows how to use it. However, Matrix isn’t tied to any single transport - you are encouraged to use more efficient or exotic ones, eg https://matrix.org/blog/2019/03/12/breaking-the-100-bps-barrier-with-matrix-meshsim-coap-proxy/ https://matrix.org/blog/2019/03/12/breaking-the-100-bps-barr...
- jeltz 6y agoIs there anyone currently working on alternate transports?
- Arathorn 6y agoyeah, the whole P2P Matrix project is using different transports. One is CBOR+CoAP+Yggdrasil, another is JSON+QUIC+Yggdrasil. The plan is to pull these back into mainstream matrix when proven, especially as a push replacement.