<div><br></div>Yes, I mean that session should be used to store/retrieve some unique id that will be used to get all user-specific data. Direct session usage to store these data creates a significant overhead.<div>Here is more detailed review <a href="http://phpchunk.net/2011/06/speed-up-your-sessions-part-1-best-practices/">http://phpchunk.net/2011/06/speed-up-your-sessions-part-1-best-practices/</a></div>
<div><br></div><div>---</div><div>Victor</div><div><br><div class="gmail_quote">On Thu, Sep 20, 2012 at 11:59 AM, Frank Karlitschek <span dir="ltr"><<a href="mailto:frank@owncloud.org" target="_blank">frank@owncloud.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On 19.09.2012, at 22:52, Robin Appelman <<a href="mailto:icewind@owncloud.com">icewind@owncloud.com</a>> wrote:<br>
<br>
> On Wednesday 19 September 2012 23:06:15 Victor Dubiniuk wrote:<br>
>> Handling a session is quite expensive operation for PHP in general. You<br>
>> know it stores the session data in ordinary files.<br>
><br>
> We could use xcache/apc/memcached instead of sessions where available, do we<br>
> storage anything in the session besides the user id?<br>
><br>
> - Robin Appelman<br>
<br>
</div>I´m not sure.<br>
I´ve seen and used the PHP Session management in high performance environments before and it works just fine. I think the more interesting question is how we use it.<br>
I mean how often do we read and write data and how much data do we store in the session. I´m sure we can optimize a lot here.<br>
<br>
By the way: Klaas and I discussed yesterday a strange bug. In the WebDAV http response header are two<br>
Set-Cookie: PHPSESSID entries with different session IDs.<br>
There is an interesting bug in our session management somewhere.<br>
<span class="HOEnZb"><font color="#888888"><br>
Frank<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
Owncloud mailing list<br>
<a href="mailto:Owncloud@kde.org">Owncloud@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/listinfo/owncloud</a><br>
</div></div></blockquote></div><br></div>