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

Remote performance - 2.9 mil msg/sec #50

Closed
rogeralsing opened this issue Feb 13, 2017 · 9 comments
Closed

Remote performance - 2.9 mil msg/sec #50

rogeralsing opened this issue Feb 13, 2017 · 9 comments

Comments

@rogeralsing
Copy link
Contributor

As of yesterday, Remote performance in Proto.Actor .NET is now slightly better than the Go counterpart.

2.5+ million messages per sec in .NET
vs
2.4+ million messages per sec in Go

Which puts us on par with ZeroMQ.

This can be seen in contrast to the performance of Akka NET
akkadotnet/akka.net#2378 (comment)

We are now more than 50 times faster over the network, with version tolerant serialization and cross platform communication.

@mastorm
Copy link

mastorm commented Feb 13, 2017

Good work @rogeralsing & contributors!

@frankbolero
Copy link

frankbolero commented Feb 13, 2017

Very nice work indeed @rogeralsing + contributors! May I ask what the hardware specs are needed to achieve these numbers?

@cpx86
Copy link
Contributor

cpx86 commented Feb 13, 2017

@frankbolero These benchmarks are on a modern dev laptop with a Xeon E3-1505M@2.80GHz. I don't think RAM and disk should matter much.

Would be nice to do some real benchmarks on actual server hardware :)

@mastorm
Copy link

mastorm commented Feb 13, 2017

Is the benchmarking included in the sln? I have a Xeon E5-4607 based server(long live ebay) which i could use to benchmark.

@cpx86
Copy link
Contributor

cpx86 commented Feb 13, 2017

@mastorm Yes they are all in the "examples" folder.

@rogeralsing
Copy link
Contributor Author

rogeralsing commented Feb 13, 2017

@mastorm the different benchmarks we have are:

  • RemoteBenchmark - 2.5 mil msg/sec on my machine
  • InprocessBenchmark - 85 mil msg/sec on my machine
  • SpawnBenchmark - 0.9 sec on my machine

It should be noted that the numbers for remote are on loopback, which makes it somewhat nonsense.
The corresponding numbers for Akka NET and ZeroMQ have been measured under the same conditions on the same machine. which at least makes it comparing apples and apples.

@rogeralsing
Copy link
Contributor Author

The tests should be run with release mode and with server GC enabled (settings included in projects)

@cpx86
Copy link
Contributor

cpx86 commented Feb 18, 2017

@mastorm Have you had time to run any benchmarks on an actual server? Would be interesting to see how it performs :)

@rogeralsing
Copy link
Contributor Author

For anyone interested in this topic, the current numbers are 2.9 mil msg/sec for .NET

@rogeralsing rogeralsing changed the title Remote performance - 2.5 mil msg/sec Remote performance - 2.9 mil msg/sec Dec 8, 2017
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

4 participants