Web Service Performance Tips
- Prefer coarse grained operations
- Prefer asynchronous messaging
- Use caching when feasible
- Cache data on client side whenever possible while still ensuring up-to-dateness with server
- Cache WSDL
- Cache schemas
- Cache session state for transactional ws
- Disable non essential XML parser functionalities (e.g. wellformness) in production
- Use simple SOAP types (type conversions are costly)
- Use load balancing (hardware or software)
- Free resources when finished
- Determine bottlenecks before fixing any particular part
- Collect performance metrics periodically
- Use stress test tools (e.g. PushToTest, Test Director)
This entry was posted in
soa. Bookmark the
permalink.