|
E A D G B E If that means something to you, then you're probably a 'Rock God' or a humble trainee, like me. Yes, just like the Sybase WorkSpace advertising says, the RAD features of WorkSpace allows me to speed through development and "Do something more interesting" in my spare time, like learn the guitar. Maybe sometime in the future, if you're all lucky, I will lay down a sample track for the blog ! ;-) But any instrument needs to be tuned to get the best out of it, so here are some tuning guidelines from the UO development team: 1. Optimize business process logic. a) If there is a way to make your business process stateless instead of statefull, do so. b) Minimize assignments. Look for ways to perform one single complex value assignment instead of multiple smaller assignments. Consider using a transformation service in place of many assignments if possible. 2. Create the same number of listener threads as there are CPUs. If you have a 4 CPU server, create 4 listener threads; a 2CPU server create 2 listener threads, etc. 3. Look to scale by clustering UO servers. You can do this either by clustering the application server or by creating a logical cluster whereby multiple UO servers pick up from the same queue. The best performance was to both cluster across hosts and within a single host. In other words, have multiple host machines with 2 or more UO servers running on each host with all being fed by a common queue.
Testing by the development team showed: - A 10% improvement in throughput by applying Patch 4. - A 60% improvement in throughput for adding 2 cpus to a 4 cpu host. - A 52% improvement in throughput for a 156% increase in CPU clock speed. - Linear scaling of throughput by adding hosts to a logical cluster. - A 40% improvement in throughput of a single host by adding a second uo server to the host. | |