On Wednesday, January 3, 2018 at 12:09:52 AM UTC-8, shashank Jain wrote:
>
> One more observation. Under 300 concurrent threads.
>
> Initially Acquire method in threaded.rb was taking upto 15 secs. We as an 
> experiment removed the sync blocks from it. The time for acquire reduced, 
> but now I see hold method taking same amount of time.
>
> What can be the possible reasons ?
>

If you remove the sync blocks, you remove all thread safety. hold also 
calls sync, so you are just hitting the mutex at a different time.

Did you try using JRuby instead of CRuby?  JRuby will generally handle a 
large number of threads better.

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to