On Wed, Feb 25, 2015 at 7:30 AM, Benj <webkoros@gmail.com> wrote:
Hi,i'm going to invest lots of time and energy in various web projects (mostly community web sites), and want to pick up a language / framework and invest heavily on it.I've spent a lot of time evaluating the various options, and narrowed my choice to 2 stacks: C sharp asp.net MVC or Python / Django.I'm more attracted to Python / Django combo, because of the Python language, and high level framework Django. I really want to use these.My only concern is speed. I read that Python can't run concurrent tasks, is this true ? So a multi-processor with hyperthreads won't benefit the stack and even slow it down ?I have no clue how this translates in reality, but should I expect noticable performance difference on a same server, shall I use Python / Django than if I had C Sharp Asp.net ?I don't want to invest lots of time and efforts only to discover in the end that the site is slow.
You that have real world experiences with running sites, what are your conclusions ?
Instagram is a Django site. Disqus is a Django site. Many of the Mozilla properties are Django sites. I guarantee that these sites serve more traffic than your site will *ever* serve.
Don't get me wrong - these sites have all had to pay careful attention to the design of their systems, and in many cases have made extensive modifications to "stock" Django to support high performance. However - again - they also serve *much* more traffic than your site will *ever* serve.
C#/ASP.net isn't magical performance sauce. Django and/or the Python GIL isn't a magical performance drain. The choices you make in database schema design, caching strategies, query profiling and algorithm choices will affect your site performance *long* before the limitations of Python or Django start to become the limiting factor.
My advice to you - as long as your candidate frameworks meet basic performance requirements, and there's evidence that they can scale to larger sites (ASP.net, Django, and Ruby on Rails all easily meet these criteria), don't worry about performance. Worry about the language you like to use, the speed of development, the community that exists around the tools, and so on.
Yours,
Russ Magee %-)
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJxq84_tcPG7V1%3DM9UU-vSATnXFbekuzDcr8xm5UoTY8sUk-Zg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment