What Is Service Time

Let’s start by taking a look at the definition of Service Time.

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.

Lets 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. Lets 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 Lets say we have 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 have 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.

Additional Resources

Hope you’ve enjoyed the content in this section at Practical Performance Analyst and have learnt something new. Please help us grow the community by taking a moment and sharing this content with rest of community using your preferred Social Media Platform (links provided below). We are looking for the bright spark and if you think you have what it takes to build and grow this community reach out to me by Sending us an email. Practical Performance Analyst

Trevor Warren is passionate about challenging the status-quo and finding reasons to innovate. Over the past 16 years he has been delivering complex systems, has worked with very large clients across the world and constantly is looking for opportunities to bring about change. Trevor constantly strives to combine his passion for delivering outcomes with his ability to build long lasting professional relationships. You can learn more about the work he does at LinkedIn. You can download a copy of his CV at VisualCV. Visit the Github page for details of the projects he’s been hacking with.

© 2018. All rights reserved.

Powered by Hydejack v6.4.0