I wanted to build something like a live feed app where users could go to any `/<room-id>` and they would be instantly connected to all other users on that URL on a live chat.
I wasn't sure how to stop high volume chats from just flying by [queue with throttling?] and massive spam that happen on chat apps so decided not to put anything live.
I wanted to share the code regardless on how a websocket chat prototype can be setup with Vert.x and Kotlin in less than 20 lines.
Maybe this will inspire more devs to pick kotlin and vertx for their backends
1 comment
[ 1.9 ms ] story [ 13.9 ms ] threadI wasn't sure how to stop high volume chats from just flying by [queue with throttling?] and massive spam that happen on chat apps so decided not to put anything live.
I wanted to share the code regardless on how a websocket chat prototype can be setup with Vert.x and Kotlin in less than 20 lines.
Maybe this will inspire more devs to pick kotlin and vertx for their backends