Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54734 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20790 invoked from network); 19 Aug 2011 20:45:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Aug 2011 20:45:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 213.123.20.128 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 213.123.20.128 c2bthomr10.btconnect.com Received: from [213.123.20.128] ([213.123.20.128:46740] helo=mail.btconnect.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 45/91-04837-75BCE4E4 for ; Fri, 19 Aug 2011 16:45:13 -0400 Received: from host81-138-11-136.in-addr.btopenworld.com (EHLO _10.0.0.4_) ([81.138.11.136]) by c2bthomr10.btconnect.com with ESMTP id ECC80450; Fri, 19 Aug 2011 21:45:08 +0100 (BST) Message-ID: <4E4ECB53.4070607@lsces.co.uk> Date: Fri, 19 Aug 2011 21:45:07 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.19) Gecko/20110420 SUSE/2.0.14-2.2 SeaMonkey/2.0.14 MIME-Version: 1.0 To: PHP internals References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mirapoint-IP-Reputation: reputation=Fair-1, source=Queried, refid=tid=0001.0A0B0302.4E4ECB54.0037, actions=tag X-Junkmail-Premium-Raw: score=7/50, refid=2.7.2:2011.8.19.193315:17:7.586, ip=81.138.11.136, rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __SUBJ_ALPHA_END, __CT, __CT_TEXT_PLAIN, __CTE, __ANY_URI, LINK_TO_IMAGE, __URI_NO_MAILTO, __CP_URI_IN_BODY, __STOCK_PHRASE_8, BODY_SIZE_1500_1599, BODYTEXTP_SIZE_3000_LESS, __MIME_TEXT_ONLY, RDNS_GENERIC_POOLED, BODY_SIZE_5000_LESS, RDNS_SUSP_GENERIC, RDNS_SUSP, BODY_SIZE_2000_LESS, BODY_SIZE_7000_LESS X-Junkmail-Status: score=10/50, host=c2bthomr10.btconnect.com X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A0B020D.4E4ECB55.0012:SCFSTAT14830815,ss=1,fgs=0, ip=0.0.0.0, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=multiengine X-Junkmail-IWF: false Subject: Re: [PHP-DEV] Activation of IGBinary serialization extension in 5.4 by default From: lester@lsces.co.uk (Lester Caine) Paul Dragoonis wrote: > After a brief discussion with Pierre I'm taking this discussion to here. > We have the igbinary pecl extension available [1], however not many of our > userbase are familiar that it even exists. > Here [2] is the performance boost we get from using igbinary with > serialize() and unserialize(). > > Here we get a great perf boost, and what's more excellent as we don't have > to break BC to get there! > > This seems like a no-brainer and a good investment in the speed increase of > PHP by default for the future users of the platform. > > [1]http://pecl.php.net/package/igbinary > [2]http://www.php.net/~pierre/vcqa/apcigninary_perf.png > > Comments please. I find that the ability to quickly scan the session files when a client is having problems and identify their session is something that I use at least a couple of times a month on various remote sites. If the session data is not readable text then I can't do that. So anything that is done definitely needs to have an off switch as far as I am concerned. I only store a small amount of key data in the session - the rest is serialised into the clients database record, and I would prefer to use text blobs for that rather than having to manage binary data ... -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php