cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Quenot <...@apache.org>
Subject Re: making pipelines wait for each other
Date Mon, 06 Feb 2006 10:21:06 GMT
* Max Pfingsthorn:

> We see  that if a second  request for exactly the  same pipeline
> comes in  before the first  request is  done, it takes  again as
> long because  the first pipeline did  not put its result  in the
> cache yet and it is recomputed.

Same here.

> First I thought  putting an empty CachedResponse  into the Cache
> when we start generating the data. Any pipeline trying to access
> that CachedResponse will notice that it is empty and call wait()
> on it.

I won't  comment on the  *way* to  do it, but  I'd be glad  if you
could do it, because we need that feature.

Thanks a lot,
-- 
Jean-Baptiste Quenot
http://caraldi.com/jbq/

Mime
View raw message