|
|
|
|
|
by pron
3928 days ago
|
|
> You can still offer isolated transactions, tunable consistency, etc. within a shard though And if that happens to be exactly all you need then that's great! :) > And yes, you can write high performance Java, but for whatever reasons the Cassandra codebase isn't an example of that. I don't know anything about the Cassandra codebase, but one thing I'm often asked is if you're not going to use the GC in Java, why write Java at all. The answer is that the very tight core code like a shard event loop turns out to be a rather small part of the total codebase. There's more code dedicated to support functions (such as monitoring and management) than the core, and relying on the GC for that makes writing all that code much more convenient and doesn't affect your performance. |
|
And to be fair, some people are pretty productive in modern C++. It's a shame the JNI isn't better so you can have the best of both worlds.
(for the record, Quasar is #1 on my list of libraries to try if I go back to Java)