pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: Vitaly Shimansky <desert_illusion@optiline.lv>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: Question about connections
Date: Mon, 31 May 2004 23:07:47 -0400
Message-ID: <1086059267.1585.9.camel@localhost.localdomain> (raw)
In-Reply-To: <003701c44238$cc7ecb80$9075b4d5@desertpentium>
References: <003701c44238$cc7ecb80$9075b4d5@desertpentium>

First, no there are no other possibilities.

second, assuming the applet requires a constant connection to the db,
then you need as many connections as you expect users.

if that assumption isn't correct and you can use pooling then probably
20 connections would be sufficient as long as you can keep their tasks
short, and return the connection quickly.

Dave
On Tue, 2004-05-25 at 05:15, Vitaly Shimansky wrote:
> If i have applet in HTML code that connects to PostgreSQL using
> JDBC(are there any other possibilities?), how many connections should
> i set in Pg configuration file? Because i can't know how many
> concurrent users(visitors) will be on my web page? 
> Thanks for answering!
> Vitaly Shimansky
> Riga, Latvia
>  
>  
> P.S. If this address is not for that kind of questions please let me
> know.
> !DSPAM:40bbaab615671206916483!
-- 
Dave Cramer
519 939 0336
ICQ # 14675561




view thread (2+ messages)

Message-ID: <1086059267.1585.9.camel@localhost.localdomain>
Permalink:  ../1086059267.1585.9.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1086059267.1585.9.camel@localhost.localdomain

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: pg@fastcrypt.com, desert_illusion@optiline.lv
  Subject: Re: Question about connections
  In-Reply-To: <1086059267.1585.9.camel@localhost.localdomain>
  References: <003701c44238$cc7ecb80$9075b4d5@desertpentium> <1086059267.1585.9.camel@localhost.localdomain>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox