[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Partitioning?


cocoon partitioning
Hi Steven,

Steven said:
Cocoon (http://xml.apache.org/cocoon/) is be able to do so using its 
BrowserSelector 
(http://xml.apache.org/cocoon/userdocs/selectors/selectors.html) or 
using DELI (CC/PP -
http://xml.apache.org/cocoon/developing/deliquick.html).

If you want an example sitemap configuration for this, please ask.

Didier replies:
I checked Cocoon thinking that they developed something new since the
last time I checked (last month) and it is the same thing. Cocoon still
doesn't support process partitioning. Let me explain why:

In cocoon, the xml document doesn't need to include the stylesheet
Processing instruction since cocoon uses the selector definition to
associate a style sheet to the xml document. So, the xml document
doesn't include a style sheet processing instruction. Moreover, to
support full partitioning, cocoon would need to include the style sheet
processing instruction in the xml document before sending it to the
client. Thus, if the client support XSLT, the server includes the style
sheet processing instruction in the xml document and otherwise performs
the transformation on the server side based on the selector definition.
It seems that cocoon still doesn't support full transformation process
partitioning. Deli just uses the more formal CC/PP model to provide
information on the client's capabilities.

Steven said:
Reverse-proxying what? I don't understand your question, please give an 
example.

Didier replies:
Now about the reverse proxy stuff it means that in front of an HTTP
server stands a transformation server. This latter receives the client's
request and performs the transformations. The HTTP server is located on
a different machine. This allows to manage the workload between a farm
of transformation servers and a farm of HTTP servers. Cocoon is designed
to have everything on the same server. This implies that you may
experiment scalability problems that could be prevented by allowing to
structure the servers in two sets: a) the transformation engines and b)
the HTTP server. Moreover, this structure allows you to get the servers
to balance the workload among the different HTTP servers.

Steven said:
Cocoon websites: http://xml.apache.org/cocoon/link/livesites.html and 
also parts of salon.com, nasa.gov - the users' mailing list sometimes 
reads like a Fortune 500 directory ;-)

Didier replies:
Yes indeed. However I would be curious to know what kind of traffic they
sustain and if the way they use cocoon could be used in other sites like
for instance e-bay. I checked several of these sites and none of them
perform a transformation on the client side even if my browser support
XSLT 1.0. So, their server do not leverage the client's transformation
power and thus these sites doesn't perform process partitioning. Seems
that we are still in the middle ages of distributed computing and that
we need a "renaissance" renewal. 

Thanks for your help and comments

Cheers
Didier PH Martin




PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.