agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feed[Pljava-dev] optimizing java
3+ messages / 0 participants
[nested] [flat]
* [Pljava-dev] optimizing java
@ 2005-05-26 07:18
2005-05-26 07:37 ` [Pljava-dev] optimizing java
0 siblings, 1 reply; 3+ messages in thread
From: @ 2005-05-26 07:18 UTC (permalink / raw)
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 ?
Thanks in advance.
ML
^ permalink raw reply [nested|flat] 3+ messages in thread
* [Pljava-dev] optimizing java
2005-05-26 07:18 [Pljava-dev] optimizing java
@ 2005-05-26 07:37 `
2005-05-26 08:21 ` [Pljava-dev] optimizing java
0 siblings, 1 reply; 3+ messages in thread
From: @ 2005-05-26 07:37 UTC (permalink / raw)
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
^ permalink raw reply [nested|flat] 3+ messages in thread
* [Pljava-dev] optimizing java
2005-05-26 07:18 [Pljava-dev] optimizing java
2005-05-26 07:37 ` [Pljava-dev] optimizing java
@ 2005-05-26 08:21 `
0 siblings, 0 replies; 3+ messages in thread
From: @ 2005-05-26 08:21 UTC (permalink / raw)
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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2005-05-26 08:21 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-05-26 07:18 [Pljava-dev] optimizing java
2005-05-26 07:37 `
2005-05-26 08:21 `
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox