[Backgroundrb-devel] Some more updates, enhancements and fixes

hemant gethemant at gmail.com
Mon Dec 17 01:25:18 EST 2007


On Dec 17, 2007 11:39 AM, hemant <gethemant at gmail.com> wrote:
> Hi Folks,
>
> Well, Yesterday I pushed some more updates that I was cooking since
> last couple of days. Here is a brief list:
>
> 1. Results from worker stays even after a worker dies.
> 2. You can ask backgroundrb to store status objects in memcache
> cluster now. by default its stored in master process memory, but I
> have introduced an option to allow it to be stored in a memcache
> cluster:
>
>     #backgroundbr.yml
>        :result_storage:
>           :memcache: "10.10.10.2.11211,10.10.10.6:11211"
>
>
> 3. Check for Ruby version.
> 4. Introduced Thread pool now,  all the workers have access to
> "thread_pool" object, which can be used to run concurrent tasks in
> ruby threads:
>
>     An example,
>
>       def scrap_wikipedia(text)
>           thread_pool.defer(text) do |text|
>               scrap_and_store_text(text)
>           end
>       end
>
>  Please consult backgroundrb documentation for more information about
> this. By default the thread pool is of size 20.
>
> 5. Wrote examples on, how to use "connect" and "start_server" methods
> from backgroundrb workers. Again, consult documentation for it.
>
>
> Lets try/run it for a while and it will be released as 1.0 .

I have also cleared up tickets  on:

http://backgroundrb.devjavu.com/

So, if your ticket is against an old version of backgroudrb its
probably cleared out. If you feel, please post it again, with relevant
details against new version.




-- 
Let them talk of their oriental summer climes of everlasting
conservatories; give me the privilege of making my own summer with my
own coals.

http://gnufied.org


More information about the Backgroundrb-devel mailing list