From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: jgagis@gmail.com
To: pgsql-jdbc@postgresql.org
Subject: Re: JDBC compressed stream
Date: Fri, 17 Jun 2005 14:41:24 -0500
Message-ID: <s2b2e118.040@gwmta.wicourts.gov> (raw)
Since you specifically asked about other solutions than the JDBC driver
itself -- we use a middle tier which makes the JDBC requests. Clients
communicate with the middle tier through non-persistent queue-based JMS
(developed in-house) which can compress the message body. This works
well for us. If you run this middle tier on the database server, the
non-compressed data doesn't go "over the wire".
Alternatively, it would probably be less than a week's work to write a
JDBC driver which just forwarded the requests to a process which used
the postgres JDBC driver to hit the database. You would essentially
forward the requests and responses, with compression around those
portions which would benefit.
Just a couple quick ideas. Maybe it'll get you thinking in a direction
that will work even better for you.
-Kevin
>>> Javier <jgagis@gmail.com> 06/17/05 11:26 AM >>>
. . .
Last question --> Anyone knows any other way to achieve compression
with other kind of solution???
. . .
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: Kevin.Grittner@wicourts.gov, jgagis@gmail.com
Subject: Re: JDBC compressed stream
In-Reply-To: <s2b2e118.040@gwmta.wicourts.gov>
References: <s2b2e118.040@gwmta.wicourts.gov>
* 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