I studying ktor chat sample app and websockets in ...
# ktor
n
I studying ktor chat sample app and websockets in general, and I see there a synchronizing blocks and ConcurentHashMaps so the question arises: Firstly I think that ktor works on single thread if no other thread is explicitly started. it seems I was wrong. Where I can read about how requests scheduled in ktor? It necessary to understand chat sample app and why there concurent used
While playing with the example found that it does not work correctly when you use multiple browsers or devices. You can send msg in all windows but only in one browser window chat msg's appear