The Sequel Dilemma

linqiconNot long ago I had a chance to visit the big data center at 365 Main Street in San Francisco.  I was invited by friends to help them install the first servers for their startup, which is still in stealth mode.  The data center was enormous, though my friends occupied only a small part of one rack not far from the Oakland Raiders and one floor up from Bebo, the social network bought not long ago by AOL.  Bebo is a big hit in the UK and I found it odd that all those British profiles are hosted in San Francisco, eight time zones away.

We installed the servers — three little boxes and one big one — then fired them up.  In moments the site was live, though with only a few alpha clients.  The application, which I am sworn not to mention yet, is clever, but not particularly resource intensive.  It’s just like any other web site only a little different in several good ways.  The three little web servers just sat there blinking, doing their jobs.  But the bigger box (a 3u, versus the 1u web servers, if you are keeping track) was wailing right from the moment of booting.  Inside were three 15,000-rpm drives, a bunch of processor cores, and a ton of RAM — all of it thrashing away despite the small load.  What was going on?

What was going on was the twilight of enterprise application development as we know it today.  That 3u box was a database server that sits behind the three little web servers and makes this new enterprise work.  And work hard, apparently, for all the drive thrashing and lights blinking.

We’re at an interesting point in the development of computer technology.  Processors, having been failed somewhat by Moore’s Law in their attempt to become more powerful by widening data paths and raising clock speeds alone, have now resumed or even accelerated their performance growth by replacing one processor core  with 2, 4, 8, and eventually hundreds of cores, most of them not really needed.

Processing power isn’t what binds enterprise or Internet applications today.  I/O and disk access do that.  Servers have one or two gigabit Ethernet connections, each of which could be easily saturated by an old Pentium 4.  It’s the pipe that limits us, not our ability to pump bits through that pipe.  Thanks to the gamers, I suppose, and to a surreal and not particularly useful competition between Intel and AMD the main server CPUs are barely sweating even though they are running the core business logic of the application.  It’s the database server with its disk drives that is working so hard, grabbing data to feed the web servers seemingly just in time.  But don’t blame the hardware here or even the disk drives — blame the database.

We’re at the apex of SQL database development.  It’s 1890 and we make the best darned database buggy whips on Earth.

There is a better way to handle large volumes of data and that better way has been established, not surprisingly, by Google with its BigTable semi-structured database that essentially caches the entire Internet.  HBase from Hadoop is the Open Source version of BigTable and both are rapidly making old SQL databases like Oracle and DB2 obsolete for certain users.

Amazon.com runs on an Oracle database, but one that was extended and optimized at a cost of more than $150 million.  Amazon probably represents the most that one can do with SQL in terms of scalability.  Anything bigger requires a completely new approach like BigTable.

Or maybe it isn’t so new at all.  I recall something very analogous to BigTable during the network operating system wars of the 1980s.  Microsoft had a couple dozen OEMs working on network operating systems based on the hierarchical file system of DOS 2.0 (Paul Allen’s last technical contribution to Microsoft).  While a hierarchical file system may have made some sense for a workstation it made little to no sense for a server accessed by dozens of workstations in the view of the programmers at Novell, where Netware was being born at the time.  Those guys ignored the hierarchy and wrote the entire File Allocation Table for each drive to memory as a single flat file called an Indexed Turbo FAT.  Where the DOS-based network operating systems had to search the disk for files, Netware had the entire index loaded in memory and instantly knew where the target data could be found.  The system was easily 100 times as fast.  BigTable takes this a step further, I suppose, by ignoring the distinction between index and data, dramatically expanding the memory footprint but, at the same time, completely eliminating a retrieval step.

An irony of BigTable and Indexed Turbo FATs is that both Google and Novell were pretty upfront about what they were doing and why, yet competitors have remained bound to lower performing technologies because, well just because.

Which brings us back once again to Oracle buying Sun, a deal that has continued to bug me because it didn’t make sense… UNTIL I thought about it in terms of the scalability of SQL architectures and market positioning.

Right now almost every web application has an Apache server fronting a database box running MySQL or its closed source equivalent like Oracle, DB2, or SQL Server.  The data bottleneck in all those applications is the SQL box, which is generally doing a very simple job in a very complex manner that made total sense for minicomputers in 1975 but doesn’t make as much sense today.  Five years from now the situation will be very different with HBase running everywhere, the dedicated SQL box eliminated completely, and the database shared across redundant web servers like a micro-Google.

Where does this leave Oracle?

It leaves Oracle bleeding its big stupid corporate customers for another decade but eventually losing both the bottom half of the market and the very top where applications scale to tens of thousands of servers.

Part of the distinction here is between running a mobile phone billing system in one case and Facebook in another.  In the mobile phone example you’d better get all those minutes or money will be lost.  But in the Facebook example reality is more approximate and if an update propagates slower than expected, well big deal, so you missed Little Johnny’s birthday pictures for an extra 20 seconds.  There are even business software cases where this philosophy applies.  Progressive Insurance, for example, is always ready to give you a comparison price quote for auto insurance not because they can generate that quote (and the price quotes of their major competitors) on the fly, but because THEY GENERATE A SPECULATIVE PRICE QUOTE FOR EVERY CAR IN AMERICA EVERY NIGHT.  They don’t generate a quote when you call, they just access it because it is already done.

So Oracle keeps the mobile phone company as a customer but doesn’t keep Progressive in this example.  And in the long run there’s enough data redundancy built into the loosey-goosey HBase model that it becomes just as reliable as the more rigorous SQL model that it is inexorably replacing.  That’s when Oracle loses the mobile phone company, too.

Larry Ellison won’t like that.

So what’s to be done?  Buy Sun.  Get into the database appliance business.  Start selling highly-tuned database appliances that achieve the simultaneous goals of vertical integration (making profit on the hardware as well as the software), obfuscation (keeping the customers out of the lower-level code by encasing it in an appliance), and increased overall performance (putting off the inevitable loss of market dominance for another three years through a hardware tour du force).

IBM, as the other big SQL company, doesn’t really share Oracle’s problem, because IBM makes money from the hardware already.  If DB2 gives way to something like HBase, IBM will run HBase on its premium iron — a luxury Oracle can’t share without buying Sun.

As hardware gets cheaper we extend performance by distributing software across more and more machines.  But that distribution in itself undermines the lucrative software licensing system.  So we introduce a new level of abstraction — the database appliance.  Prices will go up a little while performance will go up a lot. Customers will think they are getting more for their money and they will be. But the ultimate comparison that has been at least postponed is between paid and free, where free always wins in the end.

And THAT’s why Oracle NEEDS Sun — to extend its current run by another three years, buying Larry time to write an Act II for his company.

107 Comments

  1. Brilliant and well deserved! Enjoy the moment and the prize!

  2. mumps is so damn painfull that i don’t wanna hear about ,,;

  3. Hi, a helpful blogpost buddy. Great Share. However I am having problem with your RSS . Unable to subscribe to it. So anyone facing similar RSS feed problem? Anybody who knows kindly reply. Thnx

  4. I am continuously having problems when I try to subscribe to your RSS feed. When you get some time can you look in to it.

  5. free avatars says:

    Wow this definitely takes me back, sending this to my mates now.

  6. Im grateful for the blog.Really thank you! Will read on…

  7. You’re awesome thanks for the post friend.

  8. Amazing blog layout here. Was it hard creating a nice looking website like this?

  9. my blog says:

    I value the article. Want more.

  10. Awesome blog, I think it is great when folks express their positions as vehemently as you have. Approach to show your school pleasure! Make us proud!

  11. mumps infected me last month and this is a very painful disease, my jawline were all swollen ;

  12. Ben Beccary says:

    Good blog here.

    If you want to save money on your car insurance though, check out Kanetix.ca

  13. I used to read you blog faithfully, I can’t believe I ever stopped! Now I remember what got me addicted to begin with.

  14. Superb blog! Outstanding knowledge on the topic. Positively the latest bookmark.

  15. Is it just me or dose this blog post suck? Im not trying to bash the author or anything im just stating my opinion.

  16. I switched specialists for the reason that after a few years with laser, I figured the results are not worth the cost. Next I ordered the home laser hair removal. They will guarantee that after eighteen months in the event that hair grows back again, all the treatments are actually free of cost. They’ve got both laser light and also Intense pulsed light, but I want to stick with laser now as Intense pulsed light didn’t seem to decrease the quantity of hair returning.

  17. hotels says:

    list of hotels in killarney,hotels in killarney special offers

  18. I never believed I would be required to understand this thank goodness for the web, right?

  19. Wonderful information! I’ve been wanting for a thing like this for a while now. Many thanks!

  20. I never see a website like this good job.

  21. Jason says:

    I switched specialists for the reason that after a few years with laser, I figured the results are not worth the cost.

  22. I was trying to find more information on I, Cringely » Blog Archive » The Sequel Dilemma – Cringely on technology on Ask and this place was the first site I saw about it. Thanks for your opinion and now I know where to look for great stuff when I want it

  23. very informative post. Looking more to something like this

  24. Search Engine Optimization is a mystery wrapped in a puzzle inside a engima.

  25. Donn Drust says:

    Its Pleasure to study your blog.The above articles is extremely extraordinary, and I seriously enjoyed reading your weblog and points that you simply expressed. I really enjoy to come back on a regular basis,post much more about the subject.Thanks for sharing…keep writing!!!

  26. Really glad I found this article! Thank you so much for submitting.

  27. Super cool logo designs! I really like the textures.

  28. [...] Roberto “X” Cringely, em “The Sequel Dilemma“ Outra razão para que eu continue repetindo uma pequena provocação na primeira parte dos [...]

  29. torpedo thim says:

    Thanks for your insight for the great posting. I am glad I have taken the time to see this.

  30. a useful article. Thank you for sharing

  31. Hello! I just discovered your page via Yahoo. What a fantastic blog you have! I love it very much! Thank you for providing such valuable information to the whole internet community!

  32. Doug Laducer says:

    you’ve got an incredible weblog here! would you like to make some invite posts on my weblog?

  33. searching for someI have never read such a blog and I am coming back tomorrow to finish reading.

  34. b says:

    Can I just say what a relief to find someone who actually knows what theyre talking about on the internet. You definitely know how to bring an issue to light and make it important. More people need to read this and understand this side of the story. I cant believe youre not more popular because you definitely have the gift.

  35. Thanks for this great posting. Awesome stuff!

  36. One more thing. I really believe that there are a lot of travel insurance internet sites of dependable companies than enable you to enter your vacation details and get you the quotations. You can also purchase an international holiday insurance policy on the net by using your credit card. Everything you should do is always to enter your travel information and you can understand the plans side-by-side. Only find the program that suits your financial allowance and needs then use your credit card to buy them. Travel insurance online is a good way to take a look for a reliable company to get international travel insurance. Thanks for giving your ideas.

  37. From all the sites I have been to covering this subject matter, I think you do that best at explaining it, so very well done my friend.

  38. wctube says:

    Its Pleasure to study your blog.The above articles is extremely extraordinary, and I seriously enjoyed reading your weblog and points that you simply expressed. I really enjoy to come back on a regular basis,post much more about the subject.Thanks for sharing…keep writing.

  39. erotictube says:

    mumps is so damn painfull that i don’t wanna hear about ,,;

  40. sohbet says:

    Thank you very nice place to implement for Happy

  41. Hi all Nice put up did not take long am content rich and that i i’m definetly preparing to cut back it. Making it very the Indepth researching this info has might be trully notable.Individuals who travels that will one step further lately? Done well. Merely another idea people canget the Translator for use on your Universal Viewers !

  42. Casey says:

    Hi, You have carried out a fantastic job. I’ll definitely stumbleupon it and I’ll recommend to my friends. I know they’ll be taken advantage of this blog.

Leave a Reply