Tuesday 30 July 2013

Java performance mind map

Great https://github.com/raydac/Java-performance-mind-map
or https://www.dropbox.com/s/zvg9vmjn1dqd21f/JavaPerformanceOptimization.png

includes following topics and ways how to diagnose and fix them:
  • too big %sys in mpstat
  • too big %irq, %soft in mpstat
  • too big %iowait in mpstat
  • too big %idle in mpstat
  • too big %ust in mpstat - JVM, algorithmic , memory, cpu problems

Friday 5 July 2013

Horizontal scrollbars at top & bottom in Datatables

In my data table I have a lot of data so horizontal scroll is required. I found library jQuery-doubleScroll but it doesn't work with DatTables. Reason is that DatTables adds some parent divs to the original table. Solution is to wrap table with own div and use it for double scroll. Here is short example: