Quality of Service (QoS) Requirements: An Agile Introduction
- QoS34 The system shall be available 99.99% of the time for any 24-hour period.
- QoS78 A seminar search will occur within less than three seconds 95 percent of the time.
- QoS79 A seminar search will occur within no more than ten seconds 99 percent of the time.
When capturing a QoS requirement, it’s important to describe it in terms of ranges and sometimes even probabilities. For example, when building a data warehouse (DW) for a bank, knowing the current average number of customers and transactions is good, but it’s better to know the ranges. For example, say we built our DW to handle up to 20,000 transactions a day. That would certainly be more than sufficient for a typical day, but it wouldn’t be for tax season.
Figure 2. Detailed QoS requirement for a bank’s data warehouse.
| Volume Requirement Domain: Wealth Management Main entities: Customer
Transaction
|
Types of QoS Requirements
Potential types of QoS requirements include:
- Access control
- Accessibility
- Accuracy
- Concurrency
- Consumability/usability
- Customization points
- Environment/green
- Internationalization
- Latency
- Maintenance
- Operations
- Performance
- Privacy
- Reliability
- Reuse
- Resiliency
- Scalability
- Security
- Serviceability
- Supportability
- Throughput
- Timeliness
QoS Requirements in Practice
I’m a firm believer in minimizing the number of purely technology-focused QoS requirements. Technology changes quickly, and often requirements based on technology change just as quickly. Whenever you have a requirement driven purely by technology, try to determine the real underlying business needs it expresses. To do this, keep asking why your application must meet a requirement. For example, when asked why your application must be written in Java, the reply was that it has to run on the Internet. When asked why it must run on the Internet, the reply was that your organization wants to take orders for its products and services on the Internet. The real requirement is to sell to consumers at their convenience; one technical solution to this need (and a good one) is to write the component in Java and make it accessible via the Internet. A big difference exists between writing the entire application in Java and supporting the sale of products and services to consumers over the Internet.
QoS requirements are often thought of as constraints, and in fact, constraints can apply to either technical or business issues.
Source
This artifact description is excerpted from Chapter 7 of The Object Primer 3rd Edition: Agile Model Driven Development with UML 2. The banking example was taken from the book Not Just Data: How to Deliver Continuous Enterprise Data.