RubyFlow : Ruby Community Link Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

Parallel processing in ruby made simple

Parallel processing for ruby allows to easily run any code in parallel Processes or Threads , no more piping/forking/serialisation knowledge required, just results = Parallel.in_processes(2){|i| expensive_computation(data[i]) }

Comments

Post a Comment

Note: If you are a registered user, you can log in to populate these fields.

You may use ONLY these HTML tags to format your comment:
<a href="" title=""> <b> <blockquote> <code> <em> <i> <strong>
Do NOT use <p> tags. Just use newlines :-)

m
e
t
T bum
a
c
l
a
s
O willy
s
I willy
t
H tits
a
p
N tits