Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88493 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9979 invoked from network); 25 Sep 2015 08:17:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Sep 2015 08:17:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain belski.net from 85.214.73.107 cause and error) X-PHP-List-Original-Sender: anatol.php@belski.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:52251] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F6/A1-31991-22305065 for ; Fri, 25 Sep 2015 04:17:39 -0400 Received: by h1123647.serverkompetenz.net (Postfix, from userid 1006) id CBC656D2004; Fri, 25 Sep 2015 10:17:34 +0200 (CEST) Received: from w530phpdev (pD9FE871E.dip0.t-ipconnect.de [217.254.135.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h1123647.serverkompetenz.net (Postfix) with ESMTPSA id 2DB896D2002; Fri, 25 Sep 2015 10:17:31 +0200 (CEST) To: "'PHP internals'" Cc: "'Andrey Hristov'" , "'Dmitry Stogov'" , "'Nikita Popov'" References: <5523DF0E.6000500@hristov.com> <5523F025.5070407@hristov.com> <5603B414.2050508@oracle.com> <5603F6FC.5080609@oracle.com> <56040355.5000007@oracle.com> <014201d0f6d7$44b99940$ce2ccbc0$@belski.net> <5604176D.8080500@oracle.com> <017501d0f6e8$d9803cd0$8c80b670$@belski.net> In-Reply-To: <017501d0f6e8$d9803cd0$8c80b670$@belski.net> Date: Fri, 25 Sep 2015 10:17:32 +0200 Message-ID: <026d01d0f76a$a21a48d0$e64eda70$@belski.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQGhRPMnPF8/APDCqqpmdcCm/016EwEK3zMQAgUS670CX5tl9gG3JnWKAnoPeRACNHgmCgIBJU+yAdELfbwCNOiIAQJ3obkMA213ENoBQ8YNZJ3kIA4g Content-Language: en-us Subject: FW: [PHP-DEV] Re: [PATCH] Tick functions (on C level) with state From: anatol.php@belski.net ("Anatol Belski") FYI the patch http://pastebin.com/wVymMAdZ , forwarding as seems my mail = filters put it into the internals folder while there was no internals in = the "to" list. Regards Anatol -----Original Message----- From: Anatol Belski [mailto:anatol.php@belski.net]=20 Sent: Thursday, September 24, 2015 6:49 PM To: 'Andrey Hristov' ; 'Dmitry Stogov' = Cc: 'Anatol Belski' ; 'Nikita Popov' Subject: RE: [PHP-DEV] Re: [PATCH] Tick functions (on C level) with = state Andrey, Thanks for the explanation. Please proceed the patch. The risks of it = are quite low and the benefits from the new MySQL features would = outweigh in any case :) Regards Anatol > -----Original Message----- > From: Andrey Hristov [mailto:andrey.hristov@oracle.com] > Sent: Thursday, September 24, 2015 5:32 PM >=20 > Hi Dmitry, Anatol, > this is the only thing that I would like to go into 7.0 . The code=20 > that will use the new ticks will be a mysqlnd plugin and will live in = PECL. > If the functionality is accepted by the community, then it will find=20 > its way into mysqli/mysqlnd. This way mysqli/mysqlnd will not be = destabilized in 7.0 . >=20 > Regarding the ticks, if no extension registers them, there is no=20 > overhead. The PECL extension, which will overload mysqlnd semantics,=20 > like mysqlnd-ms, mysqlnd-mc etc. do, will be declared experimental.=20 > When using experimental features things can be slower. A warning will = be put in the documentation. >=20 > All in all, this will help testing new features but in the common case = > it won't hurt anyone who is not using ticks. The patch doesn't make=20 > the performance of ticks worse, it allows flexibility :) >=20 > I am sure there is a better way to do async, however adding it is not=20 > as simple as this patch. >=20 >=20 > Best, > Andrey