On 09.05.2011, at 11:25, Mauricio Morales wrote:

> Hello guys,
> 
> I'm using Symfony2 to build a big application that will support a web
> with a lot of traffic. During the tests we noticed that it was reading
> a lot from disk. We are using MongoDB and annotation tags, and what I
> also noticed is that it's parsing the files to get the metadata on
> each request and actually many times during the same request.
> 
> Look at this:
> http://cl.ly/1H2h062A3a122v370Y0M
> 
> The annotations parser happened to be consuming 25% of the request
> processing. My question is, did you guys know about this?, is it
> fixable via config or might it be a bug?.
> 
> In the other hand, what's the best way to configure these bundles and
> tune the web application for a better performance.


sounds like you are using proxy autogeneration. this means that the proxy 
classes are generated on each request.
use the generate:proxies command and disable proxy autogeneration.

regards,
Lukas Kahwe Smith
[email protected]



-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to