I was using god to start and monitor my starling and workling daemons.
Works awesome on development machine but "workling_starling_client" refuses to start on my production machine.
...
I've launched a website today which makes heavy use of Starling and Workling to handle the background task queue.
Traffic has been heavy and although my server CPU/memory has not been under too much strain, the job queue is seriously backing up.
I am inexperienced with both Starling and Workling and urgently need to understand how I ca...
I am having issues getting a workling daemon working correctly. When I run:
ruby script/workling_client run
the daemon starts to load rails, but hangs indefintely. When I kill the process, the stack trace is always the same:
/Library/Ruby/Gems/1.8/gems/activesupport-2.1.2/lib/active_support/core_ext/load_error.rb:32:in `new': Interr...
Hi All,
I have a rails app that has asynchronous processing, and I'm having trouble getting it to work in production mode. i start starling from the root of the application like so:
starling -d -P tmp/pids/starling.pid -q log/
then i start workling like this
./script/workling_client start -t
the first time i ran this, it complain...
Hi everyone, I am trying to deploy a RoR app that does some asynchronous task. I use workling for that and the message queue is RabbitMQ. This combination worked flawlessly with Starling but we decided to change the MQ for Rabbit.
I read somewhere that I should include the following code in my environment.rb
require 'mq'
if defined?(P...
Anyone now why I can't see logs for workling in workling.output or production.log?
In development the logs show up in the development.log.
In my environments/production.rb I have the log levl set to debug.
config.log_level = :debug
I'm starting Starling and Workling like this
server > /usr/bin/starling -d -P /tmp/pids/starling.pid -L...
I'm currently using Workling with Starling on a rails app. Although I like Workling, I find it kinda hard to monitor.
To make matters worse, I have a couple of Workling instances. Workling is running with the :multiple set to 'true' (inside workling_client).
I can see the pid for each instance and such, but I want to know if they're ac...
Hello there. We have a rails app running on passenger and we background process some tasks using a combination of RabbitMQ and Workling. The workling's worker process is started using the script/workling_client command. There is always only one worker process started, and the script/workling_client has a :multiple => false options, thus ...
Hello,
I'm using Starling and Workling to process background tasks in my application, a Swoopo-style auction site. In this case the background task is a notification system that monitors auctions and notifies the winner. The monitor is invoked upon creation of the auction object. My problem is that my monitoring code can't find the auct...
Hi,
I have put some tasks in my rails app over to a Workling worker - my question is, what is best practice to test the Workling class with rspec?
I have set up rspec to be able to call the Workling class, (I use Sterling too), but since it is asyncron I dont know how to test for the result of the work done by workling.
Thanks
...
Hi all,
I'm looking for the right messaging system for my needs. Can you help me ?
For now, there won't be a huge amount of data to process, but I don't want to be limited later ...
The machines are not just web servers, so the messaging tool should be lightweight, even if processing is not very speed.
When some data change on a serve...
I have the following situation:
Three tasks: A,B,C (Implemented as Workling workers)
Two user events (Calls of a controller method)
The tasks are triggered this way:
The first user event triggers Task A and Task B.
Then an optional user event can trigger Task C, but that task must not run until Task A and B are finished.
How can ...
Hi,
I followed the railscast that describes how to get workling running background tasks, but can't get it working. The task runs, but not in the background (it's taking 5 secs before I'm redirected to admin_path).
Here is what my code looks like:
class AdminWorker < Workling::Base
def test_workling(options)
sleep...
I am using starling as a queue server in my rails application. so each time i want to call worker method, I have to start starling and workling client from console.
Is there a way where as soon as the passenger is started my workling and starling both get auto started Or preciously when i will call the worker method then only my worlin...
I am implementing a poller service whose interface looks like this.
poller = Poller.new(SomeClass)
poller.start
poller.stop
The start method is supposed to continuously start hitting an http request and update stuff in the database. Once started, the process is supposed to continue till it is explicitly stoped.
I understand that imp...
Hi For my project I would like to run some jobs in background using workling (publish some data to the queue) but I'm getting errors while trying to configure my app (unitialized constant MemCache) I'm using Fedora 13 + ruby enterprise edition My questions are
Has anybody worked with workling recently ? Was everything fine ?
Did you ...
Hi I'm trying to use RabbitMQ instead of Starling I've configured my
app and everything seems to be fine but when i run 'script/
workling_client start' it starts to work and ends in a few seconds and
I can't get why
My app works perfectly with Starling
I'm using Fedora 13 ruby 1.8.7 rails 2.3.8 mongrel(configured
according to http://gi...