Eric Lai wrote an interesting article for Computerworld entitled No to SQL? Anti-database movement gains steam that highlighted the small but growing trend for not using a traditional relational database for managing data. Nati Shalom's No to SQL? Anti-database movement gains steam - My Take is a good follow-up.
I'm sure that most of us have good experiences of using a relational database in our projects and, despite the pain of sometimes mapping the data into a relational schema, relational databases provide an easy to use known quantity for managing data. With this in mind, you should certainly let your experience guide you but bear in mind that relational databases aren't the answer to every question.
The case study that we use as a basis for the exercises in our software architecture training course is relatively small yet most people decide to use a relational database to store the data without really giving the alternatives a second thought. Most of the time it comes down to experience in that most people are comfortable with using a relational database in their architecture. But there are many viable alternatives; from using flat files and object databases through to in-memory data structures, data grids and the cloud. So while relational databases might be a solution for your particular problem, it's always worth spending a couple of minutes assessing whether they are the *best* solution. Here are some things to think about before deciding on whether to go down the SQL or non-SQL route.
Relational databases are established mainstream solutions that are applicable in many cases. Just don't forget that there are other alternatives too.
Simon is an independent consultant specializing in software architecture, and the author of Software Architecture for Developers (a developer-friendly guide to software architecture, technical leadership and the balance with agility). He’s also the creator of the C4 software architecture model and the founder of Structurizr, which is a collection of open source and commercial tooling to help software teams visualise, document and explore their software architecture.
You can find Simon on Twitter at @simonbrown ... see simonbrown.je for information about his speaking schedule, videos from past conferences and software architecture training.
There's no doubt that a relational database is a golden hammer in many application architectures, often being the basis for all claims of scalability and resilience.
While it might seem like a lazy solution, it's also a simple solution, using what's there, proven and, in many cases, already paid for and managed.
Having said that, I've definitely seen traditional RDBMS usage being complemented with in-memory, object and analytical databases more in the past year. As you say, the trick is to select the right mix of tools for the job.
The case study in the training course is a good example as it's not a system of record and the data of interest are aggregates. Perfect technical solution or boiler-plate SQL application? I know what we chose when it was actually implemented ;)