Req #43287 [Fbk->NoF]: Unserialize is very slow

From: Date: Sun, 18 Jan 2015 04:22:17 +0000
Subject: Req #43287 [Fbk->NoF]: Unserialize is very slow
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190015@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=43287&edit=1 ID: 43287 Updated by: php-bugs@lists.php.net Reported by: k dot gorbunoff at gmail dot com Summary: Unserialize is very slow -Status: Feedback +Status: No Feedback Type: Feature/Change Request Package: *General Issues Operating System: Linux PHP Version: 5.2.5 Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2015-01-09 01:00:29] ajf@php.net Is this still an issue? json_decode() (for JSON-encoded data) may be faster as it doesn't need to check for references. ------------------------------------------------------------------------ [2007-11-14 06:05:29] k dot gorbunoff at gmail dot com Description: ------------ I'm using serialize()/unserialize() very active for storing/retrieving objects to/from memory (using memcached/xcache). The main problem is performance: unserialize() takes very much time and finally caching comes not very effective. This is not version-related problem, I'm expecting on all 4/5 versions. Unfortunately there is now way to share objects between PHP processes without serialize()/unserialize(). I just want draw your attention to made unserialize() faster... or create a way to share data between PHP processes without using serializing at all. I think optimizing unserialize() should be easier. Thank you. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=43287&edit=1

« previous php.bugs (#190015) next »