Displaying 20 results from an estimated 2000 matches similar to: "How you want BackgrounDrb to behave"
2007 Nov 02
10
pre-release version of backgroundrb available now from svn
Hi,
A pre-release version of backgroundrb is available now from svn.
Download it from here:
http://svn.devjavu.com/backgroundrb/branches/version099/
Since this release marks significant migration from existing
practices, i intend to keep trunk untouched for a while.
There are no install scripts, but you should copy "backgroundrb" file
from script directory of plugin to script
2007 Nov 14
7
BackgrounDRb version 1.0RC1 available now
Hi Folks,
BackgrounDRb is a Ruby job server and scheduler. Its main intent is to be
used with Ruby on Rails applications for offloading long-running tasks.
Since a Rails application blocks while serving a request it is best to
move long-running tasks off into a background process that is divorced
from http request/response cycle.
This new release of BackgrounDRb is also modular and can be used
2007 Dec 06
10
Feedback on RC2
I tried to upgrade my existing application to RC2 last night. Like many, I
use this mostly for running scheduled tasks. For the moment, I''ve abandoned
the effort, but am looking forward to being able to use this. Feedback
below:
First, the reason I was looking forward to this upgrade was to use the
threaded scheduler. I have an application with long-running tasks. I found
that
2007 Dec 25
6
error: no marshal_dump is defined for class Thread
I get this error periodically in backgroundrb.log, but only on my
production box (the one running ruby 1.8.5) - my dev box doesn''t get
this error. As far as I can tell, everything is working ok, despite
the error (I don''t really know how to determine if the jobs are
getting threaded successfully, but they are running, that I am sure
of).
Here''s the dump:
no
2008 Mar 25
1
extending bdrb / running multiple servers
Hi,
Thanks for the help getting the new backgroundrb working, things are
working fabulously now.
I have two questions:
1) I have a few basic methods I need available on all my workers in
order to communicate properly with my application... it seems to make
the most sense right now to subclass BackgrounDRb::MetaWorker, or make
a mixin module, because I''m actually extending some
2008 Jan 13
3
right usage of bdrb
Hi,
i''m going to implement a syndication-service, which will get lists in
xml with some meta-data an enclosed video files, which will get encoded
at the end. The syndication run will be startet every five minutes of
a full hour.
So i thought to build 4 Worker. One for checking which feeds to
syndicate (syndication_worker) at a specific time, one for processing
the list
2007 Dec 28
9
lost connection 2.0
I lost my "connection lost" error.. but now I''ve got a "Mysql::Error:
MySQL server has gone away" error..
It comes from:
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/active_record/connection_adapters/abstract_adapter.rb:128:in ''log''.
I''m not sure if Rails / BackgroundRb uses it .. but i''ve got the mysql
(2.7) gem
2007 Apr 26
2
looking for a worker that''s gone
In my app, I store the job key when a worker is fired off and then
check back in periodically to see how its doing. The workers delete
themselves when they''re done. I would expect when I try to get a
worker that has been deleted, I would get nil or a proper exception,
but instead I get:
>> MiddleMan.worker(''foobar'')
NoMethodError: undefined method
2008 Jan 18
8
Query All Worker
What does the method query_all_workers() do? There is no documentation
on what this method returns (1.0.1 version).
Orion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080118/9f9b8112/attachment.html
2006 Aug 02
10
Ruby deamon
We are building a web-based application with Ruby on Rails and MySQL
backend. The client now wants us to add various workflow features that
will eventually expand into SOAP web services.
These workflow features include tasks such as automatically sending
reminders for due tasks, or if a particular set of information hasn''t
been logged by a certain time to automatically send an email
2008 Jun 10
3
Backgroundrb fixes for transfering large amounts of data
Hemant
We''ve continued testing our application with backgroundrb and found a
couple of other problems when transfering large amounts of data. Both
of these problems are still present in the github version of code.
The first problem is an exception in the Marshal.load call in the
receive_data method in the Packet::MetaPimp class. The root cause is in
the BinParser module, in the arm of
2008 May 03
2
backgroundrb / actionmailer / sendmail
Hello,
I''m trying to send emails from a backgroundrb worker and the email doesn''t
send. I get no log messages in the sendmail log or the system log, nothing
in the backgroundrb logs at all, nothing in the production log.
Below is my code for each component
worker:
class QuizReviewerWorker < BackgrounDRb::MetaWorker
set_worker_name :quiz_review_sender
def create(args =
2009 Jan 06
1
ask_status/register_status deprecated???
Hi,
I''ve been using bdrb for a while and just recently found the need to use the
ask_status/register_status functionality of my worker.
This is the error I get whenever the register_status method is encountered:
...lib/workers/session_worker.rb:10:in `create'': undefined method
`register_status'' for #<SessionWorker:0xb6e7d52c> (NoMethodError)
from
2008 Jan 31
2
cron scheduling problem
I''m running a fresh checkout of release 1.0.1 ...
It''s now 11:32 am local time on January 31.
I''ve configured a single worker for a test.
If I use the following schedule in my background.yaml file:
:schedules:
:debugger_worker:
:ping:
:trigger_args: 0 35 11 * * * *
Backgroundrb starts up without error.
If I make the following
2008 Jun 06
1
Unexpected NameError when invoking task on worker
Hi, I''m brand new to BackgrounDRb and trying to figure out the setup.
I cloned the git repository today as listed on the BackgrounDRb website.
Starting out with a very basic worker, but BackgroundDRb is crashing
on a NameError. Any help to resolve this issue would be greatly
appreciated! Thank you in advance!!
I am also attaching a text file with the output below since it might
be
2008 Jan 17
2
Inconsistent Model creation behavior
Hi,
I have a relatively simple Worker: (I added the line numbers to the
email, they are not in the worker)
#####################################################################################
class ImagetestWorker < BackgrounDRb::MetaWorker
set_worker_name :imagetest_worker
def create(args = nil)
end
def save_image(args)
@newbook = Book.new
@newbook.comment =
2007 Jan 04
10
Intermittent "can''t convert Float into Hash" and results.rb
Hi,
I''m using backgroundrb 0.2.1 in a production environment and for most
parts I''m very happy. We are using it to do some heavy video editing on
the server side and it works great except that under, what seems heavy
load the below problem happens intermittently.
The problem has only happened 5 times out of over 500 runs by our
backgroundrb worker.
This is the code in our
2008 Dec 26
4
''stack level too deep'' error
What might be causing this error? I see it once in 2-3 days and it goes away
when I restart backgroundrb. Quoted below is
my backgroundrb_server_11007.log file. Can I do anything to avoid this?
Thanks,
Raghu
==================================================================================
/usr/lib/ruby/1.8/monitor.rb:224:in `mon_exit'': stack level too deep
(SystemStackError)
from
2008 Oct 25
7
Routing of result not clear in ActionMailer
Dear all,
I am trying to understand the following behaviour of the ActionMailer
in Rails 2.
I have an emailer_controller.rb
class EmailerController < ApplicationController
def send_mail
Emailer::deliver_contact_email(params[:email])
end
end
I have a model emailer.rb
class Emailer < ActionMailer::Base
def contact_email(email_params, sent_at = Time.now)
@recipients =
2006 Apr 21
1
Question on Active Mailer
Hi
I want to create send emails to users as soon as a product is created;
So I created scaffold for Product and before as soon as I do the save I
call my send_email method in another controller; Now I want to pass on
the Product record we created. I tried sending the product as @product,
:product,etc. (tried all) and none work; my idea is to get the product
record and put it in the email