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

How can this libray be used on a local network with many machines #19

Closed
l16h7n1n6s opened this issue Feb 27, 2022 · 7 comments
Closed
Labels
good first issue Good for newcomers question Further information is requested

Comments

@l16h7n1n6s
Copy link

Can this library be used in local p2p network with many machines or its only working and tested on the same machine. if yes can you give an example?

@sepgh
Copy link
Member

sepgh commented Mar 22, 2022

I am sorry for the late reply

The networking layer of the library is abstract and should be implemented by the developer of the project that uses this library.
I think your question mostly goes there.

For testing purposes, there is no "networking layer" implemented. However, you can try having HTTP server and client on your nodes to send and receive requests, so it can both work in a local machine and in any network as well.

@sepgh sepgh added the question Further information is requested label Mar 22, 2022
@sepgh
Copy link
Member

sepgh commented May 20, 2022

Implementing Kademlia Netty with networking example.

@l16h7n1n6s
Copy link
Author

@sepgh The link you provide is not active can you please change it and give some directions how to implement the networking logic

@sepgh
Copy link
Member

sepgh commented May 21, 2022

True, I made it public.

I should mention again that it's just under implementation and needs some more time. I'm working on using netty as client/server and gson for serializing network requests.

@l16h7n1n6s
Copy link
Author

@sepgh perfect please when you ready update the readme.md file and include some examples of how to use it

@sepgh sepgh added the good first issue Good for newcomers label May 26, 2022
@sepgh
Copy link
Member

sepgh commented May 26, 2022

The work on kademlia-netty has improved enough so that I can announce it here.

You can take a look at the examples and check the code at this stage. Of course there is a lot more to develop and improve but I suppose it will give the basic understanding on how to use this API. Will be improving the documentation and examples with any new version.

I am closing this issue. Feel free to create new ones there or here depending on the subject.
You can watch the new repository for changes and releases.
Thanks a lot.

@sepgh sepgh closed this as completed May 26, 2022
@sepgh sepgh pinned this issue May 26, 2022
@sepgh
Copy link
Member

sepgh commented Dec 31, 2022

For anyone reading this, an example is added here:

https://github.com/ep2p/kademlia-netty-standalone-test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants