Post a Comment On: /dev/dump

"Early performance numbers"

4 Comments -

1 – 4 of 4
Blogger Aram Hăvărneanu said...

Did you set GOMAXPROCS?

March 27, 2014 at 5:22 AM

Blogger Gonzus said...

Interesting results, Garrett. I think you should definitely add a way to use a preallocated buffer (maybe passed in as a parameter) to send / recv messages. This is what made the biggest difference in bringing the performance of the Java binding for ZeroMQ to a comparable level with the native library; I implemented that using ByteBuffers.

Great job with your implementation, BTW. I would suggest "go-nanomsg" or "go-nano" as a name for it.

Best regards.

March 27, 2014 at 7:42 AM

Comment deleted

This comment has been removed by the author.

March 27, 2014 at 8:08 AM

Blogger Garrett D'Amore said...

No I didn't try GOMAXPROCS.

I might play with it. For the most part, the *application* consists only of two threads -- the sender and the receiver. The underlying library makes much more use of goroutines though.

March 27, 2014 at 8:11 AM