Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id DE236632F6B for ; Mon, 21 Dec 2009 11:56:28 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 19933-04-2 for ; Mon, 21 Dec 2009 15:56:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.211.179]) by mail.postgresql.org (Postfix) with ESMTP id 44D7C6322B4 for ; Mon, 21 Dec 2009 11:56:06 -0400 (AST) Received: by ywh9 with SMTP id 9so4589152ywh.19 for ; Mon, 21 Dec 2009 07:56:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:cc:content-type; bh=QT8dBdXhjBB90tov0emwg1vRO9VjuaUHz7ASoRX5vNw=; b=oH+Qy+8Grg5V7GCJYVr2sCg+ZssfgXC64uYVMMRBHlsiLOH05gva6/gA5TQHRPtgZK PoUMGWaw5IWDpRx9UEGtPLzHBEoinq6d5lBp1ZMAczPwvrelnXL9sPzFVu7yxRVg1LCN TCXfsOKaMBsUueRpFomFuUlNOJ+6dDNrsbsPA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; b=Ppfi5aaR2NKQ3jO6jMQx/nBPEfAa7HqV3pG/rlw7XnfRzTFM05BnFTzg7txdJKDuR+ jqKtArNLaTSsJQ350svS81+3GlZeoCaV7V5RYZsvI0qpx+cP4W+TxZWIDAphkcjS+HaU ApJ35pTbXQDsugX8IZ/oSFr3aCWYlF0JBEqyQ= MIME-Version: 1.0 Received: by 10.101.200.37 with SMTP id c37mr11741088anq.34.1261410964167; Mon, 21 Dec 2009 07:56:04 -0800 (PST) In-Reply-To: <134480926682ced9a45f80b30fedac0e@smogura-softworks.eu> References: <4B2267A9.1080302@postnewspapers.com.au> <4B2C7A13.9080807@postnewspapers.com.au> <675723c4dae1093da0a64f50ac6327e7@smogura-softworks.eu> <4B2F6999.2050309@postnewspapers.com.au> <4B2F7BA0.4080106@postnewspapers.com.au> <134480926682ced9a45f80b30fedac0e@smogura-softworks.eu> Date: Mon, 21 Dec 2009 17:56:04 +0200 Message-ID: <331e40660912210756t1cfa57e1oc8edcc69de52309a@mail.gmail.com> Subject: Re: Cheapest way to poll for notifications? & Driver improvement question re SSL and notify From: =?KOI8-U?B?96bUwcymyiD0yc3eydvJzg==?= Cc: PG-JDBC Mailing List Content-Type: multipart/alternative; boundary=0016e68dec256f5b6d047b3f20a6 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.553 tagged_above=-10 required=5 tests=BAYES_20=-0.74, HTML_MESSAGE=0.001, MISSING_HEADERS=1.292 X-Spam-Level: X-Archive-Number: 200912/80 X-Sequence-Number: 20161 --0016e68dec256f5b6d047b3f20a6 Content-Type: text/plain; charset=ISO-8859-1 2009/12/21 > > I think the background thread, especially timer thread is better solution > then sending data to server. > > I disagree because this task (receive notifications) is not an often task. There are many many installations that do not need it. And prefer to implement such a task in inefficient way than to make all the connections in the world more complex and resource-consuming. Best regards, Vitalii Tymchyshyn --0016e68dec256f5b6d047b3f20a6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

2009/12/21 <rsmogura@softperience.pl>

I think the background thread, especially timer thread is better solution then sending data to server.


I disagree= because this task (receive notifications) is not an often task. There are = many many installations that do not need it. And=A0 prefer to implement suc= h a task in inefficient way than to make all the connections in the world m= ore complex and resource-consuming.

Best regards, Vitalii Tymchyshyn
--0016e68dec256f5b6d047b3f20a6--