The Source of Quality PowerBuilder™ Information Since 1994
   
 

Hit Counter

Total: 373,079
since: 26 Jan 2005

Latest Podcasts

Interview with Mr TechWave

Thursday, 10 May 2007 6:19 P GMT

Interview with ZapThink

Tuesday, 1 May 2007 1:12 P GMT

Interview with ISUG

Thursday, 19 April 2007 12:16 P GMT

Interview with STUN

Wednesday, 28 March 2007 2:49 P GMT

Podcast Welcome

Wednesday, 21 March 2007 5:07 P GMT

Calendar

««Mar 2010»»
SMTWTFS
  123456
78910111213
14151617181920
21222324252627
28293031

My Pictures

www.flickr.com
ithain's photos More of ithain's photos

My Top Tags

                                       

Search Box

 

Mailing List

LinkBlog Latest items

My RSS Feeds








Tuning

posted Tuesday, 3 October 2006

 

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.

WorkSpace and Guitar 

links: digg this    del.icio.us    technorati    reddit