Design for performance: hints and tips
Here are a few ideas to help you to ign efficient applications:
- Design your application so that processing goes on in parallel with a
user's thinking time:
- Display a panel and allow the user to start typing while the application
is still initializing.
- Get the data that you need in parallel from different servers.
- Keep connections and queues open if you are going to reuse them instead
of repeatedly opening and closing, connecting and disconnecting.
- However, a server application that is putting only one message should
use MQPUT1.
- Keep your messages within a unit of work, so that they can be committed
or backed out simultaneously.
- Use the nonpersistent option for messages that do not need to be recoverable.