other-languages

here be heresies and things we have to use for work
gklijs 2018-06-15T14:02:09.000673Z

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.

borkdude 2018-06-15T14:11:54.000375Z

what’s the goal of the comparison?

borkdude 2018-06-15T14:11:59.000806Z

and what will you benchmark?

2018-06-15T14:19:43.000070Z

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

gklijs 2018-06-15T15:22:38.000290Z

@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.

2018-06-15T15:25:03.000837Z

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

2018-06-15T15:26:16.000011Z

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”

gklijs 2018-06-15T15:27:12.000121Z

That's a good point.