Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44989 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21835 invoked from network); 16 Jul 2009 16:25:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jul 2009 16:25:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=thomas@koch.ro; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=thomas@koch.ro; sender-id=unknown Received-SPF: error (pb1.pair.com: domain koch.ro from 93.90.184.107 cause and error) X-PHP-List-Original-Sender: thomas@koch.ro X-Host-Fingerprint: 93.90.184.107 koch.ro Linux 2.6 Received: from [93.90.184.107] ([93.90.184.107:42609] helo=ve825703057.providerbox.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4E/75-30986-E545F5A4 for ; Thu, 16 Jul 2009 12:25:03 -0400 Received: from 84-72-56-244.dclient.hispeed.ch ([84.72.56.244] helo=jona.localnet) by ve825703057.providerbox.net with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1MRTlQ-0006gE-Ik; Thu, 16 Jul 2009 18:24:56 +0200 Reply-To: thomas@koch.ro To: internals@lists.php.net Date: Thu, 16 Jul 2009 18:24:53 +0200 User-Agent: KMail/1.11.4 (Linux/2.6.29-1-amd64; KDE/4.2.4; x86_64; ; ) Cc: Johannes =?iso-8859-1?q?Schl=FCter?= , gearman References: <200907141928.20591.thomas@koch.ro> <200907151948.35958.thomas@koch.ro> <200907152209.44982.thomas@koch.ro> In-Reply-To: <200907152209.44982.thomas@koch.ro> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200907161824.54443.thomas@koch.ro> Subject: Re: [PHP-DEV] Gearman worker (nearly) ready! From: thomas@koch.ro (Thomas Koch) It took me a day to get a binary gearman worker out of the PHP make system. But it works (somehow). Now I'd like to ask, whether it could be included in upstream PHP source? I'd need a sponsor to guide me cleaning up everything. Tomorrow I'll try to get source code caching with APC to work. It works to cache variables, but returns in these lines in ext/apc/apc_main.c, lines ~526++: /* try to create a cache key; if we fail, give up on caching */ if (!apc_cache_make_file_key(&key, h->filename, PG(include_path), t TSRMLS_CC)) { return old_compile_file(h, type TSRMLS_CC); } Source code at: http://github.com/thkoch2001/php- src/tree/857657ddce9aad9709cc39832fb716555021725c/sapi/gearman_worker (or http://tinyurl.com/gearmanworkersapi ) Thomas Koch, http://www.koch.ro