-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zmtp: implement XSUB/XPUB, PUB/SUB and REQ/REP (#73)
* zmtp: improve perfs of Connection.(read|send){,Multipart} This CL uses io.ReadFull to make sure all requested bytes are read from an io.Reader. It's also using binary.ByteOrder.Uint64 and binary.ByteOrder.PutUint64 directly instead of going the round about way through (slow) reflection. Fixes #67. Fixes #61. * zmtp: reduce number of allocs in Connection.SendCommand * zmtp: reduce number of allocs in Connection.writeMetadata * zmtp: removed reflection from de/serializing greetings * zmtp: remove slow reflection in Connection.recvMetadata * zmtp: implement REQ/REP Updates #65. * zmtp: implement PUB/SUB Updates zeromq/mq#66. * zmtp: implement XSUB/XPUB Updates zeromq/mq#66. * zmtp: cosmetics
- Loading branch information
Showing
2 changed files
with
97 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters