-
Each server does share a "proto env" object, but it is duplicated for each Client:
https://github.com/puma/puma/blob/0cc3f7d71d1550dfa8f545ece8...
and Client objects are not reused:
https://github.com/puma/puma/blob/0cc3f7d71d1550dfa8f545ece8...
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
-
At D2L we have a large C# code base which gets deployed in a few different subsets, but is largely a monolithic fleet of web servers.
To prevent these kind of problems we have a few approaches, but the main way is to prevent shared mutable state. To do this we have a custom C# code analyzer (source here: https://github.com/Brightspace/D2L.CodeStyle/tree/master/src... , but it's not documented for external consumption at this point.) It goes like this:
[Immutable]