# Open-uri, rss parser and thread safe

**URL:** <https://www.ruby-forum.com/t/open-uri-rss-parser-and-thread-safe/168765>\
**Category:** Ruby\
**Created:** [May 25, 2009, 3:36pm UTC](https://www.ruby-forum.com/t/open-uri-rss-parser-and-thread-safe/168765 "2009-05-25T15:36:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![scudco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@scudco](https://www.ruby-forum.com/u/scudco)\
**Post date:** [May 25, 2009, 3:36pm UTC](https://www.ruby-forum.com/t/open-uri-rss-parser-and-thread-safe/168765/1 "2009-05-25T15:36:59Z")

</div>

Hi im using backgroundrb to schedule scraping of some sites and it uses  
threading but the docs warn that not all libs are thread safe.

Some of my results are not expected when threading (but are when i dont  
use threading) and Im using open-uri to grab my feeds. I tried looking  
at the online docs but couldnt find anything regarding thread safety for  
open-uri.

Does anyone know if its ok to use it in threads?

If not does anyone know of a fairly fast rss grabber/parser that is and  
doable on a linux env.?
