You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Sonny Sukumar <ah...@hotmail.com> on 2003/08/11 00:02:50 UTC

[resent] map:part's processed in parallel?

[I didn't get any response, so I was wondering if somebody knows about this. 
  It would be really helpful.]

Hey all,

Are map:parts in a map:aggregate executed in parallel or in serial?  Because 
I wrote one where the 2nd part should only start to be generated after the 
first has completed, but the output indicates a parallel execution instead 
of a serial one.  For example:

<map:aggregate element="new-root">
  <map:part src="cocoon:/src1"/>
  <map:part src="cocoon:/src2"/>
</map:aggregate>

Here I need cocoon:/src2 to only begin its generation after cocoon:/src1 is 
completed.  If they do go in parallel, is there any way to force the parts 
to be generated serially?

Thanks,

Sonny

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: [resent] map:part's processed in parallel?

Posted by Christoph Gaffga <cg...@triplemind.com>.
hi,

the parts are not processed in parallel. The are processed in the order they
apear in the sitemap.

Christoph

----- Original Message -----
From: "Sonny Sukumar" <ah...@hotmail.com>
To: <us...@cocoon.apache.org>
Sent: Monday, August 11, 2003 12:02 AM
Subject: [resent] map:part's processed in parallel?


>
> [I didn't get any response, so I was wondering if somebody knows about
this.
>   It would be really helpful.]
>
> Hey all,
>
> Are map:parts in a map:aggregate executed in parallel or in serial?
Because
> I wrote one where the 2nd part should only start to be generated after the
> first has completed, but the output indicates a parallel execution instead
> of a serial one.  For example:
>
> <map:aggregate element="new-root">
>   <map:part src="cocoon:/src1"/>
>   <map:part src="cocoon:/src2"/>
> </map:aggregate>
>
> Here I need cocoon:/src2 to only begin its generation after cocoon:/src1
is
> completed.  If they do go in parallel, is there any way to force the parts
> to be generated serially?
>
> Thanks,
>
> Sonny
>
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
> http://join.msn.com/?page=features/virus
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: [resent] map:part's processed in parallel?

Posted by Upayavira <uv...@upaya.co.uk>.
Sonny,

I've taken a look at the source for the Aggregator. In that code there's no reference to 
threading, however it does use a parser to interpret the sources that the <map:part> 
nodes refer to. It is possible that those parsers are multi-threaded, and right now 
finding that out is beyond my level of ability. Maybe someone else can help more...

Regards, Upayavira

On 10 Aug 2003 at 15:02, Sonny Sukumar wrote:

> 
> [I didn't get any response, so I was wondering if somebody knows about
> this. 
>   It would be really helpful.]
> 
> Hey all,
> 
> Are map:parts in a map:aggregate executed in parallel or in serial? 
> Because I wrote one where the 2nd part should only start to be
> generated after the first has completed, but the output indicates a
> parallel execution instead of a serial one.  For example:
> 
> <map:aggregate element="new-root">
>   <map:part src="cocoon:/src1"/>
>   <map:part src="cocoon:/src2"/>
> </map:aggregate>
> 
> Here I need cocoon:/src2 to only begin its generation after
> cocoon:/src1 is completed.  If they do go in parallel, is there any
> way to force the parts to be generated serially?
> 
> Thanks,
> 
> Sonny
> 
> _________________________________________________________________ MSN
> 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
> http://join.msn.com/?page=features/virus
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For
> additional commands, e-mail: users-help@cocoon.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org