-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client: Support once-encoded message with the replicated object
Sometimes it may be necessary to replicate an object across multiple nodes, i.e. using multiple client connections. Normal use of `ReplicateObject` method will result in unrelated message encodings that actually match when the object is fixed. An obvious improvement is message deduplication. This is achieved by wrapping the incoming binary object stream in a synchronous context. The request message is encoded once and then only read. Signed-off-by: Leonard Lyubich <[email protected]>
- Loading branch information
1 parent
280597f
commit f1cfcca
Showing
2 changed files
with
75 additions
and
0 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