Month: June 2012

Home

*Crickets* …

Ok, six months, no posts. It isn’t that I have been busy, just that I have been busy.

I am currently working on a project that will require using memcached (to store sessions and model data) for a Symfony2 with Propel 1.6 project. When I get it all worked out I will let you know how to do the same.

Propel has an “instancePool” that acts like a model cache, except that it is stored in a static property on the model peer class. This works great for a single server setup with APC, but not so well for sharing the pool between multiple servers by sharing a memcache server between them. I am thinking that I will probably need to use a Propel Behavior to modify the peer classes at generation time. But I am just getting started down that road, and this is not a tech post, more of a “reports of my death are greatly exaggerated” post.