-
-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This simplifies the rpc implementation by removing the monitor/coordinate goroutine. Table state is now protected by a conn-level mutex. Many false abstractions removed, since most everything needs to be able to operate at the Conn level. Teardown is now guaranteed to happen regardless of abort or close. There's no change in exported API, save for a new ConnOption: ConnLog. ConnLog sets the connection's logging destination. The PingPong benchmark shows some small performance gains, but nothing substantial. Future work will be to reduce the number of allocations made.
- Loading branch information
Showing
20 changed files
with
1,328 additions
and
1,263 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
Oops, something went wrong.