[XML-DEV Mailing List Archive Home]
[Reply To This Message]
Re: XML not ideal for Big Data
- From: Kurt Cagle <firstname.lastname@example.org>
- To: Michael Sokolov <email@example.com>
- Date: Fri, 4 Sep 2009 10:54:59 -0700
There've been any number of cases where I've pre-parsed text formats using Perl or similar tools into "raw" XML files and then converted those into something that was actually useful, and I'd say there's probably a significant set of data for which XML is NOT appropriate. I recently worked with someone doing analysis on several TBytes of Bathyspheric data that made FAR more sense to keep in a relational database - huge amounts of data, but relatively few relational bindings, data being processed was principally numeric and so forth. Putting something like that in XML would have been insane, and definitely not worth the effort.
The problem is that people confuse large data sets with complex data, then seem to assume that simply because the use case for the first is not something you'd want to use XML for, that XML is universally bad for the latter as well. That to me seemed to be the thrust of the initial article - that XML is bad because it's not good enough to handle every use case. We've had a decade worth of use cases, I think that anyone who's been working with XML in the field for any length of time should get a sense for where XML is appropriate and where it's not.
I think that XML has gone through Gartner's roller coaster. It went through an adoption and hype phase (I remember it getting silly in 2001) and it went through its nadir (2004-2006). It's a mature technology now. People did try it for a lot of things it was not appropriate for, but frankly, that's okay - good technologies usually tend to be used for sometimes very silly things, and the disasters are usually marked with big "Don't Go There!" signs after the fact; it's how you determine where a tech can be used, and I'm sometimes very surprised at just how pervasive the technology has become.
On Thu, Sep 3, 2009 at 6:48 PM, Michael Sokolov <firstname.lastname@example.org>
So many points were made arguing for XML being OK for "big data," many of
them sensible to me. Just to be clear: I use XML databases day in and day
out, I work with large XML files and it's all just dandy. I don't think
size is an issue, mostly.
However I think we need to recognize that there is data for which XML was
not designed and is ill-suited. Binary, numeric data, such as video, images
and audio, to say nothing of scientific data (years of detector readings in
a neutrino decay experiment) is just not the sweet spot for XML. I searched
for "MP3 to XML converter", but couldn't find anything. I have to admit I
was surprised: the net is so big that I thought it had finally reached the
stage where enough monkeys typing will have produced absolutely everything.
Maybe my search skills just weren't up to the task.
Now it's hard to tell if his problem fell in the domain for which XML is not
well-suited. I don't know what the details of the original writer's project
were, but I would tend to want to take him at his word that XML was not the
right choice for his data. It's certainly possible: there is such a domain.
And genomics data sounds to me pretty unlike documents: it probably wouldn't
pass the smell test that was discussed earlier. XML is not for everything.
As an aside, XML is also not always the right choice for every*one*, either,
regardless of the problem domain. Even if it might have been possible for
someone else to achieve success with a genomics dataset using XML rather
than CSV and perl or whatever he used, I think his point is still valid. He
doesn't want to spend time learning XML technologies: he just want to get
the project done. So if learning XML (document format, query language,
database technology, etc) was too hard and he managed to find success some
other way, I don't think that's any reason to disparage him. He found a
tool that suited his purposes and the context in which he was working.
Last point: the only reason people write articles like his is that XML was
touted as the everything/everywhere solution for so long. For me it's still
about (human-readable) documents and data interchange, primarily. I'm
curious whether there is agreement on that, or do folks see other broad
areas where XML is beneficial?
> -----Original Message-----
> From: Simon St.Laurent [mailto:email@example.com
> Sent: Thursday, September 03, 2009 11:54 AM
> To: firstname.lastname@example.org
> Subject: XML not ideal for Big Data
> Perhaps there were better ways to have made XML work with his
> problems... but I think on the whole he's right.
> Simon St.Laurent
XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: email@example.com
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
| [Thread Prev]
| [Thread Next]
| [Date Next]
| [Thread Index]
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
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