jaksa76 / paxos

A Java implementation of Lamport's Paxos algorithm.
Apache License 2.0
88 stars 30 forks source link

view accept message fragmentation #11

Closed jaksa76 closed 9 years ago

jaksa76 commented 9 years ago

when a member replies to a NEW_VIEW message, they send the VIEW_ACCEPT message. This message includes all the messages accepted so far, so it can easily grow past the 64kb UDP limit. We don't really need to send all the accepted messages since the beginning of time. Maybe we don't need to send the message contents either. However this doesn't guarantee that we won't hit the 64kb limit. The only safe option is to fragment this message. We might be able to do this by implementing a fragmenting messenger.