Java Collections waste (or lack thereof)
If you are a performance freak who makes sure every collection is initialized with the “right” size then don’t be: http://java.dzone.com/articles/java-collection-waste. In all fairness, notice the ...
If you are a performance freak who makes sure every collection is initialized with the “right” size then don’t be: http://java.dzone.com/articles/java-collection-waste. In all fairness, notice the ...
Recently I had to perform some load tests on an application that received its input via a Weblogic JMS queue, hence making the rate of message consumption one of the key metrics to keep track of an...
<meta http-equiv=Content-Type content="text/html; charset=windows-1252"> <body lang=EN-US link=blue vlink=purple> [Please read part 1 here.] TL;DR: for JDK 1.5, watch your Full GC fre...
Let’s say you have to upload a bunch of data to a table and let’s say you need to index them with an ID key.You could just declare the column to auto-increment when creating the table in the databa...
<meta http-equiv=Content-Type content="text/html; charset=windows-1252"> <body lang=EN-US link=blue vlink=purple> This tip might save you a few minutes. A colleague recently wanted hi...
Focus. It’s what the mind needs. Meanwhile, I continue finding my way towards enlightenment.
<meta http-equiv=Content-Type content="text/html; charset=windows-1252"> <body lang=EN-US link=blue vlink=purple> [Please read part 2 here.] Our OC4J instance would restart itself eve...
I didn’t code it. But I’m part of the team in charge of completing the project and maintaining it.Oh yeah. The project consists of an integration layer between different systems; it is implemented ...
Kjellkod recently published an interesting article comparing the performance of linked-lists against that of a vector, as well as discussing the reason for the unexpected results. You can also foll...
Yesterday I came across another one of XPath's little quirks that cost me up to an hour of painstaking step-by-step troubleshooting to narrow down: comparing the value of a boolean element to one o...