Displaying 20 results from an estimated 1000 matches similar to: "BackgrounDRb 0.2.1 Release"
2006 Oct 30
1
new BackgroundRB
Hey Greg-
Yes I am sorry, the new architecture uses fork and named pipes and a
bunch of unix stuff to do its magick. Now you may be able to port it
to qwork on windows, but I don''t think it is possible :( I''m really
sorry about this but I need this thing to be as robust and solid as
it can be and in the end windows isn''t compatible. Now you may be
able to
2007 Mar 13
5
worker starting twice
Hi gang,
Thanks to other help I''ve gotten on this list, I''ve got backgroundrb
up and running using postgres alongside my rails app. I''ve designed
the system to have several eternally-running workers that periodically
poll the database to see if there''s any work for them to do, and set
things up in the config file to make them restart quickly if any of
them
2007 Jan 22
1
Strange behavior
Ok two things that bug me
1) http://backgroundrb.devjavu.com/projects/backgroundrb/ticket/48
i thought i''ll just post ticket link - but well - it''s strange
2) when i switch base class from RailsBase to Base i can''t access MiddleMan
- i get error
NameError: uninitialized constant MiddleMan
from (drbunix:///tmp/backgroundrbunix_localhost_2999)
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] )
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
2006 Nov 20
2
schedule support on latest svn, a question
I''m running the latest backgroundrb mainly for scheduled tasks support.
As per the documentation I created the backgroundrb_schedules.yml with
the following:
simple_label:
:class: :document_sorter_worker
:worker_method: :do_work
:job: :bleh
:trigger_args:
:start: <%= Time.now + 5.seconds %>
:end: <%= Time.now + 10.minutes
:repeat_interval: 1.minute
Under
2010 Jun 15
0
[LLVMdev] Question on X86 backend
Thanks Cristoph, I have that code in my backend, but unless I do the following, the registers are never considered 'live' into the call.
/ Handle a function call
let isCall = 1,
Defs = [
R0, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15,
R16, R17, R18, R19, R20, R21, R22, R23, R24, R25, R26, R27, R28, R29, R30, R31,
R32, R33, R34, R35, R36, R37, R38, R39, R40, R41,
2006 Dec 14
5
Is there a way to make backgroundrb 0.2.1 fail silently on win32?
After upgrading to backgroundrb 0.2.x, Rails barfs lstat errors left and
right when using the console or webrick or mongrel on win32. We run our
site on a Linux server, so I''m not trying to get backgroundrb to work on a
win32 machine. I just want to quietly stop loading itself if it detects
that it''s on a win32 machine so that the rest of Rails can continue to load.
Most of
2006 Nov 20
2
Passing object into results - "can''t convert DRb::DRbUnknown into Hash - (TypeError)"
Hi,
I''m using backgroundrb to get RSS feeds and pass them back to the
controller. I''m using the Ruby RSS library to parse the feed, which returns
an RSS object. After that I pass the object into the results hash, but
that''s when this error occurs. Basically, this is what I have:
rss = RSS::Parser.parse(response.body)
results[:feed] = rss # error!
20061120-15:46:19
2006 Nov 05
5
backgroundrb preview
Hi Ezra/skaar,
Wow man, the exercise was worth it. The connection closed problem with
socket as i mentioned in my earlier mails...completely disappeared,
and now i can connect only once to the socket and keep reading..till
end of its days.
Literally impossible with older release of backgroundrb.
This could also potentially solve the issues people were having with
ActiveRecord.
As i said
2008 Jan 09
0
BackgrounDRb 1.0.1 release available now
Hi Folks,
I am glad to announce a 1.0.1 release of BackgrounDRb library. It has
numerous fixes and some nice feature updates, so please upgrade.
Code:
http://svn.devjavu.com/backgroundrb/tags/release-1.0.1/
Updates and Fixes:
* Fixed issue with Mysql Lost connections
* Message debugging can be disabled now with ''debug_log'' option in
configuration file( :debug_log: false)
2007 May 09
0
Neophyte needs help!
Hi All,
Real neophyte here, to both backgroundrb and ruby/rails in general.
(Hey, we''ve all got to start somewhere, right!) :)
I''ve just been playing around with the example code at
http://backgroundrb.rubyforge.org/ , and trying to get all
the pieces to work (btw, I''m using version 0.2.1).
I did a ''generate worker example'', which created an
2007 Mar 13
3
Scheduled worker dies after about 30-45 runs
I have a scheduled worker that runs every minute, checking for new eBay
auctions to post. If it finds an auction, then it posts it. If there are no
auctions in the database that are queued up, it simply does nothing. I got
the worker to finally run as a scheduled worker, every minute. However,
after about 30-45 scheduled runs, it simply stops running.
My backgroundrb_schedules.yml file:
------
2006 Dec 15
3
can Timeout::timeout(...) be used in a Worker ?
Hi ,
I was wondering if anyone else has tried to use the Timeout::timeout
method in a backgroundrb Worker and had Timeout raise an exception
after the allotted amount of time .
I ask because i have written a test script to make sure Timeout would
work . I have tested the script by directly feeding it to ruby with :
$ ruby test_script.rb
and piping the script to the rails console:
$
2007 Dec 17
11
BackgrounDRb release 1.0 available now
Hi Folks,
I am glad to announce 1.0 release of BackgrounDRb.
This would be a major release since 0.2 release of BackgrounDRb.
Here is a brief summary of changes:
- BackgrounDRb is DRb no longer. It makes use of EventDriven network
programming library packet ( http://packet.googlecode.com ).
- Since we moved to packet, many nasty thread issues, result hash
corruption issues are totally
2007 Nov 16
1
Backgroundrb with Load Balancing Rails engines
Hi there,
We run several (3-4) Rails servers behind the reverse proxy / load
balancing web server serving the single application. All Rails
instances share the same database and use the database as a session
storage. Memcached is also part of the picture.
I''m looking into using Backgroundrb for some large uploads / parsing
task that provide progress status updates (via ajax calls).
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 Feb 18
2
backgroundrb launches concurrent instances of same job
Hi there,
Backgroundrb is working pretty well for me but I have a job that launches
two of the same job, apparently a minute(?) apart from each other. Should
this be happening if I have repeat interval enabled with a job_key? It
seems like it should wait until the job is finished before launching a new
instance.
--Backgroundrb_schedules.yml--
city_updater:
:class: :city_updater_worker
2007 Jan 27
0
Debugging stale backgroundrb
Hi!
As you might remember I''m having a problem of backgroundrb stopping
calling my workers after some period of time. I tried adding logging
to backgroundrb source code but it didn''t help. So, after digging
through internet I''ve found several gdb tools and here''s what I''ve
discovered:
After attaching to a backgroundrb ruby process it turns out that it
2007 Jan 22
1
MiddleMan behavior
i found some questions and answers on mailing lists but there is still a
problem - when i want to create new worker from within a worker -
::BackgrounDRb::MiddleMan.new_worker(:class => :second_worker, :args =>
{:id=>2, :text=>"slave"}) works
but when i want to get reference to that object:
::BackgrounDRb::MiddleMan.worker(@second)
yields:
NoMethodError: undefined