02 Feb 12
Surprisingly common scenarios:
- requiring 1G memory to support a few hundred users
- saving 500K session state per user
- requiring 2M for a text index per simple document
- creating 100K temporary objects per user hit
19 Jan 12
This covers the basics of memory allocation and garbage collection in Java, the different garbage collectors available in HotSpot and how they can be tuned, and finally some anecdotes from Attila’s experiences at Twitter.
21 Sep 11
01 Jun 11
How to redefine the cached values of Integers between -127 and 128 in Java.
13 Apr 11
03 Dec 10
With the new JNLP Applet functionality in Java, SWT and Ogre4J, it is possible to embed Ogre in a webpage.
02 Jul 10
Shazam implemented in Java. It isn’t that hard !
20 May 10
SchemaSpy is a Java-based tool (requires Java 5 or higher) that analyzes the metadata of a schema in a database and generates a visual representation of it in a browser-displayable format. It lets you click through the hierarchy of database tables via child and parent table relationships as represented by both HTML links and entity-relationship diagrams. It’s also designed to help resolve the obtuse errors that a database sometimes gives related to failures due to constraints.
26 Mar 10
Sun’s Code Conventions for the Java Programming Language