Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
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...
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]