A computing system is composed of two servers that are mirrors of each other (for redundancy, so if one fails, it can be restored from the other). Assume that each server has an expected MTBF of 500 hours and its continuous uptimes (the average of which is MTBF) follow an Exponential Distribution. Furthermore, assume that when a server fails, it takes exactly 10 hours to restore the data from the mirror. (a) Write a program that generates synthetic data showing the failure and restoration times for each server over 20 years. You can assume it is always exact 24 hours per day and exact 365 days per year.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter10: Classes And Data Abstraction
Section: Chapter Questions
Problem 19PE
icon
Related questions
Topic Video
Question

A computing system is composed of two servers that are mirrors of each other (for
redundancy, so if one fails, it can be restored from the other). Assume that each server
has an expected MTBF of 500 hours and its continuous uptimes (the average of which
is MTBF) follow an Exponential Distribution. Furthermore, assume that when a server
fails, it takes exactly 10 hours to restore the data from the mirror.
(a) Write a program that generates synthetic data showing the failure and restoration
times for each server over 20 years. You can assume it is always exact 24 hours per day
and exact 365 days per year.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Instruction Format
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning