Performance tips for ADF and MAF applications
At Oracle OpenWorld there were some interesting sessions about performance for ADF and MAF applications.
Here are some tips and tricks that where shown:
- The database is usually the backbone of your application. Issues with performance may occur here. Some tips for database tuning are the use of indexes, partitioning, SQL tuning and the use of materialized views. You can of course always pays a visit to your DBA.
- Tune your JVM. What you can think of is garbage collection, setting the heap size, and play with memory sizes. Every application needs different memory settings, so maybe the best tip is to learn a tool that can configure these settings.
- If there is a possibility to download data from the application, think of the size the exported data can be. So don’t use any mark-up but use plain text, such as csv.
- Try to avoid the use of Clob/Blob’s in combination with JDBC connections. When using the JDBC-connection the entire Clob/Blob will be using this connection. When there are multiple Clob/Blob’s your heap size grows significantly. An alternative is to write the Clob/Blob to a temporary directory and then use a reference.
- Watch your network bandwidth. Use for MAF applications the REST protocol to interact with services. Also don’t use too much servicecall’s for every interaction with the back-end.
- When building an application, include a end-user or front-end tester in your team. Watch the moves they do when testing your application and learn how they think to develop a successful application.
And one more last tip: Keep it simple!
Overzicht blogs
Geen reacties
Geef jouw mening
Reactie plaatsenReactie toevoegen