Database-less: the new trend

Following Tim Bray, Kunal Anand argues in favor of database-less systems. Or rather, of relational-database-less systems. Because really, what is a store of XML files if not some form of database?

Several years ago, I wrote a GPL posting board. I claim I wrote the first GPL Java-based posting board. Interestingly, it was later studied in a M.Sc. thesis for the type of multithreading I used. I grew bored with the project mostly because I don’t have time for web dev. work. One choice I made at the time was to use flat text files for the database.

The project became hard to manage at some point mostly because XML tools back then were primitive so I didn’t use them. So, serialization and data structures were hand coded. These days, with XML tools being what they are, I really can see people building production systems, very scalable ones, without any relational database. Something like a posting board is mostly static anyhow, so you could rather easily regenerate all needed XML files when new posts come in.

I bet that, actually, for moderately small projects, an XML solution is probably generally more scalable and flexible. It might be slightly harder to get started, but serving text files is so much simpler for the machine than requesting data from an SQL engine!

SQL is so passé.

Leave a Reply

Your email address will not be published. Required fields are marked *

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax