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

Introduce c# load balancer #47

Closed
wants to merge 1 commit into from
Closed

Introduce c# load balancer #47

wants to merge 1 commit into from

Conversation

dkropachev
Copy link
Collaborator

@dkropachev dkropachev commented Dec 23, 2024

I have tested it against 6.2 and master, works as expected.

@dkropachev dkropachev requested a review from nyh December 23, 2024 03:37
Copy link
Contributor

@nyh nyh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know anything about C sharp, so I'll believe that you tested it and merge this PR :-)

One thing I would like to ask (you can do it later, after I merge this) is to please add a README.md in the csharp directory, and add one in the future when you add more languages. Also please update the top-level README.md which contains a list of languages and after this patch - is no longer up-to-date.

I know you added a "Test" directory with an example, but I don't think it's enough. First, how would you know to look in the Test directory? But more importantly the test file contains a lot of irrelevant things and it's hard to find what is the important part to learn from. It also doesn't explain how things work, the motivation, and perhaps important issues like which versions of the SDK are supported (we had a lot to say about this in the Java).

@@ -0,0 +1,317 @@
using System;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need to solve this now, but eventually, it would be nice not to have 17 different copies of the same AlternatorLiveNodes class in 17 different languages, each one with its own random bugs and forgetting to make the same fix all 17 versions. I don't have a solution how to do this. Maybe some sort of automatic translation? So code of home-brewed code generation? But will be nice to give this some thought one day.
In the meantime I'm ok with this manual one-off translation. You'll just need to remember that any future fix will need to go into all the different languages.

@nyh nyh closed this in bc1159d Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants