performance - Slow Dynamic GSP Reloading in Production on AIX -


we using grails 2.2.4, websphere 8.0.0.5 running on aix 6.1.0.0. websphere using ibm jdk:

java(tm) se runtime environment (build pap6460_26sr3ifix-20121005_02(sr3+iv27268+iv27928+iv28217+iv25699))

ibm j9 vm (build 2.6, jre 1.6.0 aix ppc64-64 20120919_122629 (jit enabled, aot enabled)

j9vm - r26_java626_sr3_ifix_1_20120919_1316_b122629

jit - r11.b01_20120808_24925ifx1

gc - r26_java626_sr3_ifix_1_20120919_1316_b122629 j9cl - 20120919_122629)

jcl - 20120713_01

the problem using:

grails.gsp.enable.reload = true grails.gsp.view.dir="/path/to/gsp/views" 

is slow, , mean 20 seconds render small gsp. what's interesting in our local development environments takes 2 seconds.

we've isolated problem having controller nothing except call render(..) on blank gsp nothing in model, can assume it's compilation wrong.

has come across other instances rendering gsps extremely slow, or have suggestions, perhaps it's sort of weird jdk issue on aix?

in addition bounty, whoever answers correctly gets free waffles.

edit noticed other day: there 3 environments same config , setup , 1 of them works fine, sort of environment issue.

i agree suspicion it's compilation time. perhaps grails.gsp.view.dir slow - networked file system perhaps?

the real answer, unfortunately, not enable gsp reload in production. it's meant development convenience, , not intended perform in production.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -