Behavior Based Consumption Profiles

What are the Behavior Based Consumption Profiles (BBCP)?

The Behavior-Based Consumption Profiles (BBCP) is an external Domain-Specific Language (DSL) aimed at assisting software architects and designers in modeling the behavior of software. The models generated with our external DSL contain multiple sets of properties that characterize features of the software’s behavior. In contrast to other modeling languages, our BBCP emphasizes how time and probability are involved in software execution and its evolution over time, helping its users to gather an expectation of software usage and hardware consumption from the initial stages of software development.

Main related publications

Sample models

Game Streaming Service

To provide an example that demonstrates a realistic use case for our BBCP, we analyzed an existing application from the perspective of service-oriented architectures (SOA) and created a couple of example BBCPs to simulate the behavior of the target application Geforce Now, a cloud gaming service developed by NVIDIA. In cloud gaming, the hardware responsible for running the game and managing inputs and outputs from and to the consumer is in the cloud (a computer cluster in the network), making use of software as a service delivery model (SaaS) based on subscriptions.
The user provides hardware peripheral input such as mouse movement and keyboard strokes to the cloud through the internet, which in turn gets processed to provide the user with an output, usually in the form of video and audio, also sent over the internet. We chose this application due to the popularity of streaming platforms and its easy architectural abstraction into components. From a SOA perspective, there are 2 services that we profiled: the catalog service and the stream service.
The catalog service is responsible for offering the user a catalog of the available games to play. Once a game is selected, the game stream service is responsible for the rest of the I/O operations until the user decides to stop playing. The objective of the example is to obtain an estimation of the energy consumption of the game stream service using BBCPs in coalition with the time constraints that the subscription service employs to limit the behavior of the user.

Contributors

Main Contributors

Acknowledgments

  • Project PID2020-113037RB-I00 / AEI / 10.13039/501100011033 — Next-gEnerATion dAta Management to foster suitable Behaviors and the resilience of cItizens against modErN ChallEnges (NEAT-AMBIENCE)
  • Government of Aragon (COSMOS research group; last group reference: T64_23R; previous group reference: T64_20R)
NEAT-AMBIENCE
COSMOS