Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use MessagePack for serialization, move services to IServiceBroker #47461

Merged
merged 27 commits into from
Sep 19, 2020

Conversation

tmat
Copy link
Member

@tmat tmat commented Sep 4, 2020

Switch all IServiceBroker services to MessagePack serialization instead of using Newtonsoft.JSON.
Annotate types that are serialized when communicating with ServiceHub services with DataContract attributes.
Migrate more Roslyn services to IServiceBroker.

Recommended review strategy is commit by commit.

Fixes #47538.
Fixes #47720.
Fixes #43855.
Pre-req for #40476.

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1165101.
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1179103.
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1109488.
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1106865.
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1133277.
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1121323.
Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1121321.

Follow up: dotnet/runtime#42412

@tmat tmat changed the title Message pack Use MessagePack for serialization Sep 4, 2020
@CyrusNajmabadi
Copy link
Member

Any info on perf?

@tmat
Copy link
Member Author

tmat commented Sep 4, 2020

Will see once I can merge all the PRs and use it for EnC.

@tmat tmat force-pushed the MessagePack branch 9 times, most recently from f3a9083 to cd4e67b Compare September 14, 2020 06:04
@tmat tmat changed the title Use MessagePack for serialization Use MessagePack for serialization, move services to IServiceBroker Sep 14, 2020
@tmat tmat marked this pull request as ready for review September 14, 2020 06:10
@tmat tmat requested review from a team as code owners September 14, 2020 06:10
@tmat
Copy link
Member Author

tmat commented Sep 14, 2020

@dotnet/roslyn-compiler For review of adding DataContract attributes to a couple of types in the compiler layer.

@tmat tmat force-pushed the MessagePack branch 2 times, most recently from ae07d77 to bcb3991 Compare September 16, 2020 19:52
@tmat tmat merged commit e91ccb5 into dotnet:master Sep 19, 2020
@ghost ghost added this to the Next milestone Sep 19, 2020
@tmat tmat deleted the MessagePack branch September 19, 2020 16:25
@dibarbet dibarbet modified the milestones: Next, 16.8.P4 Sep 21, 2020
tmat added a commit to tmat/roslyn that referenced this pull request Oct 1, 2020
This reverts commit 4123b1c.

Revert "Do not cancel operations after point of no return"

This reverts commit 57759e3.

Revert "Remove ClientDisconnectedSource"

This reverts commit 24bcf13.

Revert "Wait for GetAssetsAsync before returning"

This reverts commit c020fe8.

Revert "Make sure to complete copy before returning"

This reverts commit ebb674f.

Revert "Prevent potential deadlocks when reading/writing assets (dotnet#47864)"

This reverts commit f60ff7e.

Revert "Ensure IServiceBroker is used on a background thread"

This reverts commit 1f7397e.

Revert "Provide required callback targets"

This reverts commit e0e3655.

Revert "Ensure IServiceBroker is used on a background thread"

This reverts commit 42202d8.

Revert "Use MessagePack for serialization, move services to IServiceBroker (dotnet#47461)"

This reverts commit e91ccb5.
@tmat tmat modified the milestones: 16.8.P4, 16.9.P1 Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
6 participants