On Fri, Feb 16, 2001 at 09:47:49AM -0800, John McNally wrote:
> 
> > Obviously this caching layer would need some considerable though to
> > consider all the access points to modifying the underlying DB to prevent
> > the DB and cache becoming out of step. And obviously it would only work
> > where the one webapp was the only app accessing the DB. However it would
> > allow the om/peer level to maintain consistency in the examples you give
> > if implemented properly.
> > 
> > What do you think?
> > 
> 
> I think this would be great, but I have quite a bit of reservation about
> implementing something like this in Turbine.  The "only one webapp
> accessing the db" requirement would be a big scalability problem, where
> the purpose of providing the consistent OO model would be to open up the
> possibitlities for more complex software.  I guess I can see some value,
> since the system would be lighter weight than an app server/ejb
> environment and so could potentially allow it to be used in smaller
> applications, but I am not sure the benefit is worth the cost.

I share your reservation to some extent. If the caching functionality
was switchable in the torque properties file though, it would be
possible to use the same application code and OR schema but start
scaling to a larger/wider architecture just by rebuilding the Base
om/peer classes.

This relies on a developer understanding the need to do this if the DB
schema starts being used in a wider context.

However I have a strong suspicion that at present a large body of web
apps developed with Turbine are standalone, and are using the Torque
generated DB schema simply as the backing store for the application data
for that app alone, and in that situation a substantial performance
boost might be gained by implementing some caching, without any cost.

-- 
Sean Legassick
[EMAIL PROTECTED]
      Jag är en man, ingenting mänskligt är främmande för mig  
      
      


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to