I envision a time when automated optimisation process will monitor your program every time it runs in production, automatically adjusting the tweaking parameters until it gradually learns and homes in on the optimal settings for running under various conditions using some sort of statistical multiple regression analysis and binary search, working somewhat like a numerical differential equation solver.
The problem is the optimum settings are not universal. They depend on the customer’s hardware, JVM and data size and characteristics, e. g. one customer may always present data pre-sorted, or sorted in precisely reverse order. Different customers use different SQL engines and different Servlet wombs.
Tweakables could be external to the Java program such as the optimum VM heap size or stack allocation. Too little and you GC needlessly frequently, too big and your virtual RAM fills with paged out deadwood interspersed with tiny objects.
| You can get the freshest copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) | |
| http://mindprod.com/jgloss/tweakable.html | J:\mindprod\jgloss\tweakable.html | |
![]() | ||
| Canadian Mind Products | ||
| mindprod.com IP:[65.110.21.43] | ||
| view Blog | Your face IP:[38.107.191.106] | |
| Feedback | You are visitor number 9,000. | |