.NETGURU
Transaction Cost Analysis
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.performance.

Post a new message to this list...

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...
 
    
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...
 
    
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...
 
    
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...
 
    
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...
 
    
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...
 
    
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...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification