This is a sample Kohana 2.3.4 project that shows the differences in speed in using Gearman / not for sending emails via SMTP, it was written for a presentaion at Kohana PHP Conference London 2010.
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
application
system
README.md
index.php

README.md

Kohana 2.3.4 & Gearman Example Project

This is a sample project using Gearmand, Gearman PHP extension from PECL and Kohana 2.3.4 to show the speed increases possible for the front end user interface when sending emails.

Instructions

You will need to update the application/config/email.php with a valid SMTP host / user / password / etc.

If your gearmand is running on a different port and server you will need to alter this in application/config/gearman.php

You will also need to compile the gearman server & PHP module for it. Please see the presentation on my Blog. To run the worker, open a shell and change to the folder with the code in and execute;

php index.php "gearman/workers"