Displaying 20 results from an estimated 1000 matches similar to: "New BackgrounDRb release"
2006 Jul 01
9
BackgrounDRb New release.
Howdy Folks-
I''m happy to announce a new release of BackgrounDRb! I have added
quite a few new features and included some nice patches from folks on
the list.
$ script/plugin install svn://rubyforge.org//var/svn/backgroundrb
All of the code now stays within the plugin and the start and stop
scripts are now just stubs. This makes it easier to tweak or figure
out how it works.
2007 Oct 25
3
Mocking Workers in Backgroundrb
Hi
Has anyone mocked a call like the following for backgroundrb?
MiddleMan.new_worker(:class => :admin_email_worker, :args => params
[:email])
I cannot seem to find the correct manner to do it.
Would have liked to be able to do MiddleMan.should_receive
(:new_worker).with(:class => :admin_email_worker, :args => {"body" =>
"my message"})
Cheers
Shane
2007 Dec 22
1
Backgroundrb Question
If I have a worker and everything set up and I call:
MiddleMan.ask_status(:worker => :foo_worker)
MiddleMan.ask_status(:worker => :foo_worker)
MiddleMan.ask_status(:worker => :foo_worker)
three times in quick succession. Will the tasks be queued up and
executed as the previous one finishes? Or is this going to ignore the 2
bottom requests? How does this work?
Do I absolutely need to
2007 Nov 30
1
backgroundrb not cleaning up tmp files?
I just had an interesting issue on a production system that has been
running nicely for about a year. There were approximately 10,000
backgroundrb temp files in the /tmp directory. It looks like
backgroundrb wasn''t cleaning them up.
I noticed it with the following error:
DRb::DRbConnError: drbunix:///tmp/backgroundrb.20015/
backgroundrb_logger_0_0.101544829808665 -
2006 Dec 07
2
backgrounDRb problems with results and MiddleMan
Hi there,
I''ve been experimenting with implementing BackgroundDRb in my rails app but
am running into some problems.
The primary problem I''m getting is in cleaning up worker threads, or getting
any kind of response out of worker threads.
If try using the response function/hash in my Worker the worker will not
execute reporting that response is an unknown variable or function.
2008 Jan 25
4
hi, can someone explain to me backgroundrb and mongrel?
hi,
i am trying to grasp some concepts about mongrel, rails, and
backgroundrb on how they all work in terms of threads and such. is there
a book about distributed ruby and processes? i havent seen any on amazon
yet...
from my blog reading, i have some questions....
rails can handle 1 request at a time and can buffer to a certain extent?
when mongrel instances are created, a copy of the rails
2006 Nov 04
1
BackgrounDRb Call for help
Hey there bdrb''ers!
I have been so very busy with http://engineyard.com that I have not
had time to complete the new release of backgroundrb. But I have done
substantial work towards it. It is basically an entirely new beast
with a complete rethinking of how it works. I have put up a zip file
of the new code base in the hopes that some folks will be able to
start playing with
2006 May 15
10
BackgrounDRb background task runner and Application Wide Context Store
Friends-
I''m happy to annouce the first alpa release of BackgrounDRb. This is
a small framework for managing long running background tasks that
allows for ajax progress bars and more. It also serves as an
Application wide cache and context store for when you need something
like sessions but shared between users and multiple backend processes
like fcgi''s or mongrels.
2007 Apr 04
1
Password required for dejavu repo
Since this morning, the server at http://svn.devjavu.com/backgroundrb
is requiring authorized access.
Could you guys look into it?
Thanks,
Saimon
--
Saimon Moore
Freelance Web Developer
(Available for hire - For details visit http://saimonmoore.net)
Skype: saimonmoore
Yahoo IM: saimonmoore
Google IM: saimonmoore
2006 Nov 27
1
rails environment loaded but one plugin is undefined (using backgroundrb 0.2.0)
Hello all,
I''m using BackgroundRb 0.2.0 (standalone) and in the do_work method of
my worker, I''m working with objects from my Rails application. So in my
config/backgroundrb.yml file, I added this line:
:load_rails: true
I think my worker isn''t doing what I want him to do. So I opened the
console and read these error lines:
# ruby script/backgroundrb console
2007 Jan 15
2
Backgroundrb keeps spawning processes
Hi!
I''ve just a created a really simple rails scheduled worker for
backgroundrb to start playing with :
class SessionCleanerWorker < BackgrounDRb::Worker::RailsBase
def do_work(args)
logger.info "SessionCleaner> started"
CGI::Session::ActiveRecordStore::Session.destroy_all( [''updated_at
<?'', 120.minutes.ago] )
2007 Jan 22
6
[Ferret] Test failures for ferret tagged REL-0.10.14
Hi Dave,
I''ve been getting some segment faults while running my tests using
0.10.14 gem so I decided to package the gem locally to add -dH and
generate core dumps for you.
So I followed instructions here
http://ferret.davebalmain.com/trac/wiki/DownloadCurrent and first off
ran the tests.
I''m getting the following failures. (see this pastie
http://pastie.caboo.se/34790).
I
2007 Sep 24
3
Trouble using backgroundrb
Hi all,
I''m a newbie to backgroundrb and am having trouble integrating it into
my rails-app. I''m using namespaces to differentiate between the parts of
my app.
When I want to create a new worker, it seems that it cannot find the
worker object. Here''s my code:
-------------------- controller app/passwd/index --------------------
class Passwd::IndexController <
2007 May 22
4
Recommendations for eternally-running backgroundrb workers?
I''ve got some workers that I want to have running all the time. Right
now I''m just launching them manually, by requesting a special page in
my rails app that includes lines like:
MiddleMan.new_worker(:class=> :receiver, :job_key=>:r,
:args=>{:sleep_time=>10})
This strikes me as a really weak way to fire up my workers. I
basically want to automate things so
2006 Jul 14
4
Using BackgrounDRb to replace nested loops?
In response to my Rails Weenie post today[1], someone mentioned that
I try BackgrounDRb to help take the strain off my application.
1: http://rails.techno-weenie.net/question/2006/7/13/nested-loops-
best-way-to-send-messages-to-blog-subscribers
I''ve just tried to install and use BackgrounDRb with my app, but I''m
afraid that I''m not too versed in running processes
2007 Jan 17
5
[ActsAsFerret] Globalize integration
Hi,
I''ve modified the latest acts_as_ferret code (version 0.3.0) to
integrate with the Globalize (http://www.globalize-rails.org/globalize/)
plugin.
Essentially, I''ve added the ability to use a separate index per locale
(It basically adds the language code as a suffix to the index and
switches between indexes when the active locale changes).
Since this introduces an optional
2006 May 18
9
Possible solutions to txtdrive process killing for cpu usage
Hi,
I''ve just deployed a basic ecommerce site on textdrive.com. The
application has been stress tested on our local development machines and
appears to be running fine (no memory leaks).
However, on textdrive the fcgi processes are being killed after just a
few requests apparently because of cpu usage (The log says the processes
exceeds 17% average cpu usage in the last few minutes)
2007 Feb 14
1
Scheduling in backgroundrb not working
Hi ,
How do i schedule a job that can send emails at intervals of time
using backgroundrb and rails
For testing When i hit the controller i''m able send the emails.
but that is not i intend to do .....
I want to use backgroundrb and rails in which i''ll schedule a job
for every 5 minutes/ 1 minute or so..... to send an email
But when i write
2006 Aug 01
2
making backgroundrb cron
Hello,
i need to have some jobs scheduled in the background and executed at
specific times. I wanted to make a worker who does that - and it works a
little bit - but i had an enlightment... why not make bgdrb itself play that
role? i mean, the MiddleMan has already everything needed! a timer thread,
currently used only for deleting old workers and the workers itself. since
im not familiar with
2006 Oct 30
11
BackgrounDRb 0.2.0 Release! Complete rewrite.
Hello Folks-
I am really happy to announce the release of BackgrounDRb 0.2.0 .
This is a complete rewrite and re-architecture of this codebase. I
want to
thank skaar for all of his hard work. I put out a call for help with
the new
architecture and skaar stepped up bigtime. I had already written
the new
scheduler and cron compatible syntax and moved to multi process
architecture. But he