Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: [propel-dev] memcache support in Propel

propel
Discussion topic

Back to topic list

Re: [propel-dev] memcache support in Propel

Reply

Author Alexander Kahl <akahl at iconmobile dot com>
Full name Alexander Kahl <akahl at iconmobile dot com>
Date 2007-10-02 09:07:26 PDT
Message On Tue, 2007-09-25 at 15:25 +1000, Cameron Brunner wrote:
> memcache knows nothing of relationships, update a parent, the children
> need to be updated too, there in itself lies a HUGE issue. David has
> come up with a concept on how to handle this somewhat but on a site
> with a lot of updates, its completely useless to add a caching layer
> in this respect.
Of course memcache is only the backend for the caching discussed. I'd
really appreciate if you provide a link to the concept you've mentioned.

Let's assume we'd just cache all selects and invalidate the whole cache
upon updates, wouldn't we still get a slight performance boost? At this
point the caching could be improved step by step if possible.

> Anyway, my 2c, propel is the wrong place to be doing this for the most
> part, i would seriously reconsider the level you are trying to
> implement memcache at at this point in time. You could always create a
> wrapper to BlahPeer::doSelect that had an optional cacheTimeout
> variable that let you set a static timeout for the cache but... i'm
> not a fan of time based caches, if they aren't intelligent there is
> little point a lot of the time. Anyway, good luck either way.
That means you'd rather place an additional layer between Propel and
Creole/PDO than coupling the caching with Propel directly? Wouldn't that
mean to duplicate Propel's functionality at some places like
parent-children relationship mappings? So in how far would that be
better?

--
alexander kahl _ developer

iconmobile GmbH _ methfesselstr. 30-36 _ 10965 berlin _ germany
phone +49 30 886633 212 _ fax +49 30 886633 150 _ mobile +49 178 8279256
akahl at iconmobile dot com _ www.iconmobile.com

local court charlottenburg _ hrb 88308
managing directors _ thomas fellger | stefan kirschke
Attachments

« Previous message in topic | 6 of 13 | Next message in topic »

Messages

Show all messages in topic

memcache support in Propel Alexander Kahl <akahl at iconmobile dot com> Alexander Kahl <akahl at iconmobile dot com> 2007-09-21 03:44:35 PDT
     Re: [propel-dev] memcache support in Propel Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2007-09-21 17:04:30 PDT
         Re: [propel-dev] memcache support in Propel Pedram Nimreezi <zenstyle at gmail dot com> Pedram Nimreezi <zenstyle at gmail dot com> 2007-09-22 15:26:22 PDT
             Re: [propel-dev] memcache support in Propel Alexander Kahl <akahl at iconmobile dot com> Alexander Kahl <akahl at iconmobile dot com> 2007-09-24 02:31:12 PDT
                 Re: [propel-dev] memcache support in Propel Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2007-09-24 22:25:07 PDT
                     Re: [propel-dev] memcache support in Propel Alexander Kahl <akahl at iconmobile dot com> Alexander Kahl <akahl at iconmobile dot com> 2007-10-02 09:07:26 PDT
                 Re: [propel-dev] memcache support in Propel Pedram Nimreezi <zenstyle at gmail dot com> Pedram Nimreezi <zenstyle at gmail dot com> 2007-09-24 22:52:39 PDT
                     Re: [propel-dev] memcache support in Propel Alexander Kahl <akahl at iconmobile dot com> Alexander Kahl <akahl at iconmobile dot com> 2007-10-02 09:13:00 PDT
                         Re: [propel-dev] memcache support in Propel Pedram Nimreezi <zenstyle at gmail dot com> Pedram Nimreezi <zenstyle at gmail dot com> 2007-10-04 09:16:28 PDT
                             Re: [propel-dev] memcache support in Propel Alexander Kahl <akahl at iconmobile dot com> Alexander Kahl <akahl at iconmobile dot com> 2007-10-05 05:03:59 PDT
                                 Re: [propel-dev] memcache support in Propel Cameron Brunner <cameron dot brunner at gmail dot com> Cameron Brunner <cameron dot brunner at gmail dot com> 2007-10-05 05:26:37 PDT
                                     Re: [propel-dev] memcache support in Propel Alexander Kahl <akahl at iconmobile dot com> Alexander Kahl <akahl at iconmobile dot com> 2007-10-05 05:50:04 PDT
                                     Re: [propel-dev] memcache support in Propel Pedram Nimreezi <zenstyle at gmail dot com> Pedram Nimreezi <zenstyle at gmail dot com> 2007-10-05 10:53:38 PDT
Messages per page: