Question

In: Computer Science

Provide an example of a real-time application and, to the best of your knowledge, discuss its...

Provide an example of a real-time application and, to the best of your knowledge, discuss its following aspects:

What would be the involved periodic tasks? What would be their release time (or release-time jitter)?

What would be the aperiodic tasks in the application? What would be their release time, i.e., events that would trigger the aperiodic tasks?

What would be the sporadic tasks in the application?

What would be their release time, i.e., events that would trigger the aperiodic tasks?

Solutions

Expert Solution

The Real-time application I am considering for this question is “Online Gaming”.
In online gaming there can be many tasks and processes running in the background to ensure proper gameplay and good user experience.
Please note that these tasks / processes might be different for different online games.

Periodic Tasks:
Periodic tasks are the ones which have regular arrival times and hard deadlines.
Such tasks in an online gaming application can be the anti-cheat system processes which have regular arrival times mostly every 10-20 minutes of user activity in game.
Their responsibility is to send a kind of ping to the official server from the client to verify the connection integrity and user data integrity. It has a hard deadline as if the signal is not sent / received within the given deadline it might trigger a cheat flag.
Other examples of periodic tasks for this application are:
The Ping Bar at the top that shows latency of the connection.
The interaction of user / menu settings.
User / Player health regeneration.
Etc..
Their release time would depend on the kind of task and it is mostly in the range of 5-10 seconds of computation start.


Aperiodic Tasks:
The Aperiodic tasks are the ones which have irregular arrival times and might have a soft / hard deadline.
The Aperiodic tasks for online gaming are:
Button-to-action tasks like shooting and player movement – release time can be varying and mostly is until the user stops interaction with the certain button or control that triggers that task.
Other User-initiated tasks or server initiated tasks like online purchase of game currency. Release time is 10 seconds of inactivity or no-response.
Their triggers can be other aperiodic tasks, user interaction tasks or even periodic server-initiated tasks.


Sporadic Tasks:
Sporadic real-time tasks are the ones which are critical services that can arrive at any time, hard deadlines and keep reoccurring in the background for the proper functionality of application.
They are the load / read / render tasks that load up the scenes in the game, that render the game on your screen and load the game data from your storage to main memory. They can occur at any time as it is up to the player to move to a new level or stay in the same one for a long time, but when ever they progress to a new scene the same task is called to load but with different parameters.
Their release times can be 10 seconds or more depending on the GPU and the system’s processing power.
They are triggered by user movement and user interaction tasks.


Related Solutions

Provide an example of a real-time application and, to the best of your knowledge, discuss its...
Provide an example of a real-time application and, to the best of your knowledge, discuss its following aspects: What would be the involved periodic tasks? What would be their release time (or release-time jitter)? What would be the aperiodic tasks in the application? What would be their release time, i.e., events that would trigger the aperiodic tasks? What would be the sporadic tasks in the application? What would be their release time, i.e., events that would trigger the aperiodic tasks?
Provide at least one example of a real-life application of a titration related to your major/intended...
Provide at least one example of a real-life application of a titration related to your major/intended career path. Include citations for resources used on this question. Electrical Engineering ___________________
Provide an example of how your organization uses managerial accounting. Discuss why this application of managerial...
Provide an example of how your organization uses managerial accounting. Discuss why this application of managerial accounting contributes the organization's success
Discuss a real life example of a business process and explain how the knowledge processes are...
Discuss a real life example of a business process and explain how the knowledge processes are embedded in the business process. Hence, comment on the effectiveness for ONE of the knowledge processes as identified in the example and propose a knowledge management system (KMS) to improve it.
•Provide one (1) real-life example or application of a binomial distribution. Explain how the example matches...
•Provide one (1) real-life example or application of a binomial distribution. Explain how the example matches the conditions for the binomial distribution. •Determine the conditions under which you would use a discrete probability distribution rather than a continuous probability distribution. Provide one (1) example to illustrate your reasoning
What is the Central Limit Theorem? Discuss an example of its application.
What is the Central Limit Theorem? Discuss an example of its application.
Discuss the risk-benefit analysis, please provide examples of its application.
Discuss the risk-benefit analysis, please provide examples of its application.
Discuss the application of multiple regression model using a real-life example. [Hint: You are supposed to...
Discuss the application of multiple regression model using a real-life example. [Hint: You are supposed to examine a possible relationship between a dependent and at least three important independent variables in the example which you have chosen. Identify dependent variable and independent variable and write the mathematical regression equation for the example and explain each component of the equation.]
Provide an example in which real-time data can be used as a competitive advantage for corporations....
Provide an example in which real-time data can be used as a competitive advantage for corporations. Why do you feel this real-time data is an advantage? How long can the advantage last?
Provide a real-world example of a wholesaler, a distributor, and a retailer. Discuss the differences among...
Provide a real-world example of a wholesaler, a distributor, and a retailer. Discuss the differences among them.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT