agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Hallgren <thomas@tada.se>
Cc: Martijn van Oosterhout <kleptog@svana.org>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: PL/Java Development <Pljava-dev@gborg.postgresql.org>
Subject: Re: Shared memory
Date: Mon, 27 Mar 2006 11:32:28 -0500
Message-ID: <15055.1143477148@sss.pgh.pa.us> (raw)
In-Reply-To: <4428125D.7000707@tada.se>
References: <4423CF32.3060406@tada.se>
	<20060324125851.GC8718@svana.org>
	<4427A8F1.3020009@tada.se>
	<14559.1143473507@sss.pgh.pa.us>
	<4428125D.7000707@tada.se>

Thomas Hallgren <thomas@tada.se> writes:
> Tom Lane wrote:
>> It's only that much difference?  Given all the other advantages of
>> separating the JVM from the backends, I'd say you should gladly pay
>> that price.
>> 
> If I'm right, and the most common scenario is clients using connection pools, then it's very 
> likely that you don't get any advantages at all. Paying for nothing with a 440% increase in 
> calling time (at best) seems expensive :-)

You are focused too narrowly on a few performance numbers.  In my mind
the primary advantage is that it will *work*.  I do not actually believe
that you'll ever get the embedded-JVM approach to production-grade
reliability, because of the fundamental problems with threading, error
processing, etc.

			regards, tom lane



view thread (22+ messages)  latest in thread

Message-ID: <15055.1143477148@sss.pgh.pa.us>
Permalink:  ../15055.1143477148@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15055.1143477148@sss.pgh.pa.us

reply

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 using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Cc: tgl@sss.pgh.pa.us, thomas@tada.se, kleptog@svana.org, pgsql-hackers@postgresql.org, Pljava-dev@gborg.postgresql.org
  Subject: Re: Shared memory
  In-Reply-To: <15055.1143477148@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox