gearman

Schedule a job in Gearman for a specific date and time

From what I can see Gearman does not support scheduled jobs or delayed jobs. I was thinking that perhaps the scheduled job could be queued in at first and then added to the Gearman queue after the at time period has expired. at tasks are persistent as they are written as files to a directory in the spool directory of the server. So the ...

pecl not working on php CLI mode (involving mongoDB in Gearman)

For test purposes I have gearman running on localhost. So I run the gearman worker.php file from php command line. When I test this in normal apache mode, mongoDB works just fine, but when it runs from the gearman worker file I get the error "fatal error: class 'Mongo' not found". Now the Mongo class comes from pecl and the mongo.so exte...

Gearman worker not woken up MACOSx python

I tried to run the example gearman client and workers. Gearman worker never seems to be woken up. I see the following message when I kill the gearman worker and I don't see the output at the worker(print statements) File "gearman_w.py", line 12, in worker.work() File "/opt/local/Library/Frameworks/Python.framework/Versions...

Queue System Farm questions

Hi, Until now, we haven't really needed to implement a queue system in our infrastructure, but now we need some features that cannot be done thru cron jobs (too slow). Our infrastructure is LAMP (PHP) with some NoSQL. I have looked at Gearman and it seems to be perfect for our needs. I know Digg uses it, as well as Yahoo so it must be...

gearman python interface on mac

I'm trying to install gearman interface on mac os x 10.6.4 using python 2.4. so after doing ./configure --with-libgearman-prefix=/opt/local/ I'm getting: configure: error: Could not link test program to Python. Maybe the main Python library has been installed in some non-standard library path. If so, pass it to configure, vi...

Installing gearman with libdrizzle on mac osx

Anyone could install gearman with libdrizzle enabled for mac os? I'm using mac ports but it fails to install it with libdrizzle enabled ...

MongoDB GridFS for HA file storage

I am working on a project where I need to store many user uploaded files and provide redundancy. For file uploads, I was first considering to place user uploaded files in a NFS "uploads" directory and use Gearman to grab the file, move it to it's permanent storage locations, then update MySQL with the files info (filesize, date...etc). ...