Skip to main content

Quality Attributes Scenario Components

When we are talking about the quality attributes of an application we risk to talk all night without approaching the end of the topic. The main scope of this article is to see what are the main components of a scenario that can define a quality attribute.
There are a lot of quality attributes that can be involved. There are 6 attributes that are very common and extremely important in a solution:
  1. Availability
  2. Modifiability
  3. Performance
  4. Security
  5. Testability
We saw the most important quality attributes and it would be very easy for us to find another 10. All this attributes are executed based on a predefined scenario. The components of the scenario can be isolated and used to identify, describe and understand each attribute.
Each quality attribute has a SOURCE OF STIMULUS. There is an entity that generates the stimulus. In a simple scenario we can have a person, but the stimulus can be another system, a handler or even a specific time. This stimulus is the source that triggers the specific action, event or any kind of behavior. For example we can imagine as a stimulus the person who starts the computer.
Beside source of stimulus we have the STIMULUS. This represents the condition that needs to be taking into account when the stimulus arrives into the system. For example the “desire” to start the computer. It is very important to understand that the source of stimulus and stimulus itself are two different thing and don’t need to be combined. Different sources of stimulus can produce the same stimulus but the measurements can be different. For example is not the same thing to have as source of stimulus the person that is near the computer and can push the start button or when we have a person that is 1000 km away and need to fly to the specific location to start the system.
The 3th part of an attribute is the ENVIRONMENT. The action is executed in a specific scenario, were specific resources are available or certain components are active. Because of this the environment is very important for each scenario. For example the hardware configuration of the system where the operation system is installed. It is not the same thing to run a Windows 8 or on a i7 or on a Pentium 4.
Next thing of quality attribute scenario are ARTIFACTS. These can represent only a part of a system or the whole system. This represents the component/system that is measured. There are cases when we want to measure all the system or we need to measure only a part of a system (for example the module that initializes the kernel of operation system). Any action that is executed will generate a response.
 The 5th item is RESPONSE. The response is not all the time visible to the source of stimulus. For example starting operating system of a server that doesn’t has a monitor represent a state change of the running system.
From the moment when the stimulus is generated to the moment when the response is send we need to measure different parameters. These form the last item of our scenario which has been named RESPONSE SCENARIO.  Each response needs to be measurable in one way or another. In our example, the most important thing can be how long the operation system needs to start, but in other cases we can have different parameters (e.g. the monitor).

These are the components that form the scenarios that are used for quality attributes. When we are trying to define the quality attributes of a system we should think about this 6 components.

Comments

Popular posts from this blog

Windows Docker Containers can make WIN32 API calls, use COM and ASP.NET WebForms

After the last post , I received two interesting questions related to Docker and Windows. People were interested if we do Win32 API calls from a Docker container and if there is support for COM. WIN32 Support To test calls to WIN32 API, let’s try to populate SYSTEM_INFO class. [StructLayout(LayoutKind.Sequential)] public struct SYSTEM_INFO { public uint dwOemId; public uint dwPageSize; public uint lpMinimumApplicationAddress; public uint lpMaximumApplicationAddress; public uint dwActiveProcessorMask; public uint dwNumberOfProcessors; public uint dwProcessorType; public uint dwAllocationGranularity; public uint dwProcessorLevel; public uint dwProcessorRevision; } ... [DllImport("kernel32")] static extern void GetSystemInfo(ref SYSTEM_INFO pSI); ... SYSTEM_INFO pSI = new SYSTEM_INFO(...

How to audit an Azure Cosmos DB

In this post, we will talk about how we can audit an Azure Cosmos DB database. Before jumping into the problem let us define the business requirement: As an Administrator I want to be able to audit all changes that were done to specific collection inside my Azure Cosmos DB. The requirement is simple, but can be a little tricky to implement fully. First of all when you are using Azure Cosmos DB or any other storage solution there are 99% odds that you’ll have more than one system that writes data to it. This means that you have or not have control on the systems that are doing any create/update/delete operations. Solution 1: Diagnostic Logs Cosmos DB allows us activate diagnostics logs and stream the output a storage account for achieving to other systems like Event Hub or Log Analytics. This would allow us to have information related to who, when, what, response code and how the access operation to our Cosmos DB was done. Beside this there is a field that specifies what was th...

Cloud Myths: Cloud is Cheaper (Pill 1 of 5 / Cloud Pills)

Cloud Myths: Cloud is Cheaper (Pill 1 of 5 / Cloud Pills) The idea that moving to the cloud reduces the costs is a common misconception. The cloud infrastructure provides flexibility, scalability, and better CAPEX, but it does not guarantee lower costs without proper optimisation and management of the cloud services and infrastructure. Idle and unused resources, overprovisioning, oversize databases, and unnecessary data transfer can increase running costs. The regional pricing mode, multi-cloud complexity, and cost variety add extra complexity to the cost function. Cloud adoption without a cost governance strategy can result in unexpected expenses. Improper usage, combined with a pay-as-you-go model, can result in a nightmare for business stakeholders who cannot track and manage the monthly costs. Cloud-native services such as AI services, managed databases, and analytics platforms are powerful, provide out-of-the-shelve capabilities, and increase business agility and innovation. H...