agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] optimizing java
Date: Thu, 26 May 2005 10:21:43 +0200
Message-ID: <003301c561cb$ff68a2b0$1e03a8c0@fhrbek> (raw)
References: <d73t3u$6h4$1@sea.gmane.org>
	<42957C9E.2030406@mailblocks.com>
	<thhal-0IBVxA2sBzjYUGo1H4qolM4Tz5d/xU3@mailblocks.com>
	<thhal-0IRVxA20BzjYjRDI+GjmkzbyltoOWSW@mailblocks.com>

Hello,
Thomas, I promised making some reports of memory consumption, which seems
strange to me in some cases... I am sorry but I have too much commercial
work now, we are starting a new project and the project with pl/java has
been delayed a little. But I am sure I will do it (hope soon).
I do think that the startup time is really irrelevant if one makes a good
connection pool. Once it starts, the performance is very good.

Regards
  Filip

----- Original Message ----- 
From: "Thomas Hallgren" <thhal at mailblocks.com>
To: "Marek Lewczuk" <marek at lewczuk.com>
Cc: <pljava-dev at gborg.postgresql.org>
Sent: Thursday, May 26, 2005 9:37 AM
Subject: Re: [Pljava-dev] optimizing java


> Marek Lewczuk wrote:
>
> > Is there any way to improve java VM startup overhead ? Now I use JDK
> > 1.5 and first execution of the pljava takes about 2-3 seconds. I have
> > heard that other (not from SUN) VM are much faster, is it true ?
>
> I'm sure there is. But a general rule of thumb is that the faster the
> startup, the slower the VM. The time the VM consumes at startup is often
> well spent.
>
> The absolute best approach is to minimize the number of startups (and
> the number of VM's). Make heavy use of a connection pool.
>
> Regards,
> Thomas Hallgren
>
>
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev





view thread (3+ messages)

Message-ID: <003301c561cb$ff68a2b0$1e03a8c0@fhrbek>
Permalink:  ../003301c561cb$ff68a2b0$1e03a8c0@fhrbek/
Also on:    postgresql.org/message-id/003301c561cb$ff68a2b0$1e03a8c0@fhrbek

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
  Subject: Re: [Pljava-dev] optimizing java
  In-Reply-To: <003301c561cb$ff68a2b0$1e03a8c0@fhrbek>

* 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