Should I use Pylons or Django for a site to sell ebooks that needs to scale?
-
I'm starting a new project and I want to do it with a Python based framework. I've been programming web based applications for years and have good experience with Python. I've been working in a few projects with Django and I like many of its features. Now I'm working on a website to sell ebooks (it will have user authentication, communication with multiple payment processors and basic content management to add new ebooks and news) and I'm wondering if Pylons would be a better choice than Django. I want this site to be scalable and run it with load balancing based on HAProxy and a solution like Varnish to cache for anonymous users and memcached for database queries, all of this with some cloud provider like Amazon or RackSpace Cloud. Performance is very important for this site so I want to have total control over database queries and I'm not sure if Django's ORM will be flexible or powerful enough. Any thoughts on Django vs Pylons for a project like this?
-
Answer:
well, i will use Django 1.2 have multidatabase support, and you can use raw() queries and update() instead of save to have great control for the queries (and use the new multidb support). plugins like django-varnish can help you to manage the cache when your objects get updated automagically (if u use nginx you can use django-staticgenerator for the same purpose too) you can use varnish and their ESI support to cache some content for authenticated users too. Now, Django will be one of your components for an "scalable" solution, database replication, if you are going to Amazon or Rackpsace Cloud, use of S3 or CloudFiles (great django plugins for use these btw), frontend design to have better response time in browsers, etc.
Yonsy Solis at Quora Visit the source
Related Q & A:
- How do I use Microsoft Word to open a Google Drive cloud document?Best solution by Quora
- Can I use my video camera as a webcam?Best solution by Yahoo! Answers
- Can I use my digital camera as a PC camera?Best solution by Yahoo! Answers
- What book should I use to teach playing on a bass guitar?Best solution by Yahoo! Answers
- How do i use my aiptek camcorder as a webcam?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.