Re: Memory requirements for web-project

From: "Mitch Vincent" <mitch(at)venux(dot)net>
To: "Boris" <koester(at)x-itec(dot)de>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Memory requirements for web-project
Date: 2001-02-04 17:57:33
Message-ID: 006101c08ed4$7deaba80$0200000a@windows
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

It depends on what you're doing per "hit"... I could allocate a hell of a
lot of memory in 3 seconds :-)

Buy twice as much RAM as you think you'll need, that way you're safe! I'd
get as much RAM as possible anyway, especially now that it's as cheap as it
is... 1 gig will only set you back several hundred dollars..

-Mitch

----- Original Message -----
From: "Boris" <koester(at)x-itec(dot)de>
To: <pgsql-general(at)postgresql(dot)org>
Sent: Sunday, February 04, 2001 11:10 AM
Subject: Memory requirements for web-project

> Hello pgsql-general,
>
> i need to calculate the memory requirement if i am using apache+pgsql.
>
> Lets assume that i want 160.000 hits a day and pgsql takes 3 seconds
> to work for each client, how much ram is required specially for pgsql?
>
> I think I have to calculate the memory requiremend for a specific time
> period.
>
> 160.000 hits are wanted, so I calculate 160.000 div 24 = approx 6666
> Hits a hour, div 60 = 111 Hits a minute, = 1,85 Hits per secound.
>
> lets round it up to 2 hits per secound. So I calculate now
> 2 hits per second * 3 seconds for a client
> = 6 processes at the same time,
>
> is that correct?
>
> If so, how much is the memory requiremend? I have seen with "TOP" that
> pgsql requires 5000kb for a request, but it is used per client (new
processes for
> each new client-request?)
>
>
> --
> Boris
> www.x-itec.de
>
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-02-04 18:47:36 Re: DEBUG strings
Previous Message GH 2001-02-04 17:37:34 Re: Memory requirements for web-project