Would Node.js (which uses a non-blocking I/O) be suitable for building a db driven application like Stack Overflow My understanding is that nb I/O is good when the requests don't take much time and db query could be a time-intensive operation. Is my understanding correct or am I missing something?
I guess a better question would be - which would be a better option to build a db driven app (like Stack Overflow), something like node.js or something like RoR/Django/Play? I'm asking for the pros and cons of each.
Yes, Node.js is suitable for database-driven applications as long as there is a good asynchronous I/O node.js library for your database engine of choice.