As far as I know, many nosql stores are written in java, for example HBase, Cassandra. But according to my experience, many high performance server program are written in c/c++ (e.g. Apache, Opensips, etc.), why can such java-implementing program behave well in production use?Is it because that Java code is easy to read and maintain and distributed system implemented in java scales well?
BTW, I know that writing code in Java is sure more productive, but as someone said, implementation speed is not a question in big company, because once implemented and refactor for several rounds, the program can run very well, so the cost of time is not high for from a long term view.
If you follow the first link (Why was Cassandra written in Java) in the “Related” section on the right, you will find answers.
Short summary:
EDIT The “C/C++ is faster than Java by definition” myth is just that – a myth. Look at this question for a counter example.