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
by mlb

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.

by mlb

20 Aug 10

“I often hear a complaint that C++ code tends to be slow to compile, sometimes even taking overnight. Slow compiles were one of the motivations for exported templates, and are even listed as one of the reasons for the development of the Go language. It’s a real problem, and since I’m in the C++ compiler business I get asked about this.” (Walter Bright)

by mlb