Test Results on Memory Usage of Zend Framework and Doctrine with APC

A few interesting observations made by rvdavid; After investigating a recommendation to use Doctrine by a fellow blogger, Brian at Real of Zod, I have decided to run with Doctrine as my Domain Model in Zend Framework projects. The thing is, if I’m going to commit to this, I need to know that applications I build in the future with the Zend Framework while using Doctrine as an integral part of the Model layer will not take performance hits from things like memory usage.

With Doctrine doing a _lot_ of magic, I thought that this would be something that I wanted to see for myself.

4MB Memory to execute a simple Query?!?! Ffffff#$#!!!!

A quick google search took me to a Question posted on StackOverflow about Doctrine Memory Usage. The concerned OP was asking if he had a server misconfiguration or if this was normal for Doctrine to be using so much memory for a simple query. He posted a 4MB difference in Peak Memory Usage between the start of the request before the Doctrine Query was executed and after the Doctrine Query was executed. After reading that, I was a little nervous.

Use Opcode Caching to reduce Memory Usage.

via » rvdavid: A Web Developer's Blog.

Related posts:

  1. Zend Framework + Doctrine 1 Integration Ben­jamin Eber­lei writes; Hello everyone, I com­pleted a first ver­sion...
  2. Deep Integration between Zend Framework and Doctrine 1.2 There’s been a lot of talk online about find­ing the...
  3. Complete Doctrine 1.2x Integration with Zend Framework 1.10+ To achieve com­plete Doc­trine 1 inte­gra­tion with Zend Frame­work some...
  4. Zend Framework 1 and Doctrine 2 Integration Elink Media posts; Doc­trine 2 is in beta. It is...
  5. Writing a Zend_Auth_Adapter with Doctrine Jon Leben­sold pub­lishes another install­ment of his pop­u­lar screen cast...

Tags: , ,

Be the first to comment on "Test Results on Memory Usage of Zend Framework and Doctrine with APC"

Leave a Comment

Get Adobe Flash playerPlugin by wpburn.com wordpress themes