From: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Hannu Krosing <hannu(at)skype(dot)net>, Neil Conway <neilc(at)samurai(dot)com>, Oliver Jowett <oliver(at)opencloud(dot)com>, adnandursun(at)asrinbilisim(dot)com(dot)tr, Peter Eisentraut <peter_e(at)gmx(dot)net>, Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Feature freeze date for 8.1 |
Date: | 2005-05-03 16:51:42 |
Message-ID: | Pine.OSF.4.61.0505031936090.347360@kosh.hut.fi |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
On Tue, 3 May 2005, Tom Lane wrote:
> I am a tad worried about the possibility that if the client does nothing
> for long enough, the TCP output buffer will fill causing the backend to
> block at send(). A permanently blocked backend is bad news from a
> performance point of view (it degrades the sinval protocol for everyone
> else).
Do you mean this scenario:
1. client application doesn't empty its receive buffer (doesn't call
read)
2. server keeps sending data
3. client receive buffer fills
4. server send buffer fills
5. server send blocks.
Unfortunately there's no way to tell if the client is misbehaving or the
network connection is slow or the client is too busy to handle the data
fast enough.
I guess we could increase the send buffer (can it be set per-connection?),
but that only delays the problem.
Does statement_timeout fire on that scenario? How about the new
transaction_timeout option discussed in other threads?
- Heikki
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Hallgren | 2005-05-03 17:02:04 | Re: [pgsql-advocacy] Increased company involvement |
Previous Message | Peter Eisentraut | 2005-05-03 16:45:35 | Re: distributed database |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-05-03 17:39:15 | Re: Feature freeze date for 8.1 |
Previous Message | Tom Lane | 2005-05-03 14:31:11 | Re: Feature freeze date for 8.1 |