| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Seperate room states from global server state | stuebinm | 2021-02-17 | 1 | -51/+78 |
| | | | | | | | | | The main server state is now a `HashMap` of `Text` to `MVar Room` instead of just `Room`. This allows for changing room states independently from the server state, which should make the entire thing scale better on multi-core architectures (nevermind that "switching slides" is presumably not something in much need of multicore servers ...) | ||||
| * | initial commit | stuebinm | 2021-02-17 | 3 | -0/+193 |
| So far, it is fairly inefficient — for each message, the global state of the application is changed (i.e. a read-write action on a HashMap). Since clients can't change rooms after joining anyways, this should probably be changed. | |||||
