How often is the server overloaded?
A web server is either healthy or overloaded each minute, and the next minute depends only on the current one:
- If healthy now, it becomes overloaded next minute with probability (and stays healthy with probability ).
- If overloaded now, it becomes healthy next minute with probability (and stays overloaded with probability ).
In the long run, what fraction of minutes is the server overloaded?
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion Β· reading is open to everyone
π‘ Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussionβ¦
Learn the concepts
The theory behind this question.
Related questions
Gas molecules shuffling between two chambersThe random surfer's favourite web pageLong-run share of airport tripsLong-run share of active membersWhat fraction of time is the heater running?Long-run share in maintenance
All questions β