cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: Desparately seeking help with pipeline implementation
Date Sun, 30 Apr 2006 11:59:57 GMT
Stefan Pietschmann wrote:
>
> Hi guys,
>
> for my thesis I have implemented a custom pipeline, which modifies the
> list of transformers to be run during pipeline setup. This is done
> with every request in setupPipeline(), so I need to reset to the
> original every time, before I modify again.
>

Why do you need that? Can't it be done by overloading one of
setGenerator/addTransformer/setSerializer?

> That's why I try to do a backup of the list, then reload it at the
> beginning. It has been working smoothly so far, but I just started
> testing deeply with JMeter, and when I use 10 Threads (my testcase is
> that 10 Threads are 10 times requesting a page for 10 times, so 1000
> requests altogether), I'm running into problems. I get errors around
> the 150^th request… and they are getting more and more. They occur in
> several classes (the TraxTransformer, IntStack, SAX2DTM and so on),
> but I'm pretty sure that's not where the problem lies, because with
> the default pipeline there are no such problems. Can you please look
> into my implementation? I'm sure there must be some stupid mistake (I
> haven't worked in multithreading environments yet).
>
> This is really important since my deadline is very very near and this
> came totally surprising to me L
>
> I have simplified the pipeline as much as I could – you only need to
> adjust the package to where you put it and add it to your sitemap.
> When running a simple testcase with several threads, you will see the
> problems L
>

Giving more details about the errors you obtain would be useful, but I
guess this is more related to component pools than to multithreading.

Sylvain

-- 
Sylvain Wallez - http://bluxte.net


Mime
View raw message