<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://gearman.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://gearman.org/feed.php">
        <title>Gearman</title>
        <description></description>
        <link>http://gearman.org/</link>
        <image rdf:resource="http://gearman.org/lib/images/favicon.ico" />
       <dc:date>2012-04-24T20:08:45+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=communication&amp;rev=1332304600&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=documentation&amp;rev=1308546467&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=download&amp;rev=1332305516&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=fake_jndi&amp;rev=1249768054&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=gearman&amp;rev=1335211649&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=gearman_jms_readme&amp;rev=1252538305&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=gearman_php_extension&amp;rev=1301288234&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=getting_started&amp;rev=1288840701&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=jgs&amp;rev=1299906503&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=manual&amp;rev=1332305722&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=myspecv.com_use_case&amp;rev=1240693639&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=mysql_udf_readme&amp;rev=1239515643&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=perl_-_geocoding&amp;rev=1254690325&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=php_-_feed_fetching_parsing&amp;rev=1253022294&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=php_-_mail_queue&amp;rev=1255982822&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=php_-_mass_pdf_quote_email&amp;rev=1332305317&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=php_-_synchronous_image_resize&amp;rev=1244738663&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=php_reference&amp;rev=1255050147&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=php_reflection&amp;rev=1255049449&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=presentations&amp;rev=1287973251&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=protocol&amp;rev=1254255925&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=reverse_example&amp;rev=1249942114&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=run_tests&amp;rev=1249867181&amp;do=diff"/>
                <rdf:li rdf:resource="http://gearman.org/index.php?id=use_cases&amp;rev=1332305370&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://gearman.org/lib/images/favicon.ico">
        <title>Gearman</title>
        <link>http://gearman.org/</link>
        <url>http://gearman.org/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://gearman.org/index.php?id=communication&amp;rev=1332304600&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-03-21T04:36:40+00:00</dc:date>
        <title>communication</title>
        <link>http://gearman.org/index.php?id=communication&amp;rev=1332304600&amp;do=diff</link>
        <description>Communication


Most Gearman related communication happens on IRC or on the Google groups mailing list.


	*  Google Group/Mailing List: Gearman group on Google Groups
	*  IRC Channel: #gearman on irc.freenode.net</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=documentation&amp;rev=1308546467&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-06-20T05:07:47+00:00</dc:date>
        <title>documentation</title>
        <link>http://gearman.org/index.php?id=documentation&amp;rev=1308546467&amp;do=diff</link>
        <description>General

	*  Getting Started
	*  Manual
	*  Gearman Blueprints

API Documentation

	*  C API Documentation
	*  PHP Extension Docs
	*  PHP Extension Reflection
	*  PHP Extension Reference
	*  Perl Client API Documentation
	*  Perl Task (Client) API Documentation
	*  Perl Worker API Documentation
	*  PHP Net_Gearman PEAR module documentation
	*  MySQL UDF README file
	*  Python API Documentation
	*  gearman-jms Documentation
	*   Gearman-Ruby: Official ruby library for the Gearman distributed job …</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=download&amp;rev=1332305516&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-03-21T04:51:56+00:00</dc:date>
        <title>download</title>
        <link>http://gearman.org/index.php?id=download&amp;rev=1332305516&amp;do=diff</link>
        <description>Overview


There are a few options when it comes to choosing a job server and API. Gearman has benefited from many active open source contributors who have each introduced a new project or helped out with an existing one. Some projects are more active than others, each have varying features and performance, but they are all compatible with one another (except for some new protocol additions). If you need help figuring out which option would best suit your needs, get in touch!</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=fake_jndi&amp;rev=1249768054&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-08-08T21:47:34+00:00</dc:date>
        <title>fake_jndi</title>
        <link>http://gearman.org/index.php?id=fake_jndi&amp;rev=1249768054&amp;do=diff</link>
        <description>Back (gearman-jms WiKi)


Fake JNDI


In most Java Enterprise environments (the main users of JMS), the developers will have a proprietary JNDI implementation that is used for obtaining the Administered Objects (in this case, the ConnectionFactory).

Since gearman-jms is an API and not a end-user client application, we make use of a 'fake JNDI' for testing purposes. The Shell application is a console program that allows the user to create a 'named' ConnectionFactory instance. This is then serial…</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=gearman&amp;rev=1335211649&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-04-23T20:07:29+00:00</dc:date>
        <title>gearman</title>
        <link>http://gearman.org/index.php?id=gearman&amp;rev=1335211649&amp;do=diff</link>
        <description>News

*  [2012-04-12]  java-gearman-service v0.6 has been released. The following changes have been made:

	*  The service now uses the slf4j logging facade, allowing the user to have better control over logging.
		*  Persistent background jobs are now supported though an application hook
		*  The API has been updated to be more user friendly, and it makes it easier to create divide-and-conquer/mapreduce applications (breaks the code of previous versions)
		*  A .properties file now may be used …</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=gearman_jms_readme&amp;rev=1252538305&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-09T23:18:25+00:00</dc:date>
        <title>gearman_jms_readme</title>
        <link>http://gearman.org/index.php?id=gearman_jms_readme&amp;rev=1252538305&amp;do=diff</link>
        <description>Back (Gearman WiKi)


gearman-jms

gearman-jms is a JMS Provider written using Gearman-Java as its back-end implementation. This allows applications written in Java using JMS to seamlessly interface with a Gearman Job Server. The result is JMS clients can use JMS to request remote work on their behalf, or receive results from a remote function call. JMS workers can use JMS to broadcast to the Job Server what functions they implement, and to receive work requests (and return work results).</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=gearman_php_extension&amp;rev=1301288234&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-03-28T04:57:14+00:00</dc:date>
        <title>gearman_php_extension</title>
        <link>http://gearman.org/index.php?id=gearman_php_extension&amp;rev=1301288234&amp;do=diff</link>
        <description>About Gearman PHP Extension

The Gearman PHP Extension allows you to write Gearman clients and workers using PHP.


Installing Gearman PHP Extension

Gearman PHP Extension v0.7 is currently available for download at launchpad

Before you can build the php extension, you must install gearmand and the libgearman 'c' library. Luckily, this is simple.</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=getting_started&amp;rev=1288840701&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-11-04T03:18:21+00:00</dc:date>
        <title>getting_started</title>
        <link>http://gearman.org/index.php?id=getting_started&amp;rev=1288840701&amp;do=diff</link>
        <description>This document is meant to provide enough information to get a basic Gearman installation up and running with a simple application. This document assumes a high-level understanding of the role of the job server, clients, and workers. If not, please refer to the home page overview. For more detailed documentation on Gearman components and features, please refer to the manual.</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=jgs&amp;rev=1299906503&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-03-12T05:08:23+00:00</dc:date>
        <title>jgs</title>
        <link>http://gearman.org/index.php?id=jgs&amp;rev=1299906503&amp;do=diff</link>
        <description>The Java Gearman Service provides a complete gearman implementation in java. This includes the client, worker, and job server. 

Standalone Server


The Java Gearman Service jar file doubles as a fully featured gearman server.

Usage:


java [jvm options] -jar java-gearman-service-X.Y.Z.jar [server options]</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=manual&amp;rev=1332305722&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-03-21T04:55:22+00:00</dc:date>
        <title>manual</title>
        <link>http://gearman.org/index.php?id=manual&amp;rev=1332305722&amp;do=diff</link>
        <description>This manual covers generic Gearman concepts and interfaces used by many of the APIs. Examples given will use the PHP extension that wraps the C library, although it should be easy to translate the examples to the other language APIs. This manual will also focus on features provided by the job server written in C, for documentation on the Perl version of the job server see the documentation provided in the Perl module. This manual is a live document and will be updated as new functionality is add…</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=myspecv.com_use_case&amp;rev=1240693639&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-04-25T21:07:19+00:00</dc:date>
        <title>myspecv.com_use_case</title>
        <link>http://gearman.org/index.php?id=myspecv.com_use_case&amp;rev=1240693639&amp;do=diff</link>
        <description>Posting a use case for my website here, myspecv.com 

Running on a fairly normal LAMP stack (+ apc(local cache) + nginx for static + memcached (more cache)).

The main site is a forum, there's tracking queries on the forum and update/insert/delete queries that need to run, but aren't necessary for the display of the page that is being loaded. I'm using gearman with a very simple “sqlExecuteBackground” class (this is with Net::Gearman::Client and Net::Gearman::Worker for now, gearman php extensio…</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=mysql_udf_readme&amp;rev=1239515643&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-04-12T05:54:03+00:00</dc:date>
        <title>mysql_udf_readme</title>
        <link>http://gearman.org/index.php?id=mysql_udf_readme&amp;rev=1239515643&amp;do=diff</link>
        <description>This file is maintained in the Launchpad tree, so any modifications should be made there.</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=perl_-_geocoding&amp;rev=1254690325&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-10-04T21:05:25+00:00</dc:date>
        <title>perl_-_geocoding</title>
        <link>http://gearman.org/index.php?id=perl_-_geocoding&amp;rev=1254690325&amp;do=diff</link>
        <description>We use gearman to parallelize Geo::Coder::US geocoding. The basic, non-gearman script just reads from STDIN and prints out a JSON-encoded result for every line: 


use strict;

use JSON;
use Geo::Coder::US;

Geo::Coder::US-&gt;set_db(&quot;foo.db&quot;);

while(&lt;STDIN&gt;){
    my @matches = Geo::Coder::US-&gt;geocode($_);
    print encode_json(\@matches) . &quot;\n&quot;;
}</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=php_-_feed_fetching_parsing&amp;rev=1253022294&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-15T13:44:54+00:00</dc:date>
        <title>php_-_feed_fetching_parsing</title>
        <link>http://gearman.org/index.php?id=php_-_feed_fetching_parsing&amp;rev=1253022294&amp;do=diff</link>
        <description>We use Gearman &amp; PHP (5.3) for keeping a 'large' amount of RSS feeds up to date regularly.

There are several different worker types:

Normal worker

	*  fetchURL : performs URL fetching (using curl)
	*  parseFeed : performs feed parsing using SimplePie</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=php_-_mail_queue&amp;rev=1255982822&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-10-19T20:07:02+00:00</dc:date>
        <title>php_-_mail_queue</title>
        <link>http://gearman.org/index.php?id=php_-_mail_queue&amp;rev=1255982822&amp;do=diff</link>
        <description>A background queue for php's mail() function.

The worker:



&lt;?php
$gmw = new GearmanWorker();
$gmw-&gt;addServer();
$gmw-&gt;addFunction(&quot;php_mail&quot;, &quot;gm_mail&quot;);
while(1)
  $gmw-&gt;work();

function gm_mail($job, $data=NULL)
{
  list($to, $subject, $message, $additional_headers, $additional_parameters) = 
    json_decode($job-&gt;workload());
  
  $rv = mail($to, $subject, $message, $additional_headers, $additional_parameters);
  echo &quot;emailed $to: $subject\n&quot;;
  return $rv;
}</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=php_-_mass_pdf_quote_email&amp;rev=1332305317&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-03-21T04:48:37+00:00</dc:date>
        <title>php_-_mass_pdf_quote_email</title>
        <link>http://gearman.org/index.php?id=php_-_mass_pdf_quote_email&amp;rev=1332305317&amp;do=diff</link>
        <description>Mass PDF quote via email


Current code of this can be found as a gist on GitHub.  The code was created to allow the client to select multiple quotes, in a custom quoting system we created, and then hit “Quick Email” and have them sent off.

Problem: When the customer hit the Quick Email button it would load really slow.  This is due to the fact that he would email over 10-15 clients at a time.</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=php_-_synchronous_image_resize&amp;rev=1244738663&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-11T16:44:23+00:00</dc:date>
        <title>php_-_synchronous_image_resize</title>
        <link>http://gearman.org/index.php?id=php_-_synchronous_image_resize&amp;rev=1244738663&amp;do=diff</link>
        <description>Synchronous resize client


&lt;?php
$image=&quot;tmp.jpg&quot;;
$gmc= new GearmanClient();
$gmc-&gt;addServer();
$gmc-&gt;setCompleteCallback(&quot;image_complete&quot;);
for($x=100; $x &gt;= 10; $x-=10)
    $gmc-&gt;addTask(&quot;resize_image_percent&quot;, serialize(array($image, $x)));
$gmc-&gt;runTasks();
 
function image_complete($task)
{
    list($file, $percent)= unserialize($task-&gt;data());
    echo &quot;&lt;h3&gt;PERCENT: $percent JOB: &quot; . $task-&gt;jobHandle() . 
         &quot; FUNC: &quot; . $task-&gt;function() . &quot;&lt;/h3&gt;\n&quot;;
    echo &quot;&lt;img src='$file'&gt;\n&quot;;…</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=php_reference&amp;rev=1255050147&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-10-09T01:02:27+00:00</dc:date>
        <title>php_reference</title>
        <link>http://gearman.org/index.php?id=php_reference&amp;rev=1255050147&amp;do=diff</link>
        <description>The PECL/Gearman extension uses libgearman library to provide API for communicating with gearmand, and writing clients and workers.

FAQ

	*  Is it possible to set the user on who's behalf a worker will do work? Yes, simply start workers using the desired user. This can be done either by using setuidgid from daemontools (setuidgid pavel ./worker.php) or by using a wrapper written in php - posix extension, setuid() setgit() functions.
	*  How does the job server handle accepted jobs when no funct…</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=php_reflection&amp;rev=1255049449&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-10-09T00:50:49+00:00</dc:date>
        <title>php_reflection</title>
        <link>http://gearman.org/index.php?id=php_reflection&amp;rev=1255049449&amp;do=diff</link>
        <description>This is the PHP extension reflection output for version 0.6.0, optional arguments in italics.

GearmanClient


	*  __construct()
	*  returnCode()
	*  clone()
	*  error()
	*  getErrno()
	*  options()
	*  setOptions($option)
	*  addOptions($option)
	*  removeOptions($option)
	*  timeout()
	*  setTimeout($timeout)
	*  context()
	*  setContext($data)
	*  addServer($host, $port)
	*  addServers($servers)
	*  wait()
	*  do($function_name, $workload, $unique)
	*  doHigh($function_name, $workload, $uniqu…</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=presentations&amp;rev=1287973251&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-25T02:20:51+00:00</dc:date>
        <title>presentations</title>
        <link>http://gearman.org/index.php?id=presentations&amp;rev=1287973251&amp;do=diff</link>
        <description>Upcoming Presentations

	*  None

Past Presentations

	*  MySQL Conference 2011 - Gearman: From the Worker's Perspective - Brian Aker
	*  OSCON 2010 - The Gearman Cookbook - Eric Day (Slides)
	*  The London Kohana PHP Conference 2010 - An introduction to using Gearman with Kohana (by Russell Smith, Slides &amp; code examples)
	*  MySQL Conference &amp; Expo 2010 - Boosting Database Performance with Gearman - Eric Day &amp; Giuseppe Maxia (Slides)
	*  MySQL Conference &amp; Expo 2010 - Gearman MySQL Hacks, or Ev…</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=protocol&amp;rev=1254255925&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-29T20:25:25+00:00</dc:date>
        <title>protocol</title>
        <link>http://gearman.org/index.php?id=protocol&amp;rev=1254255925&amp;do=diff</link>
        <description>This file is maintained in the gearmand project on Launchpad, so any modifications should be made there.</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=reverse_example&amp;rev=1249942114&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-08-10T22:08:34+00:00</dc:date>
        <title>reverse_example</title>
        <link>http://gearman.org/index.php?id=reverse_example&amp;rev=1249942114&amp;do=diff</link>
        <description>Reverse example

Before we can run our example we need to run our shell and the gearman job server



Gearman-JMS Administrator Shell v.1
gearman&gt; mkcf myCF



Now, we run the gearmand job server


$ gearmand -d



or we can also run it in debugging mode</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=run_tests&amp;rev=1249867181&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-08-10T01:19:41+00:00</dc:date>
        <title>run_tests</title>
        <link>http://gearman.org/index.php?id=run_tests&amp;rev=1249867181&amp;do=diff</link>
        <description>Back (gearman-jms WiKi)


Running the Tests

	*  Run 'gearmand' Job Server on a host machine (can be your own localhost)
	*  At this point, you should be able to run the tests using JUnit 4</description>
    </item>
    <item rdf:about="http://gearman.org/index.php?id=use_cases&amp;rev=1332305370&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-03-21T04:49:30+00:00</dc:date>
        <title>use_cases</title>
        <link>http://gearman.org/index.php?id=use_cases&amp;rev=1332305370&amp;do=diff</link>
        <description>Use Cases


If you are using Gearman, please login to the wiki and create a use case page describing how you are using it. This will help others get an idea of the different ways Gearman can be deployed, and perhaps you will get some feedback about how to improve your usage. Thanks!</description>
    </item>
</rdf:RDF>

