In a development environment, having a super fast database can be immensely helpful. If you are not lucky enough to already have an SSD in your system, you need to make yourself a RAMDisk. I had a system with 6 gig of RAM. I allocated 500 meg for a RAM Disk. You can create one [...]
08
Jan
2012
MySql on a RAM disk for super fast performance with the innodb storage engine
Tags: MySql, Performance
15
Aug
2010
HotSpot JVM – Client / Server VM optimization – 260ms vs 0ms!
The Sun/Oracle HotSpot Java Virtual Machine is available for use in two flavors – the Client VM and the Server VM. The VM to be used can be specified by the -server and -client switches passed when starting the JVM with the java command. The default VM when no switch is specified is the Client [...]
09
Jul
2010
Identifying a thread with high CPU usage in a Java app
One of the threads in your app is consuming way too much CPU. Perhaps pegging a core at 100%. How do you find out which thread? Use JConsole. It comes with the JDK. But out-of-the-box, JConsole won’t provide the info we need. You will need to use it with a plugin that gathers and displays [...]
