Re: Gearman worker (nearly) ready!
| From: | Thomas Koch | Date: | Thu, 16 Jul 2009 16:24:53 +0000 |
| Subject: | Re: Gearman worker (nearly) ready! | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44989@lists.php.net to get a copy of this message | ||
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