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

Gossip custom message data #7

Open
edwardcapriolo opened this issue Mar 14, 2015 · 7 comments
Open

Gossip custom message data #7

edwardcapriolo opened this issue Mar 14, 2015 · 7 comments

Comments

@edwardcapriolo
Copy link
Owner

We can add a field to the message format that can be used to gossip custom data. We can have an extra field that can be a hashmap. Users can serialize anything into the map.

@hvandenb
Copy link

hvandenb commented Dec 6, 2015

This is will be a good idea. Similar Akka is doing this.

@edwardcapriolo
Copy link
Owner Author

Yes thinking through this though I am not sure if the gossiper is the right place to exchange data. Where does the gossiper and the database/service using the gossiper begin?

@hvandenb
Copy link

hvandenb commented Dec 7, 2015

Agreed that gossip is not the right protocol to exchange data. This would put additional constraints on the protocol to deal with things like consistency etc. However, there might be a good to provide additional node meta data that a client wants to exchange.

Akka adds version to do some optimization for determining newer nodes. https://gist.github.com/jboner/7692270

@edwardcapriolo
Copy link
Owner Author

One of the reasons I found/put together this library was I was building my own no-sql https://github.com/edwardcapriolo/nibiru. So I was thinking the place to do things like this would be in there but I am not against implementing it here.

@hvandenb
Copy link

hvandenb commented Dec 7, 2015

Are you thinking about continuing this library, i.e. gossip?

@edwardcapriolo
Copy link
Owner Author

Yes. We can go on with the library. But I think a eventually consistent CRDT structure is something closer to a NoSQL database than a gossip library.

@hvandenb
Copy link

hvandenb commented Dec 7, 2015

for sure and that would not make sense to add to this library.

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