I forgot about rails plugins (for example attachment_fu or calendar_helper),
but what I really meant was rubygems used by Olio: rcov, will_paginate,
image_science and RubyInline.

In short, Olio, maybe, is thread-safe or not, and there's a need for more
tests in order to prove it right? Maybe plugins/gems developers would be the
right folks to answer if each one is thread-safe or not. And then we could
conclude how would Olio would work. What do you think?

regards,
--
Bruno Guimarães Sousa
www.ifba.edu.br
PONTONET - DGTI - IFBA
Ciência da Computação UFBA
Registered Linux user #465914


On Wed, Jun 9, 2010 at 11:59 AM, Amanda Waite
<[email protected]>wrote:

>
>
> 2010/6/9 Bruno Guimarães Sousa <[email protected]>
>
> Hi,
>> Rails application cores are thread safe since 2.2 version(
>> http://guides.rubyonrails.org/2_2_release_notes.html#thread-safety). So I
>> suppose Olio's core is thread safe.
>>
>
> That's an interesting question and one that I can only offer empirical
> evidence on. We've run Olio Rails with most of the available runtime
> infrastructures from WEBrick to Passenger with both green threaded and
> native threaded Ruby 1.8 implementations and we've not encountered any
> issues. On some of our rigs we've run Olio on JRuby on systems with large
> numbers of hardware theads.
>
>
> Are Olio's gems able to work with threadsin order to achieve full thread
>> support?
>>
>
> It's impossible to say for sure, they are off the shelf plugins (you do
> mean the plugins right?)  but that doesn't necessarily mean that the
> versions used in Olio have been tested for thread safety. Again empirical
> evidence is all I can offer.
>
> It's something that we can address properly when we add support for Ruby
> 1.9.
>
> If you meant infrastructure gems such as thin, rack and the MySQL gem then
> they would be considered parts of the System Under Test and if there are any
> concurrency/thread-safety issues with these then Olio is the very tool that
> you need to identify them.
>
> Amanda
>
>
>
>>
>> regards,
>> --
>> Bruno Guimarães Sousa
>> www.ifba.edu.br
>> PONTONET - DGTI - IFBA
>> Ciência da Computação UFBA
>> Registered Linux user #465914
>>
>
>

Reply via email to