News

Recently, I helped design a Java server application that resembled an in-memory database. That is, we biased the design toward caching tons of data in memory to provide super-fast query performance.
// java.lang.Object shell size in bytes: ... Java Strings are notorious memory wasters because they are so ubiquitous and because common string usage patterns can be quite inefficient.