X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 049D4D1DAA2 for ; Mon, 1 Dec 2003 20:30:38 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 79009-03 for ; Mon, 1 Dec 2003 16:30:07 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 24670D1D61F for ; Mon, 1 Dec 2003 16:27:41 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id hB1KRZbI049855 for ; Mon, 1 Dec 2003 20:27:35 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id hB1K9tul047119 for pgsql-admin@postgresql.org; Mon, 1 Dec 2003 20:09:55 GMT From: Christopher Browne X-Newsgroups: comp.databases.postgresql.admin Subject: Re: eRserver Date: Mon, 01 Dec 2003 14:34:46 -0500 Organization: Hub.Org Networking Services Lines: 32 Message-ID: <608ylwgwmh.fsf@dev6.int.libertyrms.info> References: <1068237893.1041.46.camel@linux.local> <3FC7AFCC.3020402@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.hub.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Reasonable Discussion, linux) Cancel-Lock: sha1:RQfIr0ba1KfeYQr+QR4LAJAJM4g= To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/43 X-Sequence-Number: 11551 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];; Christopher Browne (416) 646 3304 x124 (land)