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 well does it scale? #301

Open
lonnietc opened this issue Nov 13, 2021 · 4 comments
Open

How well does it scale? #301

lonnietc opened this issue Nov 13, 2021 · 4 comments

Comments

@lonnietc
Copy link

Hello,

I'm on the hunt for the best possible P2P library for Golang and have come across go-libp2p but it seems to have a number of issues with scaling and stability.

Can you please tell me how well Noise scales and if it is reasonably stable?
Thanks in advance

@ghost
Copy link

ghost commented Jan 24, 2022

It depends on what are you trying to make. P2P is usually not scalable
The more peers there are, the slower the speed.

@ghost
Copy link

ghost commented Jan 24, 2022

But noise is very stable

@lonnietc
Copy link
Author

Thanks for the info on this.

I am building a P2P system that will use a small database to set up cluster using a DHT to track KV (key-value) data for testing.

I am interested to see how high this can scale since if it does then I have some ideas for much larger scales that could be in the tens of thousands of peers but that is much further down the line. I could envision a P2P eCommerce system with potentially thousands of concurrent merchants and users at any one time on different platforms.

For the time being, I am just trying to get noise to work.

I was able to compile Noise on Windows (Go v1.18.3) and it seems to run the benchmarks very well, but could not figure out how to test the "Basic.exe" or "Chat.exe" with multiple instances on the same Windows machine. I just keep getting that each instance could not find any peers.

Any thoughts on this?

@lonnietc
Copy link
Author

lonnietc commented Sep 5, 2022

Any update on this:

I was able to compile Noise on Windows (Go v1.18.3) and it seems to run the benchmarks very well but could not figure out how to test the "Basic.exe" or "Chat.exe" with multiple instances on the same Windows machine. I just keep getting that each instance could not find any peers.

Mostly just want to test some of the examples (cmd/basic, cmd/chat, etc.) on the same physical machine.

How can this be done?

Thanks in advance

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

1 participant