Moritz Petersen wrote: >hi list, > >i am wondering, if generators, that implement the cacheable interface, >automatically block simultaneous accesses? >i want to write a generator, which has to execute heavy computings. so if >caching is enabled, it would be clever to compute just once - that means >that all other requests have to wait until the first generator is ready - >and after that just read the results from the cache. > >any help would be appreciated, > You could take some information from DBPrismGenerator (http://www.dbprism.com.ar/dbprism/doc/xdocs/DBPrismGenerator.html) It implements parallel content agregation using the setup stage to fire the generation in advance. Also uses DBPrism External Cache Invalidator Server to externally control which page are no longer valid and so on.
> > >moritz. > If you need the source Download the newest version 2.0.0-alpha1 (12mb including cocoon 2.0.1-bin) or I'll sent to you the java code alone. Best regards, Marcelo. -- Marcelo F. Ochoa - [EMAIL PROTECTED] Do you Know DB Prism? Look @ http://www.plenix.com/dbprism/ More info? Chapter 21 of the book "Professional XML Databases" (Wrox Press http://www.wrox.com/) Chapter 8 of the book "Oracle & Open Source" (O'Reilly http://www.oreilly.com/catalog/oracleopen/) ----------------------------------------------- Lab. de Sistemas - Fac. de Cs. Exactas - UNICEN Paraje Arroyo Seco - Campus Universitario (7000) Tandil - Bs. AS. - Argentina Te: +54-2293-444430 Fax: +54-2293-444431 --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>