Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Caching

propel
Discussion topic

Back to topic list

Caching

Reply

Author Cameron Brunner <cameron dot brunner at gmail dot com>
Full name Cameron Brunner <cameron dot brunner at gmail dot com>
Date 2006-03-13 21:53:27 PST
Message What is the status on building some caching layers into propel? I see
it marked as a 2.0 project but I was just considering something simple
like not double querying if the foreign key count function was called
multiple times (im assigning result sets directly to smarty and its
upto customers to make their templates how they want them, its quite
common to find they are running these multiple times). The main
function that i was looking at that i wanted to optimize currently is
built from

engine/builder/om/ph​p5/PHP5ComplexObject​Builder.php
        protected function addRefFKCount(&$script, ForeignKey $refFK)


Thinking aloud:

Static class that hints when to invalidate caches?
ie.
PropelCacheHinting::​flagDirty(UserBasePe​er::getOMClass()); when there
is a call to set*/delete on the user table (as well as flagging any
cascade reference tables dirty when suitable)
PropelCacheHinting::​checkDirty(UserBaseP​eer::getOMClass(),
UserCommentBasePeer:​:getOMClass(), etc); to check if there were
changes on any tables that affect us

Suggestions? (that dont involve educating users with a LART)


Cameron

« Previous message in topic | 1 of 29 | Next message in topic »

Messages

Show all messages in topic

Caching Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2006-03-13 21:53:27 PST
     Re: [propel-dev] Caching Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2006-03-14 08:04:21 PST
         Re: [propel-dev] Caching Oliver Schonrock <oliver at realtsp dot com> Oliver Schonrock <oliver at realtsp dot com> 2006-03-14 10:08:20 PST
             Re: [propel-dev] Caching hlellelid Hans Lellelid 2006-03-14 10:21:07 PST
                 Re: [propel-dev] Caching "Pedram N dot " <zenstyle at gmail dot com> "Pedram N dot " <zenstyle at gmail dot com> 2006-03-14 11:29:51 PST
                     Re: [propel-dev] Caching Compte messagerie <compte_messagerie at hotmail dot com> Compte messagerie <compte_messagerie at hotmail dot com> 2006-03-14 13:57:55 PST
                 Re: [propel-dev] Caching =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> 2006-03-14 12:10:44 PST
                     Re: [propel-dev] Caching Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2006-03-14 12:18:03 PST
                     Re: [propel-dev] Caching "Pedram N dot " <zenstyle at gmail dot com> "Pedram N dot " <zenstyle at gmail dot com> 2006-03-14 12:19:32 PST
             Re: [propel-dev] Caching Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2006-03-14 10:23:28 PST
                 Re: [propel-dev] Caching hlellelid Hans Lellelid 2006-03-14 10:29:33 PST
                     Re: [propel-dev] Caching Oliver Schonrock <oliver at realtsp dot com> Oliver Schonrock <oliver at realtsp dot com> 2006-03-14 11:39:47 PST
                         Re: [propel-dev] Caching hlellelid Hans Lellelid 2006-03-14 11:47:26 PST
                             Re: [propel-dev] Caching Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2006-03-14 11:54:45 PST
                                 Re: [propel-dev] Caching =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> =?ISO-8859-1?Q?David_Z=FClke?= <dz at bitxtender dot com> 2006-03-14 14:01:41 PST
                                     Re: [propel-dev] Caching Oliver Schonrock <oliver dot schonrock at realtsp dot com> Oliver Schonrock <oliver dot schonrock at realtsp dot com> 2006-03-14 23:15:14 PST
         Re: [propel-dev] Caching Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2006-03-14 17:06:36 PST
             Re: [propel-dev] Caching "Pedram N dot " <zenstyle at gmail dot com> "Pedram N dot " <zenstyle at gmail dot com> 2006-03-14 18:16:30 PST
                 Re: [propel-dev] Caching Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2006-03-14 18:44:11 PST
                     Re: [propel-dev] Caching "Pedram N dot " <zenstyle at gmail dot com> "Pedram N dot " <zenstyle at gmail dot com> 2006-03-14 18:50:16 PST
                     Re: [propel-dev] Caching Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2006-03-14 19:09:41 PST
                         Re: [propel-dev] Caching "Pedram N dot " <zenstyle at gmail dot com> "Pedram N dot " <zenstyle at gmail dot com> 2006-03-14 19:20:54 PST
             Re: [propel-dev] Caching Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2006-03-14 18:19:11 PST
                 Re: [propel-dev] Caching Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2006-03-14 18:37:42 PST
                     Re: [propel-dev] Caching Alan Pinstein <apinstein at mac dot com> Alan Pinstein <apinstein at mac dot com> 2006-03-14 18:43:20 PST
Page: of 2 « Previous | Next »
Messages per page: