Need advice about which tool to choose?Ask the StackShare community!

Django

21.9K
18.6K
+ 1
3.5K
Tornado

295
350
+ 1
161
Add tool

Django vs Tornado: What are the differences?

What is Django? The Web framework for perfectionists with deadlines. Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

What is Tornado? A Python web framework and asynchronous networking library, originally developed at FriendFeed. By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling, WebSockets, and other applications that require a long-lived connection to each user.

Django and Tornado can be primarily classified as "Frameworks (Full Stack)" tools.

"Rapid development" is the primary reason why developers consider Django over the competitors, whereas "Open source" was stated as the key factor in picking Tornado.

Django and Tornado are both open source tools. It seems that Django with 42.3K GitHub stars and 18.2K forks on GitHub has more adoption than Tornado with 17.9K GitHub stars and 4.97K GitHub forks.

According to the StackShare community, Django has a broader approval, being mentioned in 979 company stacks & 882 developers stacks; compared to Tornado, which is listed in 69 company stacks and 16 developer stacks.

Decisions about Django and Tornado

We’re a new startup so we need to be able to deliver quick changes as we find our product market fit. We’ve also got to ensure that we’re moving money safely, and keeping perfect records. The technologies we’ve chosen mix mature but well maintained frameworks like Django, with modern web-first and api-first front ends like GraphQL, NextJS, and Chakra. We use a little Golang sparingly in our backend to ensure that when we interact with financial services, we do so with statically compiled, strongly typed, and strictly limited and reviewed code.

You can read all about it in our linked blog post.

See more

This website was originally written in Yii as PHP was my main language back then. After learning Django, I realized just how quickly you could build a web app with less lines. So I migrated my website to Django in a week or two and managed to cut down the lines of code by half. Some of the lines saving came from the models, the views, and the expressiveness of Python. Django requires like config for the models and they provide many generic views that abstracts away common patterns.

See more

I am planning to develop project management system SAAS based. Can any one help me with selection of platforms from Django or Laravel and for database MongoDB or Firebase/Firestore or MySql? On front end I am going to use Quasar Framework (VueJS). Note : project will be Webapp, Mobile app and desktop app.

See more
Pros of Django
Pros of Tornado
  • 602
    Rapid development
  • 446
    Open source
  • 387
    Great community
  • 337
    Easy to learn
  • 249
    Mvc
  • 202
    Elegant
  • 201
    Beautiful code
  • 180
    Free
  • 179
    Great packages
  • 167
    Great libraries
  • 55
    Restful
  • 52
    Comes with auth and crud admin panel
  • 51
    Powerful
  • 48
    Great documentation
  • 46
    Great for web
  • 36
    Python
  • 31
    Great orm
  • 27
    Great for api
  • 21
    All included
  • 17
    Web Apps
  • 16
    Fast
  • 14
    Used by top startups
  • 12
    Clean
  • 11
    Easy setup
  • 10
    Sexy
  • 8
    Convention over configuration
  • 5
    ORM
  • 5
    Allows for very rapid development with great libraries
  • 5
    The Django community
  • 3
    Mvt
  • 3
    Its elegant and practical
  • 3
    Great MVC and templating engine
  • 2
    Easy to use
  • 2
    Easy to develop end to end AI Models
  • 2
    Easy Structure , useful inbuilt library
  • 2
    Cross-Platform
  • 2
    Fast prototyping
  • 2
    Full stack
  • 2
    Batteries included
  • 2
    Easy
  • 1
    Great peformance
  • 1
    Many libraries
  • 1
    Zero code burden to change databases
  • 1
    Have not found anything that it can't do
  • 1
    Map
  • 1
    Scaffold
  • 1
    Modular
  • 1
    Very quick to get something up and running
  • 1
    Just the right level of abstraction
  • 1
    Python community
  • 1
    Full-Text Search
  • 1
    King of backend world
  • 37
    Open source
  • 30
    So fast
  • 25
    Great for microservices architecture
  • 20
    Websockets
  • 17
    Simple
  • 13
    Asynchronous
  • 9
    Python
  • 7
    Lightweight
  • 3
    Handles well persistent connexions

Sign up to add or upvote prosMake informed product decisions

Cons of Django
Cons of Tornado
  • 24
    Underpowered templating
  • 19
    Underpowered ORM
  • 18
    Autoreload restarts whole server
  • 15
    URL dispatcher ignores HTTP method
  • 10
    Internal subcomponents coupling
  • 7
    Not nodejs
  • 5
    Admin
  • 4
    Configuration hell
  • 3
    Not as clean and nice documentation like Laravel
  • 2
    Bloated admin panel included
  • 2
    Not typed
  • 2
    Python
  • 2
    Overwhelming folder structure
  • 1
    InEffective Multithreading
  • 2
    Event loop is complicated

Sign up to add or upvote consMake informed product decisions

What is Django?

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

What is Tornado?

By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling, WebSockets, and other applications that require a long-lived connection to each user.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Django?
What companies use Tornado?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Django?
What tools integrate with Tornado?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

GitHubPythonReact+42
46
38550
GitHubPythonNode.js+47
43
67726
PythonDjangoDjango REST framework+3
6
5206
JavaScriptGitHubPython+42
52
19252
GitHubPythonSlack+25
7
2767
What are some alternatives to Django and Tornado?
Flask
Flask is intended for getting started very quickly and was developed with best intentions in mind.
Node.js
Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
Rails
Rails is a web-application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.
Laravel
It is a web application framework with expressive, elegant syntax. It attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.
PHP
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
See all alternatives
Interest over time
News about Tornado
More news