Hi guys. I'm new on this Kotlin train. Have been coding with kotlin for 1.5 years but never started my own project. I currently have a NodeJS application running on a raspberry pi controlling a underwater vehicle (ROV). I thought Kotlin would maybe be a upgrade for this project. But not sure how to start it. The NodeJS application hosts a web gui which streams video & controls.
g
Gyuhyeon
10/21/2019, 11:12 AM
Spring Boot w/ kotlin seems like the easy choice, but do bear in mind that JVM/spring hogs memory a lot more than NodeJS. For a small sized project, I'd say expect around 4~5 times the RAM usage. I say this just because my AWS micro instance with 1GB ram died right away when doing
mvn compile
along with a deployed spring boot instance that doesn't do much.
t
toffe
10/21/2019, 1:26 PM
Ah, yeah. It is running on a raspberry pi, currently consuming 5-10megs of memory. Just a "brain" 🙂 Think that will be good.