Choosing a web framework for a 3rd party twitter app
===

I'm building an application to provide a RESTful web service using the twitter API(Search and REST), my current stack is django+postgresql. I have some processes continually collecting new information from twitter  so the db is always growing. I'm not sure if django and postgresql are a good choice for this kind of application. 

The application is currently running slowly(e.g. one view makes 682 queries to show the results, another one 2228) so I'm considering trying to improve the performance tweaking the queries, cacheing all I can and running some tasks asinchronically or directly making a switch to Tornado with mongodb(through asyncmongo).



 

