asynkron / protoactor-dotnet

Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin
http://proto.actor
Apache License 2.0
1.73k stars 288 forks source link

Debugging documentation #2017

Open AqlaSolutions opened 1 year ago

AqlaSolutions commented 1 year ago

I want to debug an app that uses ProtoActor with Consul. It took me long time to understand that I need to increase HeartbeatExpiration so that app will not shutdown by itself. Are there any caveats like this? Could you please add it to documentation?

rogeralsing commented 1 year ago

You are correct, in the latest previews there is also a .WithDisableHeartbeatExpiration() on cluster config for this reason.

We are planning to create some reference setups for both local and prod environments and explain the reason for each setting there.

AqlaSolutions commented 1 year ago

Do I need to also change anything in Consul provider options in this case?

AqlaSolutions commented 1 year ago

I changed "deregister critical" to 1h but this still seems not enough. Sometimes it happens that UpdateClusterTopology is called without some node listed in the members list so this node gets blocked. In the consul output I see only Check missed TTL, is now critical messages but nothing about service deregistration.