Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72812 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92240 invoked from network); 25 Feb 2014 19:22:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Feb 2014 19:22:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=bruno@chalopin.fr; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=bruno@chalopin.fr; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chalopin.fr from 209.85.214.41 cause and error) X-PHP-List-Original-Sender: bruno@chalopin.fr X-Host-Fingerprint: 209.85.214.41 mail-bk0-f41.google.com Received: from [209.85.214.41] ([209.85.214.41:35907] helo=mail-bk0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8C/30-25531-E8DEC035 for ; Tue, 25 Feb 2014 14:22:55 -0500 Received: by mail-bk0-f41.google.com with SMTP id d7so384431bkh.14 for ; Tue, 25 Feb 2014 11:22:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:message-id:mime-version :subject:date:references:to:in-reply-to; bh=pl4z+dyht+dkftkNo55ghy/OrZeWmAs/KcmpZMFtfzc=; b=eAG3zoGxJLNdJLFFAuGV6V0Zr/ENII1LrbcjvIJNoM9jR+mvkvWGr+lSyA4FmNeZZF 27KBp2blNIGQnD26M9Xht2ImRMJVunBJRXbIqlA2VbuzO/tGsWhEU2tqzjmGPsuv286h frC15laMK5ngXqT8SOpkhBDiPGZouQGDhhes3kcgc0w9vzBg+2cS6QJmmxRy3D1n8YBM e8vOeF+hpEx3Wgb1UIat8BIKzxdtoMzyW7+UujpfUGzubt5dE3qiGjOHua5gHIHt5F5u 3S1pryN/wX9Pw6s8o10mOMM710VOF/eHgdylW0QKeywLa6qZJfx1aDRXK9yMLuNrQxyA +KNA== X-Gm-Message-State: ALoCoQlbuQfqrTkfqcSW4/SSEAP/AjY/ZKcoA+KXN321zAsSt99s4nMZSXDoeOa9og4dMn5xpMlD X-Received: by 10.204.170.72 with SMTP id c8mr1239064bkz.34.1393356171622; Tue, 25 Feb 2014 11:22:51 -0800 (PST) Received: from [192.168.1.193] (sat78-7-88-166-122-158.fbx.proxad.net. [88.166.122.158]) by mx.google.com with ESMTPSA id p5sm19579785bkh.1.2014.02.25.11.22.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 11:22:50 -0800 (PST) Content-Type: multipart/alternative; boundary="Apple-Mail=_5150DD03-318E-4A5A-922D-2867891E7728" Message-ID: <4FC1A56C-F616-478A-AD09-E01572C21361@chalopin.fr> Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Date: Tue, 25 Feb 2014 20:22:18 +0100 References: To: "internals@lists.php.net" In-Reply-To: X-Mailer: Apple Mail (2.1827) Subject: Re: [PHP-DEV] Async operating in PHP From: bruno@chalopin.fr ("bruno@chalopin.fr") --Apple-Mail=_5150DD03-318E-4A5A-922D-2867891E7728 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hi, Le 25 f=E9vr. 2014 =E0 18:11, Daniel Lowrey a =E9crit = : > That said, you can absolutely implement this yourself right now in = userland > using tools like pecl/libevent, pecl/ev or even your own custom = userland > loop via stream_select(). There are many people doing this quite > successfully already and using the available extension it's possible = to > write non-blocking event-looped applications that are every bit as > performant as node.js. There=92s http://reactphp.org/ for example. Completely aggree that there=92s already pecl/libevent and pecl/ev for = that. It=92s a userland job or eventually a pecl/ext if necessary. Regards, Bruno= --Apple-Mail=_5150DD03-318E-4A5A-922D-2867891E7728--