pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Question about connections
2+ messages / 2 participants
[nested] [flat]

* Question about connections
@ 2004-05-25 09:15 Vitaly Shimansky <desert_illusion@optiline.lv>
  2004-06-01 03:07 ` Re: Question about connections Dave Cramer <pg@fastcrypt.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Vitaly Shimansky @ 2004-05-25 09:15 UTC (permalink / raw)
  To: pgsql-jdbc

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.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Question about connections
  2004-05-25 09:15 Question about connections Vitaly Shimansky <desert_illusion@optiline.lv>
@ 2004-06-01 03:07 ` Dave Cramer <pg@fastcrypt.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Dave Cramer @ 2004-06-01 03:07 UTC (permalink / raw)
  To: Vitaly Shimansky <desert_illusion@optiline.lv>; +Cc: pgsql-jdbc

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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-06-01 03:07 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-05-25 09:15 Question about connections Vitaly Shimansky <desert_illusion@optiline.lv>
2004-06-01 03:07 ` Dave Cramer <pg@fastcrypt.com>

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