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

wasting 3 second in handshake #2

Open
alexshavelev opened this issue Jul 25, 2016 · 1 comment
Open

wasting 3 second in handshake #2

alexshavelev opened this issue Jul 25, 2016 · 1 comment

Comments

@alexshavelev
Copy link

alexshavelev commented Jul 25, 2016

Hi.
Sorry, if i made mistake or misunderstood something. But i spend all day reading about Paxos and then playing with this library. I noticed that it works really slow, and started discover source code.
So i've noticed that in 'paxos_fsm' module after calling init/1 function it just marks process as system and returns new gen_fsm state, without sending 'process' signal to another node. So we waste 3 seconds waiting for something will never happened. Then after timeout is calling function which will send 'prepare' message to another node.
Please correct me, if i've made a mistake, but for now it seems like old bug

@tenwz
Copy link

tenwz commented Dec 7, 2021

I think it does work like this

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