Matrix Synapse 学习

最近准备研究Matrix(英 /ˈmeɪtrɪks/)这个通信标准,首先搜集一波相关资料

一、官网地址:https://matrix.org/

二、官网FAQ重点总结:

1、matrix是一种开放的、分散式实时通信标准

2、matrix标准中,所有事件都发生在“room”这个逻辑位置中,每一个账号连接的后台服务器叫做“homeserve”

3、synapse是用python语言写的,matrix标准的一个实现。由matrix团队人员编写。是“homeserve”的一个实例。

4、riot是官方推荐的客户端,提供web、ios、android版本

5、为什么选用HTTP(长轮询)的方式来实现

HTTP may not be the most efficient transport, but it is ubiquitous, very well understood and has numerous implementations on almost every platform and language. It also has a simple upgrade path to HTTP/2, which is relatively bandwidth and round-trip efficient.

For these reasons it has been chosen as the mandatory baseline of the exchange, but it is still entirely possible to use other protocols for communication between clients and server (see for example this websocket transport spec proposal), and it's also possible in the future that negotiation of more efficient protocols will be added for the federation between servers, with HTTP+JSON remaining as the compatibility baseline.

牺牲了实时性,但是具备了广泛性和基础性。

你可能感兴趣的:(Matrix Synapse 学习)