Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The note that they get 2.5 million messages per second (and they mention 512byte messages). I don't doubt this is true but so what? All they are quoting (from my quick math) is the speed of a 10G network.

I can write a small program to stream 512byte messages from one machine to another on a 10G network and get 2.5 million messages across too. They're also assuming the network connection is setup and that the messages are fully formatted and ready to send. They also dont have any messaging acknowledgment or anything.

Please check my math: (I was lax with 1000 or 1024, but results are similar)

k = 1024

meg = 1024 x 1024 = 1048576

Gigbit network = 1048576 x 1000= 1048576000

10Gigibit network = 1048576000 x 10 = 10485760000

Convert from bits to bytes:

10485760000 / 8 = 1310720000 bytes per second

i.e., 1310720000 is the number of bytes that a 10G network can push per second. Note, thats raw - TCP overhead and such will eat some measurable portion.

how many 512 byte messages fit in that?

1310720000/512 = 2,560,000 (just like they said)

I'm wondering if they actually tested this or just did this math. Because again, this has nothing to do with their product, its just the throughput of a 10G network - and again, these numbers don't factor the 40byte TCP headers per packet.

So.. if we made a webserver out of their message infrastructure (even lets say, just a static webserver that only serves 512 byte pages ) - we can get 2.5million pages served per second?



You should have probably read more closely before writin this diatribe: they specifically note in several places that they do not use TCP and can also max out on 4x Infiniband as well as 10GigE. They use UDP as their transport for ZeroMQ messages.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: