Fork me on GitHub
#other-languages
<
2018-06-15
>
gklijs14:06:09

I'm thinking about having a microservice, using both Kafka and PostgresQL, implemented in Java, Kotlin, Rust and Clojure. Would it be interesting to compare those, and what would you be most interested in? I will run all of them within docker.

borkdude14:06:54

what’s the goal of the comparison?

borkdude14:06:59

and what will you benchmark?

scriptor14:06:43

would you say you have almost exactly equal expertise in all 4 languages? Including all the idioms, best practices, preferred libs, etc?

gklijs15:06:38

@scriptor no, but it's not that difficult what happens. Kotlin and Java with spring boot are pretty straightforward, for the clojure part I'm also pretty sure. The rust part is a bit of a challenge. I could measure max load, and for each load get some basic statistics like CPU and memory. Using #etaoin I could also measure end-to-end latency. If interesting enough I could put everything in github and retest when needed. Ideally I have some way of re-running all the test with as little configuration as needed.

scriptor15:06:03

fair enough, I’d advise first posting the code in the respective communities to get some feedback. Then only posting the comparison/benchmarks after that

scriptor15:06:16

almost every time someone does something like this the comments are full of “well actually if you’d done Y instead of X it’d be a fairer comparison”

gklijs15:06:12

That's a good point.