Hi!

> Uhm, I'm not sure I understand :-? Weren't I supposed to measure exacly
> that? Let me know, if you wanted something else to be compared.

I wanted to know why we need persistent resources. You brought comparing
persistent resources to reopening connection each time as an argument
that we need persistent resources. This, however, is not a good argument
for persistent resources, as the same performance improvement (or nearly
the same, discounting the closing/opening between requests - which may
be necessary anyway, see below) can be achieved without having
persistent resources, just by implementing HTTP keepalive within the
same connection object. It would also make it clearer who owns the
connection and in which state it is, right now I'm not sure what exactly
ensures the client can not end up with somebody else's connection in an
unclean state.

-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to