I was asked to look the memory utilization of an application. This application was running on Solaris 5.10. Continue reading “GC Graph from GC Logs”
Stay Signed In – Sample implementation in Servlets using Cookies
In several web applications, there is a need to keep the user signed in for a prolonged durations (days, weeks, sometimes months). Continue reading “Stay Signed In – Sample implementation in Servlets using Cookies”
Database Connection Pool Configuration Recommendation
Configuring database connection pool is absolutely critical to the performance of the application. Configuring database connection pool is Continue reading “Database Connection Pool Configuration Recommendation”
Anatomy of a Transaction
In a typical web application, one single transaction can generate multiple log statements. It’s important to tie-up all log statements generated by Continue reading “Anatomy of a Transaction”
DayLight Savings Time Problem – Java
Most Java application ‘java.text.SimpleDateFormat’ object is used to convert a text/string in to ‘java.util.Date’ object. Typical Parsing code would look like: Continue reading “DayLight Savings Time Problem – Java”
Gracefully and quickly evict HTTP persistent connections
Title of this article might sound like an oxymoron. How can persistent HTTP connections be gracefully and at the same time quickly evicted? Continue reading “Gracefully and quickly evict HTTP persistent connections”