D
D
divanikus2010-09-21 20:31:18
PHP
divanikus, 2010-09-21 20:31:18

Load from Doctrine

I know sports interest, how much does the use of Doctrine load the server? I tried version 1.2, it was very embarrassing that only connecting the doctrine immediately increases the memory consumption per page by 3 MB ...

But in general, I really liked the thing, so I would like to use it. How are things with version 2.0?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
F
FAST, 2010-09-21
@divanikus

Use it, if you know how to cook it, it is quite effective. Well, do not forget that this is still orm, and not native sql, this is about 3mb.
And 2.0 is promised faster. And in terms of eating memory and in terms of speed. As far as I remember, in the developers' blog on alphas they wrote about 30 and 15 percent, respectively.

D
Davert, 2010-09-21
@Davert

We even use it in our demons, not without crutches, of course, but the very fact that such use is possible says a lot.

D
Davert, 2010-09-21
@Davert

By the way, if you want to optimize memory, use hydration only in an array, or hydrate objects manually.

V
Vyacheslav Plisko, 2010-09-22
@AmdY

there is a section on performance in the doctrine doc. and 3 meters is ridiculous, given that the opcode cache will smooth out this overflow. By the way, they wrote about it in the blog.

Z
zizop, 2011-01-08
@zizop

php5-fpm+apc+nginx. It is loaded once and lies in memory. Fumbles on php5-fpm processes. Overhead is minimal.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question