3 ms·
> In practice - Java under a heavy load is a disaster Google's heavy use of serverside Java would indicate otherwise. > because it was never designed for it
by nl 16y ago
> In practice - Java under a heavy load is a disaster
Google's heavy use of serverside Java would indicate otherwise.
> because it was never designed for it
Yes it was. Java has a lot of problems, but one thing that isn't a problem is heavy load.
> Cassandra is a just a hype and propaganda
Facebook seems to be using it ok.
- c00p3r 16y agoGoogle probably use server side Java without a really heavy load, and just add more servers to keep the load low. System which was designed for being isolated from an OS (leave alone hardware) will have a bottleneck exactly in this level. Facebook doesn't use it as a primary storage with a high load.
- cameronh90 16y agoWhat would you prefer to write web applications in? C++? Most languages used in web programming are divorced from the hardware, and either use a virtual machine (e.g. Java, .NET) or an interpreter (PHP, Python, Perl, Ruby). Virtually no-one uses a low level language for web programming, and the benchmarks say that the virtual machines are faster than interpreters. Java is very fast and efficient once it's running, but initial start-up time is often slower than interpreted languages due to the JIT compilation, but servers rarely "start up". If you're really hitting a barrier with Java's performance, just as with other non-native languages, you can write the performance critical section in C. http://shootout.alioth.debian.org/u32q/which-programming-languages-are-fastest.php http://shootout.alioth.debian.org/u32q/which-programming-lan...