Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xlkb4-0004Qv-Mw for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Nov 2014 20:20:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xlkb3-0002e0-UN for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Nov 2014 20:20:57 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xlkb2-0002d5-Qs; Tue, 04 Nov 2014 20:20:56 +0000 Received: from mail-am1on0670.outbound.protection.outlook.com ([2a01:111:f400:fe00::670] helo=emea01-am1-obe.outbound.protection.outlook.com) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xlkax-00088Q-Eh; Tue, 04 Nov 2014 20:20:54 +0000 Received: from AM2PR07MB0660.eurprd07.prod.outlook.com (25.160.55.151) by AM2PR07MB0690.eurprd07.prod.outlook.com (25.160.56.146) with Microsoft SMTP Server (TLS) id 15.1.11.14; Tue, 4 Nov 2014 20:20:05 +0000 Received: from AM2PR07MB0659.eurprd07.prod.outlook.com (25.160.55.150) by AM2PR07MB0660.eurprd07.prod.outlook.com (25.160.55.151) with Microsoft SMTP Server (TLS) id 15.1.11.14; Tue, 4 Nov 2014 20:20:04 +0000 Received: from AM2PR07MB0659.eurprd07.prod.outlook.com ([25.160.55.150]) by AM2PR07MB0659.eurprd07.prod.outlook.com ([25.160.55.150]) with mapi id 15.01.0011.000; Tue, 4 Nov 2014 20:20:04 +0000 From: Mikko Tiihonen To: Kevin Wooten , Craig Ringer CC: Andres Freund , "pgsql-hackers@postgresql.org" , "pgsql-jdbc@postgresql.org" Subject: Re: [JDBC] Pipelining executions to postgresql server Thread-Topic: [JDBC] [HACKERS] Pipelining executions to postgresql server Thread-Index: AQHP9doTvFE5xFKaR0KPR7jlrL4JypxMB5MAgAEyENiAAAo8AIAAAUG7gAGzzACAAGMpD4AAwZIAgACNsICAADRgbQ== Date: Tue, 4 Nov 2014 20:20:04 +0000 Message-ID: <1415132403633.89501@nitorcreations.com> References: <1414850643686.34687@nitorcreations.com> <20141101173116.GR13584@awork2.anarazel.de> <1414930308808.49160@nitorcreations.com> <20141102122320.GB28295@alap3.anarazel.de> <1414934833900.88748@nitorcreations.com> <545790D8.9090201@2ndquadrant.com> <1415058981678.77807@nitorcreations.com> <54588668.2090305@2ndquadrant.com>, In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [89.27.31.97] x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:AM2PR07MB0660;UriScan:; x-exchange-antispam-report-test: UriScan:; x-forefront-prvs: 03853D523D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(377454003)(51704005)(24454002)(189002)(199003)(51444003)(40100003)(101416001)(122556002)(21056001)(93886004)(99396003)(19580395003)(19580405001)(54356999)(76176999)(36756003)(120916001)(97736003)(2656002)(87936001)(20776003)(92726001)(92566001)(62966003)(77096003)(86362001)(117636001)(46102003)(66066001)(4396001)(64706001)(77156002)(95666004)(105586002)(106116001)(31966008)(107046002)(50986999)(106356001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR07MB0660; H:AM2PR07MB0659.eurprd07.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:AM2PR07MB0690; X-OriginatorOrg: nitorcreations.com X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Kevin Wooten wrote: > > On Nov 4, 2014, at 12:55 AM, Craig Ringer wrote: > > > > I have to say I like some aspects of how pgjdbc-ng is being done - in > > particular use of Maven and being built around non-blocking I/O. > > > > OTOH, the use of Google Guava I find pretty inexplicable in a JDBC > > driver, and since it hard-depends on JDK 7 I don't understand why Netty > > was used instead of the async / non-blocking features of the core JVM. > > That may simply be my inexperience with writing non-blocking socket I/O > > code on Java though. > > Java6 has been EOL since 2011 and Java7 is EOL in less than 6 months. I thi= nk that depending on old Java 7 version that soon should not even be used in production (without paying for extra support) can hardly be too hard requir= ement. > It confuses me as to why you consider using stable, well implemented, wel= l tested and well cared for libraries as inexplicable. > Just because we a= re building a =93driver=94 means we have to write every line of code oursel= ves? No thanks. Embedding parts of other projects into code-base during build with renamed = packages is nowadays common practice in java projects: spring does it, elas= ticsearch embeds whole netty and more, even jre embeds for example xerces a= nd asm. It might not be the optimal solution, but still definitely better than writ= ing everything from scratch or copy-pasting code from other projects. If pgjdbc-ng provides both a thin maven version (with external versioned de= pendencies) and a fat-jar with the external versions repackaged inside the = users can choose either old way: just-drop-a-jdbc-jar-into-project or new w= ay with their chosen build tool that automatically manages the dependencies. -Mikko --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers