Commit Graph

13 Commits

Author SHA1 Message Date
4d4a72a062 formatting 2024-09-08 11:16:49 +02:00
17cac3a1a2 typo 2024-09-08 11:16:49 +02:00
3675f0b8c4 Small comment updates. 2024-09-08 11:16:49 +02:00
3574b64842 Server side sorting for the websessions page. No longer using LinkedMap as a result. 2024-09-08 11:16:49 +02:00
9f12b7bea4 Separated out the metadata about the agents and clients from the agentConnection and clientConnection objects. Now, the state does not need to be copied anymore when sending notifications.
The matchmaker uses copy on write every time a new agent or client connects or disconnects.
2024-09-08 11:16:49 +02:00
96c62ab925 concurrency for the expiry time 2024-09-08 11:16:49 +02:00
fc7977f7bb now using maps of Guid to Agent/Client in the state, working towards the definitive solution.
Using LinkedMap that preserves insertion order for the implementation and also added unit tests for that.
2024-09-08 11:16:49 +02:00
556315906d introdcution of typesafe ids. 2024-09-08 11:16:49 +02:00
eb145b2374 a bit more safety by copying the state when passing it to
the websessions and prometheus.
2024-09-08 11:16:49 +02:00
6bb75728e7 eliminated unused fields in State
Now preserving the lastState in prometheus.go in a State object instead
of in multiple values.
2024-09-08 11:16:49 +02:00
1c92fcb03e much more clean handling of concurrency in the converge server by separating the administration from the matchmaking by putting admin in a separate package. 2024-09-08 11:16:49 +02:00
f62b81cbfb cumulative counters implemented. 2024-09-08 11:16:49 +02:00
d6d2d5648c Live updates of the sessions.
V1 in ascii-art. To be improved.
2024-09-08 11:16:49 +02:00