4 ms·
Live chat feeds with Vert.x and Kotlin in less than 20 lines of code
- asadawadia 6y agoI 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