paxosstore icon indicating copy to clipboard operation
paxosstore copied to clipboard

PaxosStore has been deployed in WeChat production for more than two years, providing storage services for the core businesses of WeChat backend. Now PaxosStore is running on thousands of machines, and...

Results 12 paxosstore issues
Sort by recently updated
recently updated
newest added

您好,感觉paxosstore很强大啊,可是不知道是不是我漏看了什么,没有找到暴露给客户端直接能用的put,get接口,请问paxoskv有快速上手的教程么 还有一个问题哈,有paxoskv + rpc的服务接口么

phxpaxos 还比较容易看懂 这个 paxoskv , 没有对应的 acceptor, proposal 文件和代码, 更难看懂了。

在ConnWorker.cpp文件, clsConnWorker::HandleNego函数, 会检查是否为当前paxos内部的IP, 并会在361行会重置ServerId的信息。 如果像 README 例子中一样直接使用本地来启动三个card_srv会引发各种问题。 测试时,可以将ConnWorker.cpp 361行 注释掉。 `// poNegoCtx->SetServerID(i);` 线上系统注释掉的问题也不大。作为paxos应该信任内部结点的信息, 不存在拜占庭将军问题,如果不信任应该用其他加密方式来初始化链接,而不是暴力重置server_id。

``` 简单的说, 读接口即读当前的plog, 并判定是否是最新数据(分布式角度). 更具体的说: - 读接口LocalChosenIndex + 1 == OtherMaxIndex 当且仅当OtherMaxIndex均 为Pending时, 本地chosen数据最新 ``` 这里我有一个疑问, OtherMaxIndex均能确定处于Pending时,是否是即使处于这么一个中间状态:paxos acceptors已经形成多数派但是设置的proposer并没有到达chosen,就当作这种状态还没有真的chosen. 另外源码中, ``` int can_read_3svr(..) { ... if (is_peer_chosen(peer_status)) { return PAXOS_GET_LOCAL_OUT; }...

![image](https://user-images.githubusercontent.com/2511498/33746227-d9b83d38-dbf6-11e7-8fa6-c1849327ac29.png)

我想问问两个项目的区别,根据文档,这里两个项目都声称在wechat里用过,请问有没有性能比较呢?所以wechat里面是两个系统同时在用吗?

Hi, Great work on the project! I wanted to check if you have any link to the documentation available? Thanks, Mark

enhancement