Adrien, if you can nail it down I'd be happy for a fix. I don't use the asset pipeline, but you might want to look at the parallelism constructs accepted by SSHKit's `on()` command (see the docs, also some reference in the cap README) and compare that against whatever is being done in `capistrano/rails/assets`, it might be that we're failing to parallelise at all.
- Lee Lee Hambley -- http://lee.hambley.name/ +49 (0) 170 298 5667 On 29 October 2013 11:51, Adrien Siami <[email protected]> wrote: > Hey, I might have a clue on what's going on. > > I'm deploying on a pool of 7 servers. > > On each server the asset precompilation takes ~ 30 secs when I run it via > ssh. > > Capistrano took 203 secs to execute the precompilation for all hosts. > > 30 * 7 = 210 , This may be a parallelism problem. > > On Tuesday, October 8, 2013 12:07:01 AM UTC+2, Lee Hambley wrote: >> >> That's a tricky one Ardien, there's nothing different from cap invoke, >> and the task itself in terms of implementation. I'm sorry I can't really >> help. If your recipe is simple, you might try v3, and see how that gets on? >> > -- > -- > * You received this message because you are subscribed to the Google > Groups "Capistrano" group. > * To post to this group, send email to [email protected] > * To unsubscribe from this group, send email to > [email protected] For more options, visit this > group at http://groups.google.com/group/capistrano?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Capistrano" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en --- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
