Multimobile Development: Building Applications for any Smartphone
Transaction Cost Analysis
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.performance.


Peter Sedman
Hi,

Maybe someone can shed some light on TCA...

I've read a few articles about TCA and here's what I understand:

1. You gather statistics for your web app and put together a user profile
that show the actions performed by users and how often they occur.
2. You break the user profile into individual transactions.
3. You write a load test script to test each individual transaction and
increase the load until the maximum throughput is reached.
4. Calculate the cost of the transaction in millions of cyles of processor
usage.
5. Use the cost per transaction to work out a capacity planning model.

What I don't understand is this... what happens if your customer wants to
run your app with half the amount of RAM you used in the tests? I can see
how the model can be changed for number of processors/speed of processors
but I haven't seen any capacity plans that have a variable for memory or
disk speed.

Has anyone had any practical experience of using TCA for capacity planning?

Thanks,
Peter

Reply to this message...
Vote that this is a GOOD answer...
 
Really good experience at the Apple Store
MonoDroid – looking *awesome*
 
    
Raymond Lewallen
Look at www.tpc.org

"Peter Sedman" <Click here to reveal e-mail address.k> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
Vote that this is a GOOD answer...
 
First volume of Multimobile Development nearly ready to go to press
A mention on Developing for the iPhone and Android: The pros and cons
 
    
Peter Sedman
How do this help me?

I'm trying to measure the cost of a transaction within my application, for
example submitting an item to a shopping cart.

The Microsoft book "Improving .NET Application Performance and Scalability"
defines TCA as follows:

Transaction cost analysis.
Transaction cost analysis calculates the cost of the most important user
operations of an application in terms of a limiting resource. The resource
can be CPU, memory, disk, or network. You can then identify how many
simultaneous users can be supported by your hardware configuration or which
resource needs to be upgraded to support an increasing number of users and
by how much.

but the book doesn't xplain how to calculate the cost in terms of memory,
disk or network - only CPU is covered.

"Raymond Lewallen" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
Vote that this is a GOOD answer...
 
 
    
Raymond Lewallen
Sorry, thought you might find something useful on that site. You need to
use performance monitor and CLR Profiler to get the information on your
application to see how many IO operations, memory usage, garbage collections
etc are occuring during a timeframe. Try these sites for info:

http://www.microsoft.com/technet/prodtechnol/comm/comm2002/plan/cs02tcas.mspx

CLR Profiler:
http://www.microsoft.com/downloads/details.aspx?FamilyId=86CE6052-D7F4-4AEB-9B7A-94635BEEBDDA&displaylang=en

"Peter Sedman" <Click here to reveal e-mail address.k> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
Vote that this is a GOOD answer...
 
First chapters of Multimobile Development book now available on Apress Alpha program
iPad
 
    
Peter Sedman
Thanks Raymond, but it still doesn't answer my question. I need to know how
to include CPU and Memory in the capacity plan calculations which as based
on Transaction Cost Analysis costs.

"Raymond Lewallen" <Click here to reveal e-mail address> wrote in message
news:OWD9u%Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
Vote that this is a GOOD answer...
 
New book project – Multimobile Development: Building Applications for any Smartphone
Dive into HTML5
 
    
Raymond Lewallen
I guess what you are looking for are actual formulas to use to calculate
transaction cost and performance measurements. Go to the link below and
read the white paper on the capacity model for internet transactions.

http://research.microsoft.com/research/pubs/view.aspx?type=Technical%20Report&id=253

"Peter Sedman" <Click here to reveal e-mail address.k> wrote in message
news:Click here to reveal e-mail address...
> Thanks Raymond, but it still doesn't answer my question. I need to know
how
[Original message clipped]

Reply to this message...
Vote that this is a GOOD answer...
 
 
    
Walla Walla Wa
That's a good read. Thanks.

"Raymond Lewallen" <Click here to reveal e-mail address> wrote in message
news:%Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
Vote that this is a GOOD answer...
 
Steve Jobs’ thoughtful/thought provoking Thoughts on Flash…
Handy list of countries in CSV format
 
 




Ad
BootFX
Reliable and powerful .NET application framework.
iOS, Android and Windows Phone Development Training and Consultancy
Hosted by RackSRV Communications
 
Multimobile Development: Building Applications for any Smartphone
Copyright © AMX Software Ltd 2008-2010. Portions copyright © Matthew Baxter-Reynolds 2001-2010. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - 4.0.30129.1734