Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #5034 > unrolled thread

How to calculate Availability?

Started byxeon Mailinglist <xeonmailinglist@gmail.com>
First post2014-12-29 08:18 -0800
Last post2015-01-01 19:10 +0000
Articles 5 — 3 participants

Back to article view | Back to comp.programming


Contents

  How to calculate Availability? xeon Mailinglist <xeonmailinglist@gmail.com> - 2014-12-29 08:18 -0800
    Re: How to calculate Availability? Geoff <geoff@invalid.invalid> - 2014-12-29 09:08 -0800
      Re: How to calculate Availability? xeon Mailinglist <xeonmailinglist@gmail.com> - 2014-12-29 09:29 -0800
        Re: How to calculate Availability? Geoff <geoff@invalid.invalid> - 2014-12-29 10:08 -0800
    Re: How to calculate Availability? Richard Heathfield <invalid@see.sig.invalid> - 2015-01-01 19:10 +0000

#5034 — How to calculate Availability?

Fromxeon Mailinglist <xeonmailinglist@gmail.com>
Date2014-12-29 08:18 -0800
SubjectHow to calculate Availability?
Message-ID<da85e527-9f82-4335-864f-86b8f254dc4f@googlegroups.com>
I have this question, and I am trying to understand how I can calculate the availability:

The company has two front-end web servers that provide some redundancy in order to ensure service availability. When a client accesses the service, any of the servers can be contacted (this is transparent for the client), and if one server is not available, the other will be used.

a) If the 2 front-end web servers have a reliability of 0.9, what is the availability of the on-line store (measured in terms of the probability that the service will be up and    running from a client perspective)? (Consider that all the other servers do not crash).

My answer is 0.9^2*100. Is it correct?

[toc] | [next] | [standalone]


#5035

FromGeoff <geoff@invalid.invalid>
Date2014-12-29 09:08 -0800
Message-ID<ec23aalun18ue0v5o32pcu8uo5pbrsdm4t@4ax.com>
In reply to#5034
On Mon, 29 Dec 2014 08:18:57 -0800 (PST), xeon Mailinglist
<xeonmailinglist@gmail.com> wrote:

>I have this question, and I am trying to understand how I can calculate the availability:
>
>The company has two front-end web servers that provide some redundancy in order to ensure service availability. When a client accesses the service, any of the servers can be contacted (this is transparent for the client), and if one server is not available, the other will be used.
>
>a) If the 2 front-end web servers have a reliability of 0.9, what is the availability of the on-line store (measured in terms of the probability that the service will be up and    running from a client perspective)? (Consider that all the other servers do not crash).
>
>My answer is 0.9^2*100. Is it correct?

What is the numeric result? Is it logical that two servers with 90%
reliability each, when combined in the manner you describe in order to
increase reliability as viewed by the customer, has a total
reliability that is less than the individual reliabilities?

What does Queuing Theory have to say about this?

[toc] | [prev] | [next] | [standalone]


#5036

Fromxeon Mailinglist <xeonmailinglist@gmail.com>
Date2014-12-29 09:29 -0800
Message-ID<621681fb-0003-4480-9234-6dc7e48e2bf6@googlegroups.com>
In reply to#5035
On Monday, December 29, 2014 5:08:21 PM UTC, Geoff wrote:
> On Mon, 29 Dec 2014 08:18:57 -0800 (PST), xeon Mailinglist
> 
> >I have this question, and I am trying to understand how I can calculate the availability:
> >
> >The company has two front-end web servers that provide some redundancy in order to ensure service availability. When a client accesses the service, any of the servers can be contacted (this is transparent for the client), and if one server is not available, the other will be used.
> >
> >a) If the 2 front-end web servers have a reliability of 0.9, what is the availability of the on-line store (measured in terms of the probability that the service will be up and    running from a client perspective)? (Consider that all the other servers do not crash).
> >
> >My answer is 0.9^2*100. Is it correct?
> 
> What is the numeric result? Is it logical that two servers with 90%
> reliability each, when combined in the manner you describe in order to
> increase reliability as viewed by the customer, has a total
> reliability that is less than the individual reliabilities?
> 
> What does Queuing Theory have to say about this?

I was looking to this question, and I think this question has no answer because reliabitily is not the same thing as availability. It is not possible to convert reliability to availability.

What do you think?

[toc] | [prev] | [next] | [standalone]


#5037

FromGeoff <geoff@invalid.invalid>
Date2014-12-29 10:08 -0800
Message-ID<t953aad7d08s1t69foa0s3rvh0s030blu3@4ax.com>
In reply to#5036
On Mon, 29 Dec 2014 09:29:15 -0800 (PST), xeon Mailinglist
<xeonmailinglist@gmail.com> wrote:

>On Monday, December 29, 2014 5:08:21 PM UTC, Geoff wrote:
>> On Mon, 29 Dec 2014 08:18:57 -0800 (PST), xeon Mailinglist
>> 
>> >I have this question, and I am trying to understand how I can calculate the availability:
>> >
>> >The company has two front-end web servers that provide some redundancy in order to ensure service availability. When a client accesses the service, any of the servers can be contacted (this is transparent for the client), and if one server is not available, the other will be used.
>> >
>> >a) If the 2 front-end web servers have a reliability of 0.9, what is the availability of the on-line store (measured in terms of the probability that the service will be up and    running from a client perspective)? (Consider that all the other servers do not crash).
>> >
>> >My answer is 0.9^2*100. Is it correct?
>> 
>> What is the numeric result? Is it logical that two servers with 90%
>> reliability each, when combined in the manner you describe in order to
>> increase reliability as viewed by the customer, has a total
>> reliability that is less than the individual reliabilities?
>> 
>> What does Queuing Theory have to say about this?
>
>I was looking to this question, and I think this question has no answer because reliabitily is not the same thing as availability. It is not possible to convert reliability to availability.
>
>What do you think?

Yes it is possible but you can't use a reliability computation to
compute availability. The reliability of the system is a factor in
availability but it isn't the only term of the equation as you have
discovered. What you have computed is the series reliability, not the
parallel reliability.

The only time a customer will detect a failure is if both servers have
failed. What is the probability that a customer will find that
condition on contact? 

[toc] | [prev] | [next] | [standalone]


#5038

FromRichard Heathfield <invalid@see.sig.invalid>
Date2015-01-01 19:10 +0000
Message-ID<2Zgpw.273362$td3.59632@fx34.am4>
In reply to#5034
xeon Mailinglist wrote:

> I have this question, and I am trying to understand how I can calculate
> the availability:
> 
> The company has two front-end web servers that provide some redundancy in
> order to ensure service availability. When a client accesses the service,
> any of the servers can be contacted (this is transparent for the client),
> and if one server is not available, the other will be used.
> 
> a) If the 2 front-end web servers have a reliability of 0.9, what is the
> availability of the on-line store (measured in terms of the probability
> that the service will be up and    running from a client perspective)?
> (Consider that all the other servers do not crash).
> 
> My answer is 0.9^2*100. Is it correct?

Server A has an uptime probability of 0.9. Server B has an uptime 
probability of 0.9.

There are four possibilities.

Server A is up AND Server B is up: probability is p.
Server A is up, but Server B is down: probability is q.
Server A is down, but Server B is up: probability is r.
Server A is down, and server B is down: probability is s.

We know that p + q + r + s = 1.0.

Your answer is p, but the answer you need is actually p + q + r. Or, if you 
prefer, 1.0 - s. They amount to the same answer.

I'm deliberately stopping just short of giving you the numerical answer, in 
the hope that you can take it from here.

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

[toc] | [prev] | [standalone]


Back to top | Article view | comp.programming


csiph-web