5 Sep 2012 09:53
How to pick a backend
I just finished putting together a sample website that is a sort of demo from our old site using yesod and after reading the relevent portions of the book and some other difficulties I have the equivalent of a news listing main page and an arbitrary named page retrieve system backed by SQLite in just under three hours.
But I want to think towards deployment in not too long of time, which means I have to consider a few things. I don't think SQLite is appropriate for long term usage. I have considered Postgres and Mysql, but I also noticed persistent has a mongodb backend as well.
I appreciate Postgres for its good database properties, but both it and mysql are a little more difficult to configure (although in fairness, mysql is already configured on our server). But I observed that Mongodb is extremely simple to configure.
The only question then becomes to me is what choice to pick? I really want something I can easily backup and restore which currently I feel good with SQL based, but I haven't explored other options.
RSS Feed