[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

XQuery and Web 2.0

John Snelson john.snelson at oracle.com
Fri Apr 25 12:45:24 PDT 2008


  XQuery and Web 2.0
John D. Mitchell wrote:
> On Thu, Apr 24, 2008 at 3:58 AM, John Snelson <http://x-query.com/mailman/listinfo/talk> wrote:
> [...]
>>  Simple and complete REST support is important, I agree.
> 
> Are you saying that should be in the XQuery language itself or in the
> standard libraries?  Seems overkill for the former but I'd love to see
> it in the latter.

I don't mind either way, as long as it's a standard portable method.

>> It seems to me that since XQuery is declarative the compiler ought to be
>> able to work out how and where to parallelize your program, rendering
>> explicit parallel algorithms obsolete.
> 
> In terms of the general sentiment that functional languages obviate
> the need for explicit parallelism... Well that's akin to the beliefs
> that non-trivial distributed systems can be created that completely
> hide their distributed nature (e.g., the realities of the underlying
> network).  In general, automatic parallelism seem to be able to get up
> into the 4-8 way parallel range and that's it for all but the
> embarasingly parallel (that also fit the particular parallelizer's
> model).

The map/reduce model is based on the idea of massively distributed data 
and shipping the query to the data. The "map" part is the part of the 
query that is shipped to the data and executed there, the "reduce" part 
can then be run to combine the result of "map" part in interesting ways, 
and happens at a layer above the individual machines that hold the data.

It seems to me that for the vast majority of XQuery programs I see, it 
should be fairly easy for the compiler to identify and extract the "map" 
and "reduce" parts of the program automatically. I think this is highly 
desirable - map/reduce has given us the primitives, but there is 
definitely room to add higher level abstractions on top of that. I think 
XQuery is very well suited for that.

John

-- 
John Snelson, Oracle Corporation            http://snelson.org.uk/john
Berkeley DB XML:            http://oracle.com/database/berkeley-db/xml
XQilla:                                  http://xqilla.sourceforge.net


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
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-2007 All Rights Reserved.