Welcome Guest, Not a member yet? Register   Sign In
Templating from Database
#1

[eluser]J Maxwell[/eluser]
Here is a question/musing for people:

I've converted my app from using MySQL to MongoDB and I have to say the performance increase is massive from shifting to the Document Database model for presenting content. However, rather than arguing about the merits of SQL vs NoSQL, I was wondering about views or templates.

I tested the speed difference between reading the view files from Mongo as html, then running them through the CI Parser to stick the right information in them, as opposed to having them as traditional view files. I have to say that it strikes me that there is very little performance hit - i populated the MongoDB up to 200gig just to test what happens when it gets a little full, and there was no noticeable downturn in performance.

Does anyone have any thoughts on the issue? Is this a bad idea? Database dependency isn't a problem - the site is kaput without the db anyway, and Mongo is set to autoshard with automatic master-slave replication just for fun.




Theme © iAndrew 2016 - Forum software by © MyBB