Live chat feeds with Vert.x and Kotlin in less than 20 lines of code(gist.github.com)
gist.github.com
Live chat feeds with Vert.x and Kotlin in less than 20 lines of code
https://gist.github.com/asad-awadia/014a2878e67e701b234b165526bf75ef
https://gist.github.com/asad-awadia/014a2878e67e701b234b165526bf75ef
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