Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

底层raft采用的是http协议进行交互的吗? #7

Open
spjich opened this issue Jan 29, 2019 · 2 comments
Open

底层raft采用的是http协议进行交互的吗? #7

spjich opened this issue Jan 29, 2019 · 2 comments

Comments

@spjich
Copy link

spjich commented Jan 29, 2019

底层raft采用的是http协议进行交互的吗?

@flike
Copy link
Owner

flike commented Jan 29, 2019

是的。

@spjich
Copy link
Author

spjich commented Jan 30, 2019

是的。

一个binlog里面event的数量还是很多的,每个event都用用raft进行传播,这块会成为瓶颈吗,主要疑问是以下两个方面

  1. raft的log提交采用类似于二阶段提交的方式,需要至少1/2以上节点commit后才算一个event提交成功
  2. 采用http的通信方式,虽然可以有keep alive但是每次必须交互header

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants