Ljupcho Apostolov /data/devs/

MongoDB vs Mysql with PHP Yii Framework

​

Graphics show the results I got from measuring response time using mysql and mongo with php yii framework. First I took Yii so I could get an environment up and running quickly and concentrate on the results. I inserted 110000 records in both databases and did simple selects to print data out. I print out 6 sqls with measuring time for each of them with incrementing the total.


Continue reading...

Multiple queries per page load with NodeJS and MongoDB

​

So, I started using NodeJS with express framework, so I could first figure out how it does things and then make some performance tests to see if it is worth the hustle. I’ve combined it with mongodb and my plan was first to insert data in database and see the behaving as I increase the volume of it. I wanted to call multiple queries with one page call and the way nodejs handles them is like fire them sequentially, continue executing the script and after the db finishes with the queries it will print out the results. It means this:


Continue reading...

Create application in python2.7 with django-nonrel and mongodb on openshift

​
  1. Create an account on openshift

Continue reading...