Commit Graph

13 Commits

Author SHA1 Message Date
b48376e1c8 formatting 2024-08-16 00:41:04 +02:00
99fe461c77 typo 2024-08-16 00:30:28 +02:00
e36aaeea36 Small comment updates. 2024-08-16 00:27:42 +02:00
b6962e3cb6 Server side sorting for the websessions page. No longer using LinkedMap as a result. 2024-08-16 00:25:17 +02:00
cdfe7c2a47 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-08-15 22:08:24 +02:00
56ad9fbf03 concurrency for the expiry time 2024-08-15 21:25:30 +02:00
fd18a63360 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-08-15 21:04:31 +02:00
98f6b414de introdcution of typesafe ids. 2024-08-15 18:32:59 +02:00
5ff22f4b13 a bit more safety by copying the state when passing it to
the websessions and prometheus.
2024-08-14 11:36:36 +02:00
95fe8bb010 eliminated unused fields in State
Now preserving the lastState in prometheus.go in a State object instead
of in multiple values.
2024-08-14 11:26:31 +02:00
69a8a1aad3 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-08-11 16:17:11 +02:00
7af8c2a09b cumulative counters implemented. 2024-08-07 22:22:54 +02:00
9a3618f06b Live updates of the sessions.
V1 in ascii-art. To be improved.
2024-07-30 21:51:30 +02:00