-
Notifications
You must be signed in to change notification settings - Fork 94
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
New Transport: NKN ? #147
Comments
Thanks that is very interesting. First time I here of NKN. |
Any NKN node can run behind a router/firewall, no need for public IP or port forwarding. Babble could benefit from this kind of transport making possible to design a distributed app that manages to keep a consensus between far, distributed nodes. Best regards, |
Hi @brailateo , |
Yes, my tests were just fine, with <10ms round-trip packages between nodes, tested also with go, nodejs and JavaScript browser clients. On some rare occasions some nodes had connection problems because of some faulty DNS servers. If the problem persists, I think that you might get some support from NKN team on Discord, Yilun is a developer, a kind fellow ( skysniper ). |
It might be interesting to add the NKN network as a new transport type.
The P2P messaging in NKN is working just fine behind NAT, there is a nkn-sdk-go package: https://github.com/nknorg/nkn-sdk-go
I was experimenting with NKN messaging in Go and JavaScript (browser and node) and it's fast, secure, reliable (using MultiClient) and free. The messaging is totally free , just pub-sub need a small amount of payment only on the pub side.
Simple example:
I think that this new transport can solve the NAT traversal and supply a better connectivity!
Best regards,
Constantin Teodorescu
The text was updated successfully, but these errors were encountered: