pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul van den Bogaard <Paul.Vandenbogaard@Sun.COM>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Kris Jurka <books@ejurka.com>
Cc: Dave Cramer <pg@fastcrypt.com>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: Heikki Linnakangas <heikki@enterprisedb.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Caching driver on pgFoundry?
Date: Thu, 06 Sep 2007 11:31:03 +0200
Message-ID: <956CBA7B-8B02-4EFD-BAD1-99107E4A7242@Sun.COM> (raw)
In-Reply-To: <46DFC4ED.607@opencloud.com>
References: <200709050825.27080.josh@agliodbs.com>
	<200709050911.09478.josh@agliodbs.com>
	<46DED76E.9050706@enterprisedb.com>
	<200709050937.29027.josh@agliodbs.com>
	<Pine.BSO.4.64.0709051313050.30413@leary.csoft.net>
	<8FD2948B-9513-4611-9310-908CA253EECD@fastcrypt.com>
	<Pine.BSO.4.64.0709051404440.13924@leary.csoft.net>
	<159CA908-A763-4FB0-824F-8DCF3A3DD22C@fastcrypt.com>
	<Pine.BSO.4.64.0709051422300.9654@leary.csoft.net>
	<B337BC1A-587D-44A7-8C3D-B68A378034DC@sun.com>
	<46DFC4ED.607@opencloud.com>

Seen this too. However I did spend a significant amount of time  
tuning these applications since they have to deliver a certain  
throughput.  Statement caching is definitely helpful in those cases.  
For the ones you describe could it be that the dbase layer is just  
storage and not part of the (critical) performance path?
If the database related work is critical in performance/throughput  
than caching is a welcome technology.
I found this matters for the lower level apps to establish  call  
setups, check balance on pre paid, and these basic thing were every  
tick translates into a tiny bit of money. Unfortunately there are an  
awful lot of these tiny little bits. This is what makes it so  
interesting from a performance tuning perspective that is.
And yes some of the telco ISVs use Times Ten to do it all in memory.  
In that case everything is cached. Mmmm could be a nice extension for  
PG...

--Paul


On 6-sep-2007, at 11:14, Oliver Jowett wrote:

> Paul van den Bogaard wrote:
>
>> Finally it is not just appsservers out there. Lots if J2SE  
>> application exist in at least the Telco segment. Would love to see  
>> these guys to adopt a free database instead of Oracle that is all  
>> over that place.
>
> Going off at a bit of a tangent here.. OpenCloud does telco  
> infrastructure software and we package postgresql with our product  
> to do persistence of long-lived state (deployed services, cluster  
> configuration, customer provisioning data etc). The statement  
> caching stuff is not really an issue either way for what we do,  
> since we already intelligently reuse statements in our persistance  
> layer.
>
> One thing we've found is that our customers don't really care about  
> database setup for this sort of use, they want it to "just work".  
> In fact we package Derby instead of PostgreSQL with our development  
> versions just so there's one less thing for the developer to set  
> up. So even if we cared about statement caching it wouldn't really  
> matter if it was together with the driver or a separate package as  
> we'd still end up doing all the packaging together with the  
> application and testing of the combined product.
>
> While what we do is essentially an appserver (JAIN SLEE) I suspect  
> the same applies to standalone java telco apps, you're going to be  
> doing DB integration as part of your app not as something that gets  
> plugged in afterwards, so I'm not sure how relevant having it in  
> the standard driver is.
>
> -O

------------------------------------------------------------------------ 
---------------------
Paul van den Bogaard                                
Paul.vandenBogaard@sun.com
CIE -- Collaboration and ISV Engineering, Opensource Engineering group

Sun Microsystems, Inc                              phone:        +31  
334 515 918
Saturnus 1                                                  
extentsion: x (70)15918
3824 ME Amersfoort                                 mobile:       +31  
651 913 354
The Netherlands                                         
fax:            +31 334 515 001




view thread (50+ messages)  latest in thread

Message-ID: <956CBA7B-8B02-4EFD-BAD1-99107E4A7242@Sun.COM>
Permalink:  ../956CBA7B-8B02-4EFD-BAD1-99107E4A7242@Sun.COM/
Also on:    postgresql.org/message-id/956CBA7B-8B02-4EFD-BAD1-99107E4A7242@Sun.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-jdbc@postgresql.org
  Cc: Paul.Vandenbogaard@Sun.COM, oliver@opencloud.com, books@ejurka.com, pg@fastcrypt.com, josh@agliodbs.com, heikki@enterprisedb.com
  Subject: Re: Caching driver on pgFoundry?
  In-Reply-To: <956CBA7B-8B02-4EFD-BAD1-99107E4A7242@Sun.COM>
  References: <200709050825.27080.josh@agliodbs.com> <200709050911.09478.josh@agliodbs.com> <46DED76E.9050706@enterprisedb.com> <200709050937.29027.josh@agliodbs.com> <Pine.BSO.4.64.0709051313050.30413@leary.csoft.net> <8FD2948B-9513-4611-9310-908CA253EECD@fastcrypt.com> <Pine.BSO.4.64.0709051404440.13924@leary.csoft.net> <159CA908-A763-4FB0-824F-8DCF3A3DD22C@fastcrypt.com> <Pine.BSO.4.64.0709051422300.9654@leary.csoft.net> <B337BC1A-587D-44A7-8C3D-B68A378034DC@sun.com> <46DFC4ED.607@opencloud.com> <956CBA7B-8B02-4EFD-BAD1-99107E4A7242@Sun.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