java - Mysql jconnector spends 50% time in com.myql.jdbc.utils.ReadAheadInputStream.fill() -


i profiling application uses spring + hibernate + mysql-java-connector. visualvm shows more 50% cpu time cost in com.myql.jdbc.utils.readaheadinputstream.fill(), when there 1000 parallel connections doing read.

is there optimization make faster?

on top of other suggestions, consider experimenting lower amount of connections (i.e. 20). it's possible overhead of handling such large amount of open connections fooling profiling observations.

not least, make sure you're using recent version of hibernate orm. made version 5.0+ smarter previous versions, regarding performance improvements ;-) improvements applied daily, keeping date or @ least trying latest might easy win.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -