From informal testing, the following optimization provides a ~1000x speedup from previously. The chat router is now 4x faster. An additional optimization was added to the chat router, by running the sending of chat messages to the server completely async, which gives the additional ~1000x speedup. Keep in mind that the delay between sending the message and it appearing on the server, remains at around ~50ms.
From informal testing, the following optimization provides a ~1000x speedup from previously. The chat router is now 4x faster. An additional optimization was added to the chat router, by running the sending of chat messages to the server completely async, which gives the additional ~1000x speedup. Keep in mind that the delay between sending the message and it appearing on the server, remains at around ~50ms.