asynkron / protoactor-dotnet

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

ETCD provider #2077

Open HackPoint opened 6 months ago

HackPoint commented 6 months ago

I need to implement this in .NET: https://raw.githubusercontent.com/asynkron/protoactor-go/dev/cluster/clusterproviders/etcd/etcd_provider.go

Do you have a concrete example of this? in C#

Would really ease up my task, I'm new to all of the cluster providers stuff

DenizPiri commented 2 months ago

We have an Etcd provider that we built and have been using for the last 2 years or so without issues. However, ours definitely won't be compatible with the etcd provider of the protoactor-go.

@rogeralsing @mhelleborg Should I contribute our etcd provider? Or skip? Given that it is not meant to be compatible with protoactor-go and that could cause confusion for most users.

rogeralsing commented 2 months ago

@DenizPiri I´d love that. As long as we document that the provider is incompatible then it´s all fine.

HackPoint commented 2 months ago

@rogeralsing I've implemented this provider exactly as you did with go. Maybe should I open source it?

rogeralsing commented 2 months ago

@HackPoint I´d love to see both and we can decide from there. If it aligns with Go, that´s great. on the other hand, @DenizPiri´s version has been battle-tested.

HackPoint commented 2 months ago

@HackPoint I´d love to see both and we can decide from there.

If it aligns with Go, that´s great. on the other hand, @DenizPiri´s version has been battle-tested.

Mine is working solution in my company

rogeralsing commented 2 months ago

@HackPoint are you in our Slack? https://join.slack.com/t/asynkron/shared_invite/zt-ko824601-yGN1d3GHF9jzZX2VtONodQ