From: Christopher Browne <cbbrowne@libertyrms.info>
To: pgsql-admin@postgresql.org
Subject: Re: eRserver
Date: Mon, 01 Dec 2003 14:34:46 -0500
Message-ID: <608ylwgwmh.fsf@dev6.int.libertyrms.info> (raw)
References: <1068237893.1041.46.camel@linux.local>
<3FC7AFCC.3020402@yahoo.com>
renneyt@yahoo.com (Renney Thomas) writes:
> I would like to hear about any issues related to erserver. I was a
> little concerned about its use of Java. Java is a great tool for
> creating application frameworks for the payroll department, but using
> it for back-end system-level application programming is a bit
> unnerving. Java is generally slow, memory and CPU intensive and
> doesn't provide for tight integration like C/C++ applications.
There are things about Java that cause me concern, but I would dispute
this being the total story.
The thing about database-based applications is that they wind up
hitting the _database_ pretty hard. And when the bulk of the work is
database queries, where it's _PostgreSQL_ doing the work, it's not
Java that is likely to be the bottleneck.
Replication is certainly no exception to this. The bulk of
replication work takes place in the database. In extreme cases, there
_may_ be Java-based bottlenecks to be found, but that doesn't seem to
be the typical case.
In addition, I think you're looking at Java as how it was 4 years ago.
Sun has relearned some of the things about garbage collection learned
15 years earlier in the Lisp community. They have built larger sets
of compiled-to-machine-language libraries akin to LIBC, so that
increasing portions of "system calls" are run as plenty fast compiled
code. And JIT means that raw Java isn't as slow as it used to be.
--
let name="cbbrowne" and tld="libertyrms.info" in String.concat "@" [name;tld];;
<http://dev6.int.libertyrms.com/;
Christopher Browne
(416) 646 3304 x124 (land)
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-admin@postgresql.org
Cc: cbbrowne@libertyrms.info
Subject: Re: eRserver
In-Reply-To: <608ylwgwmh.fsf@dev6.int.libertyrms.info>
References: <1068237893.1041.46.camel@linux.local> <3FC7AFCC.3020402@yahoo.com> <608ylwgwmh.fsf@dev6.int.libertyrms.info>
* 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