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

Improved transparency and timing of silo lifecycle (second attempt). #4175

Merged
merged 1 commit into from
Mar 9, 2018

Conversation

jason-bragg
Copy link
Contributor

Reapplying "Improved transparency and timing of silo lifecycle. #4116" with fixes to test failures which caused the original PR to be reverted.

Marked wip until it passes full VSO tests.


Subscrivers are now named.
Silo lifecycle now reports stages prior to start.

Example stage reporting:
...100453 Orleans.Runtime.SiloLifecycleSubject] Stage -2147483648: Orleans.Runtime.SiloOptionsLogger
...100453 Orleans.Runtime.SiloLifecycleSubject] Stage 2000: Orleans.Runtime.InsideRuntimeClient, Orleans.Runtime.Silo
...100453 Orleans.Runtime.SiloLifecycleSubject] Stage 4000: Orleans.Runtime.Silo
...100453 Orleans.Runtime.SiloLifecycleSubject] Stage 8000: Orleans.Runtime.Silo
...100453 Orleans.Runtime.SiloLifecycleSubject] Stage 10000: Orleans.Runtime.Versions.GrainVersionStore, Orleans.Storage.AzureTableGrainStorage-AzureStore, Orleans.Storage.AzureTableGrainStorage-PubSubStore, Orleans.Providers.Streams.Common.PersistentStreamProvider-AzureQueueProvider, Orleans.Providers.Streams.Common.PersistentStreamProvider-AzureQueueProvider2
...100453 Orleans.Runtime.SiloLifecycleSubject] Stage 20000: Orleans.Providers.Streams.Common.PersistentStreamProvider-AzureQueueProvider, Orleans.Providers.Streams.Common.PersistentStreamProvider-AzureQueueProvider2

Example timing information:
...100452 Orleans.Runtime.SiloLifecycleSubject] Lifecycle observer Orleans.Providers.Streams.Common.PersistentStreamProvider-AzureQueueProvider2 started in stage 10000 which took 21 Milliseconds.
...100452 Orleans.Runtime.SiloLifecycleSubject] Lifecycle observer Orleans.Providers.Streams.Common.PersistentStreamProvider-AzureQueueProvider2 started in stage 20000 which took 65 Milliseconds.
...100452 Orleans.Runtime.SiloLifecycleSubject] Lifecycle observer Orleans.Providers.Streams.Common.PersistentStreamProvider-AzureQueueProvider2 stopped in stage 20000 which took 20 Milliseconds.
...100452 Orleans.Runtime.SiloLifecycleSubject] Lifecycle observer Orleans.Providers.Streams.Common.PersistentStreamProvider-AzureQueueProvider2 stopped in stage 10000 which took 0 Milliseconds.

Stream provider started in two stages because it initializes in stage 10000, and starts reading events running in stage 20000.

- Subscrivers are now named.
- Silo lifecycle now reports stages prior to start.
@jason-bragg
Copy link
Contributor Author

@dotnet-bot test functional please

@jason-bragg
Copy link
Contributor Author

1 VSO test failed, but looks unrelated. Removing WIP flag.

@sergeybykov sergeybykov merged commit 30fcb2c into dotnet:master Mar 9, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Dec 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants