search for: myspace_work

Displaying 1 result from an estimated 1 matches for "myspace_work".

Did you mean: myspace_worker
2008 Mar 25
0
Questions about backgroundrb
...r x, wants to track /social_revolution page of myspace and user y wants to track /facebook_suks page of myspace. As you mentioned earlier, tracking itself will be invoked from rails hence, assuming our myspace worker is already started, we will send following data to the worker: MiddleMan.worker(:myspace_worker).crawl_page(:page_name => "social_revolution",:user_id => x) Where crawl_page is a method inside MyspaceWorker. class MyspaceWorker<BackgrounDRb::MetaWorker def create @crawled_data = {} @data_mutex = Mutex.new end def crawl_page options = {} thread_pool....