Questions tagged [workling]
23 questions
5
votes
3 answers
Job queue alternatives to workling for use with rails 3?
Workling appears to be incompatible with rails 3. What alternatives are there for dealing with work queues in a rails 3 application?

kdt
- 27,905
- 33
- 92
- 139
3
votes
1 answer
Problems with starling/workling in production mode
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…

Chris Drappier
- 5,280
- 10
- 40
- 64
2
votes
2 answers
Starling: How to speed up the queue
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…

netflux
- 3,648
- 6
- 37
- 40
2
votes
0 answers
Starling/Workling Issue on Rails
I'm trying to get starting and workling working on rails 3, and am having some issues. I have starling-starling installed in the gemfile, and installed workling via:
rails plugin install git://github.com/purzelrakete/workling.git
I then wrote my…

Craig Liamson
- 65
- 1
- 4
2
votes
1 answer
Workling processes multiplying uncontrolably
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…

adam
- 791
- 6
- 21
1
vote
2 answers
In rails Processing 45k of database records using workling without affecting server performance
In my rails app, I use a worker process to scan 45k database records once in 6 hours and send out mails if certain condition is met. This causes the server CPU/Load to spike when the worker is processing. As a result of which other server request…

anusuya
- 653
- 1
- 9
- 24
1
vote
1 answer
workling & RabbitMQ
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…

Bohdan
- 8,298
- 6
- 41
- 51
1
vote
1 answer
Rails background job processing
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…

mohit
- 1,913
- 3
- 16
- 23
1
vote
1 answer
How can I synchronize multiple Workling workers?
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…

Daniel Rikowski
- 71,375
- 57
- 251
- 329
1
vote
2 answers
Phusion Passenger + Workling + RabbitMQ
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…

PanosJee
- 3,866
- 6
- 36
- 49
0
votes
2 answers
Ruby daemon hangs on rails load
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…

robinator
- 1
- 2
0
votes
1 answer
"uninitialized constant ActiveSupport::CoreExtensions" when trying to load workling plugin
I'm using Rails 5.0.1. I want to run a background process, independent of my Rails server. I thought the workling plugin would helhp me out -- https://github.com/ascarter/workling . However, upon adding this Gem to my Gemfile
gem 'workling'
and…

Dave
- 15,639
- 133
- 442
- 830
0
votes
1 answer
workling doesnt work when the database is down in my rails app
i want to schedule my worker using a cron job to check for database connection periodically (say like 5 mins) and update a memcache key accordingly. so in my app if i find the memcache variable to be set. i render my pages differently then, when the…

anusuya
- 653
- 1
- 9
- 24
0
votes
1 answer
workling client stops in a few seconds after start
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…

Bohdan
- 8,298
- 6
- 41
- 51
0
votes
3 answers
Need a ruby solution for executing a method in separate process
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,…

Chirantan
- 15,304
- 8
- 49
- 75