pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gunnar Rønning <gunnar@polygnosis.com>
To: Michael Stephenson <mstephenson@tirin.openworld.co.uk>
Cc: 'PostgreSQL jdbc list' <pgsql-jdbc@postgresql.org>
Subject: Re: Re: RE: [ADMIN] High memory usage [PATCH]
Date: 26 Jun 2001 15:47:23 +0200
Message-ID: <m2ofrbbbf8.fsf@smaug.polygnosis.com> (raw)
In-Reply-To: <Pine.LNX.4.30.0106261432330.21133-100000@tirin.openworld.co.uk>
References: <Pine.LNX.4.30.0106261432330.21133-100000@tirin.openworld.co.uk>

* Michael Stephenson <mstephenson@tirin.openworld.co.uk> wrote:
|
| > - Why the ThreadLocal usage, and not just syncronize on the same
| >   SimpleDateFormat ?
| 
| This won't scale. :o)
| 

Why ? Performance measurements I have seen and also done before has indicated 
that synchronization is faster than the usage of ThreadLocal. 

cheers, 

        Gunnar
-- 
Gunnar Rønning - gunnar@polygnosis.com
Senior Consultant, Polygnosis AS, http://www.polygnosis.com/



view thread (46+ messages)  latest in thread

Message-ID: <m2ofrbbbf8.fsf@smaug.polygnosis.com>
Permalink:  ../m2ofrbbbf8.fsf@smaug.polygnosis.com/
Also on:    postgresql.org/message-id/m2ofrbbbf8.fsf@smaug.polygnosis.com

 · 

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 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: gunnar@polygnosis.com, mstephenson@tirin.openworld.co.uk, pgsql-jdbc@postgresql.org
  Subject: Re: [ADMIN] High memory usage [PATCH]
  In-Reply-To: <m2ofrbbbf8.fsf@smaug.polygnosis.com>
  References: <Pine.LNX.4.30.0106261432330.21133-100000@tirin.openworld.co.uk> <m2ofrbbbf8.fsf@smaug.polygnosis.com>

* 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