Add UnixDomainSocket feature to interprocess PubSub#61
Merged
neuecc merged 17 commits intoCysharp:masterfrom Jan 13, 2022
Merged
Add UnixDomainSocket feature to interprocess PubSub#61neuecc merged 17 commits intoCysharp:masterfrom
neuecc merged 17 commits intoCysharp:masterfrom
Conversation
…omain flag MessagePipe.Unity/Assets/Plugins/MessagePipe/Runtime/SubscriberExtensions.FirstAsync.cs: why `GetResult` and `UnsafeGetStatus` appears twice?
Contributor
Author
|
duplicated method problem is fixed by #64 |
Contributor
Author
|
add following methods and classes to public.
|
Contributor
Author
|
I made benchmark between TCP/IP and TCP/UDS for PubSub and IRemoteRequestHandler, BenchmarkDotNet=v0.13.0, OS=Windows 10.0.19043.1081 (21H1/May2021Update)
Intel Core i7-4712MQ CPU 2.30GHz (Haswell), 1 CPU, 8 logical and 4 physical cores
.NET SDK=6.0.100-preview.5.21302.13
[Host] : .NET 5.0.7 (5.0.721.25508), X64 RyuJIT
ShortRun : .NET 5.0.7 (5.0.721.25508), X64 RyuJIT
Job=ShortRun IterationCount=3 LaunchCount=1
WarmupCount=3
|
Contributor
Author
|
I forget to add some unittests, please wait |
Contributor
Author
|
fixed |
Contributor
Author
|
I found redundant wait in benchmark, so I re-run benchmark, here is the result. BenchmarkDotNet=v0.13.0, OS=Windows 10.0.19043.1081 (21H1/May2021Update)
Intel Core i7-4712MQ CPU 2.30GHz (Haswell), 1 CPU, 8 logical and 4 physical cores
.NET SDK=6.0.100-preview.5.21302.13
[Host] : .NET 5.0.7 (5.0.721.25508), X64 RyuJIT
ShortRun : .NET 5.0.7 (5.0.721.25508), X64 RyuJIT
Job=ShortRun IterationCount=3 LaunchCount=1
WarmupCount=3
|
Member
|
thanks for the nice PR. |
Member
|
Sorry for the extremely delay to merge. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In some cases,unix domain socket may be more efficient than IP socket(especially linux).
I think I must resolve following problems for review
GetResultandUnsafeGetStatusappears twice insrc/MessagePipe.Unity/Assets/Plugins/MessagePipe/Runtime/SubscriberExtensions.FirstAsync.cs