Service Time or St – Service Time or St is simply defined as the time taken by the system to process a particulate service request. Service Time tends to remains constant for a given transaction when there is no change in any of the user inputs or other environment variables that govern the performance of the given business transaction.

Let’s revisit our basic equation for Response Time:

  • Rt = Wt + St …………………….  [ Wt = Wait Time, St = Service Time ]  also written as
  • Rt = Qt + St  …………………….  [ Wt = Wait Time, Qt = Queuing Time ]

Service Time is the constant in the above equation for a given set of input parameters. What generally causes the Response Time to vary is the Queuing Time [Qt] or Wait time [Wt] variable which depends on various factors including congestion at a given resource, sudden increase in demand for a given resource, etc. Service Time like overall response time can be measured at the Network tier, Hardware tier, Disk tier, CPU tier, etc. is a known constant.

Thus next time around when someone suggests degradation in Service Time for a given business transaction what they are actually implying is that the Response Time for the given business transaction has degraded due to increase in the Waiting Time for computational resources required to process the given transaction. Service Time in this case will remain a constant as long as there is no change in any of the input variables or volume of data provided as input.

Service Time Equation – Service Time for a given resource can also be modeled using some very basic Performance equations. Let’s look at the following scenario.

  • We start watching a system at t=0 and end viewing of the system at time t=T
  • The duration for which the system has been busy is described by Bt
  • During the time T there were C Completions (successfully processed transactions)
  • The Service Time for a particular transaction can thus be defined as:
  • St = Bt / C …………………. [ Bt = Busy Time, C = Completions ]

Example – Let’s say we’ve observed a system for 60 seconds and within the 60 seconds the system has had 15 Completions or 15 successfully exited customers.

We know – St = Bt / C …………………. [ Bt = Busy Time, C = Completions ]

The Service Time each customer can be calculated as:  Service Time or St = 60  / 15 = 4s

We’ve chosen to apply the above scenario to an overall system but this could also be applied to a component within an existing system. The Service Time equation is one of the most basic equations used to identify the service time for a given resource within a system or even the system as whole.

Modeling Systems & Forecasting Performance : To teach yourself the concepts of Performance Modeling & to experience how easy  Forecasting System Performance could be, please visit VisualizeIT.

Thank You For Visiting & See You Soon

Practical Performance Analyst - NewsLetter

Signup and Stay In Touch

Signup to the Mailing List here at Practical Performance Analyst and Stay In Touch. We promise not to SPAM you.