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.
what’s the goal of the comparison?
and what will you benchmark?
would you say you have almost exactly equal expertise in all 4 languages? Including all the idioms, best practices, preferred libs, etc?
@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.
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
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”
That's a good point.