Neo: why use akka.net for p2p?it is slow.

Created on 26 Feb 2019  路  11Comments  路  Source: neo-project/neo

akka.net remote translate speed is about 40M/s,it is not a very good number.
and akka.net 's actor ontell is in single thread,it is not very good for performance.

discussion enhancement p2p

Most helpful comment

image

I believe it will be fixed now, @lightszero.
Check https://github.com/akkadotnet/akka.net/issues/2378#event-3071191410

They just closed 2 days ago.

Time to update Akka.

All 11 comments

Sounds worth discussion.
But we should notice that after Akka the code turned into hundreds times faster, so, it came with several improvements (some might not be optimal).

In this sense, I agree with you Lights, it is always time to wonder.
Codes can always be refined and each time more paralelized. ahuahahauehahau

NEO use akka.net on lots of modules. i just try to find out is there akka.net is right for p2p or not.
I will do some test project to show some numbers.

any news @lightszero?

ping @lightszero

Hi @lightszero, can we close this and reopen once we have a proposed solution? It is because I don't see us dropping in the next months

We will test it, and we also can consider this library https://libp2p.io/

@Tommo-L, This library looks interesting, would this work embedded with the actors or it would replace P2P Akka actors?

Currently, @eryeer is testing akka.net and this library. The test report will be generated later.

@Tommo-L great idea to use a third-party consolidated library... I took a look at libp2p a while ago. Since it's sponsored by IPFS project, I wondered if that was a good strategical decision... but if it's good enough, let's use it! (that's my opinion)
Then, another issue I see now is that it doesn't have a C# and C++ implementation (wat???). So, we could take a look at its specification, to see if it's better than ours (more organized/general yet possible to personalize to our case). Let's weight pros and cons. If we build a C# libp2p and use it on Neo, it may be a good contribution to blockchain ecosystem in general (as long as spec of libp2p is good enough).

One thing bothers me a lot: how is it possible that we don't have a good p2p open-source library, in all this blockchain jungle? I've tried to find a good one already, but couldn't until now...

First we can test the difference between a tcp transfer of 100mb with and without akka?

image

I believe it will be fixed now, @lightszero.
Check https://github.com/akkadotnet/akka.net/issues/2378#event-3071191410

They just closed 2 days ago.

Time to update Akka.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

borovik96 picture borovik96  路  4Comments

csmuller picture csmuller  路  3Comments

erikzhang picture erikzhang  路  4Comments

Tommo-L picture Tommo-L  路  4Comments

vncoelho picture vncoelho  路  4Comments