pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Craig Ringer <craig@postnewspapers.com.au>
Cc: PG-JDBC Mailing List <pgsql-jdbc@postgresql.org>
Subject: Re: Cheapest way to poll for notifications? & Driver improvement question re SSL and notify
Date: Mon, 21 Dec 2009 16:30:58 +1300
Message-ID: <4B2EEBF2.7030708@opencloud.com> (raw)
In-Reply-To: <4B2C7A13.9080807@postnewspapers.com.au>
References: <C746D04C.CAE15%scott_ribe@killerbytes.com>
	<4B2267A9.1080302@postnewspapers.com.au>
	<4B2C7A13.9080807@postnewspapers.com.au>

Craig Ringer wrote:

> === Why can't JDBC/SSL just test for data ready to read, anyway? ===

Yeah, the SSL interface does suck :(

I am wondering if we should look at a dedicated read thread per 
connection. In the past I avoided this because it doesn't scale to large 
numbers of connections, and there may be some overhead from context 
switching on I/O (though I haven't measured this). But between issues 
with notifications+SSL, and the increasing number of reports of I/O 
deadlocks, maybe we should look at it again.

-O



view thread (11+ messages)  latest in thread

Message-ID: <4B2EEBF2.7030708@opencloud.com>
Permalink:  ../4B2EEBF2.7030708@opencloud.com/
Also on:    postgresql.org/message-id/4B2EEBF2.7030708@opencloud.com

 · 

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: oliver@opencloud.com, craig@postnewspapers.com.au
  Subject: Re: Cheapest way to poll for notifications? & Driver improvement question re SSL and notify
  In-Reply-To: <4B2EEBF2.7030708@opencloud.com>
  References: <C746D04C.CAE15%scott_ribe@killerbytes.com> <4B2267A9.1080302@postnewspapers.com.au> <4B2C7A13.9080807@postnewspapers.com.au> <4B2EEBF2.7030708@opencloud.com>

* 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