Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59171 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33282 invoked from network); 26 Mar 2012 23:29:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Mar 2012 23:29:39 -0000 Authentication-Results: pb1.pair.com header.from=arraypad@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=arraypad@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.42 as permitted sender) X-PHP-List-Original-Sender: arraypad@gmail.com X-Host-Fingerprint: 209.85.212.42 mail-vb0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:36402] helo=mail-vb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9D/5C-05097-2EBF07F4 for ; Mon, 26 Mar 2012 18:29:39 -0500 Received: by vbjk13 with SMTP id k13so3359608vbj.29 for ; Mon, 26 Mar 2012 16:29:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MqUls+LgSi0dZIbeZNObABoZexsYUIIXMKdvXkS38Pk=; b=o6Kz8u/H6HKQkqwD2N1a8F8h4cQ3f72s14/MNuSAk3yO+W40f4J+DAaJ6sOK4rtw8K E3LdZc8M3yIHli9aM4hlltrLY9lBeMuHVGtEaI57Bgz/224IZXoOXtNA1hPsxStkti5X KOYBDZDDVN3wXyIyEGhU0ZYPj/KIQzc7vLb3cq7aBp7tHiX16wBA7MaYbYfD96a87RbL IupOC7n6NgVPlvA3S5tuGbMJlLbRUrTnJ+FBzsCkwMamvx6g77gWmKeG9igms2seL4NB +EvxOLVNhNcLC1yFc0Vxuk0JCeSVkTcYdJ6D2e+8pA0IVyFIrHDx0/17jwEWRG/3gWEF D7Gw== MIME-Version: 1.0 Received: by 10.52.30.65 with SMTP id q1mr9134791vdh.77.1332804576293; Mon, 26 Mar 2012 16:29:36 -0700 (PDT) Received: by 10.52.99.201 with HTTP; Mon, 26 Mar 2012 16:29:35 -0700 (PDT) Received: by 10.52.99.201 with HTTP; Mon, 26 Mar 2012 16:29:35 -0700 (PDT) In-Reply-To: References: Date: Tue, 27 Mar 2012 00:29:35 +0100 Message-ID: To: Martin Amps Cc: PHP internals Content-Type: multipart/alternative; boundary=20cf30780c0853347804bc2dbf24 Subject: Re: [PHP-DEV] SessionHandlerInterface vs Built in Memcache handler From: arraypad@gmail.com (Arpad Ray) --20cf30780c0853347804bc2dbf24 Content-Type: text/plain; charset=ISO-8859-1 Hi, On 26 Mar 2012 17:13, "Martin Amps" wrote: > Is there any notable difference or advantage to either method? The only thing I can think of is in the code you could fallback to another handler if a Memcache server was unavailable, or use a slave. This kind of question should be on the general mailing list not internals. Whether the flexibility of having that code in userland is worth the inherent performance penalty is up to you. Don't forget you can use the SessionHandler class to override particular parts of the native handler where necessary. Arpad --20cf30780c0853347804bc2dbf24--