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 Cameron Brunner <cameron dot brunner at gmail dot com>
Full name Cameron Brunner <cameron dot brunner at gmail dot com>
Date 2007-09-24 22:25:07 PDT
Message 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.

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.

On 9/24/07, Alexander Kahl <akahl at iconmobile dot com> wrote:
> Hi Pedram
>
> On Sat, 2007-09-22 at 18:26 -0400, Pedram Nimreezi wrote:
> > I have a lot of experience with memcache... it was definitely not
> > written to handle this...
> To handle what exactly? According to its docs, It was written primarily
> for caching frequent DBMS requests and load-balancing the results
> between several involved memcache servers.
> Do you mean it wasn't written to handle every single DBMS request
> possible?
>
> > but be that as it may I'm pretty sure it can still be done, it
> > would probably require the chaining of invalidators along with validators in the
> > cache aspect...
> > btw I'm the one that's optimized propel for opcode cache
> > accelerators... it's just
> > not a recent version.... summarily I've learned that the bottle neck
> > is always the
> > database and not how you connect to it... thats why PDO in my opinion
> > is overrated
> > in this context....
> Is this related to the actual discussion? I don't get the point of how
> the DBMS abstraction layer is involved here, sorry.
>
> > you're just not gonna get more performance from the database
> > no matter how much faster you request or convert the data.... increased speed at
> > this tier level is completely application level logic... also if you
> > extract objects
> > from memcache you still need to include the source files so it's still
> > not as if you're
> > pulling data objects hot from the grill...
> You mean requesting memcache data still requires to include Propel's
> generated files to get the actual related request..?
>
>
> --
> 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
>
>


--
Cameron Brunner

Want a better web browser?
http://www.spreadfir​efox.com/?q=affiliat​es&id=182780​&t=1

« Previous message in topic | 5 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: