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

Tornado

325
383
+ 1
165
Twisted

51
84
+ 1
10
Add tool

Tornado vs Twisted: What are the differences?

Developers describe Tornado as "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. On the other hand, Twisted is detailed as "Event-driven networking engine written in Python". Twisted is an event-driven networking engine written in Python and licensed under the open source ​MIT license. Twisted runs on Python 2 and an ever growing subset also works with Python 3. Twisted also supports many common network protocols, including SMTP, POP3, IMAP, SSHv2, and DNS.

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

"Open source" is the top reason why over 34 developers like Tornado, while over 4 developers mention "Easy-to-understand concurrency" as the leading cause for choosing Twisted.

Tornado and Twisted are both open source tools. Tornado with 18K GitHub stars and 4.98K forks on GitHub appears to be more popular than Twisted with 3.44K GitHub stars and 878 GitHub forks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Tornado
Pros of Twisted
  • 37
    Open source
  • 31
    So fast
  • 27
    Great for microservices architecture
  • 20
    Websockets
  • 17
    Simple
  • 13
    Asynchronous
  • 10
    Python
  • 7
    Lightweight
  • 3
    Handles well persistent connexions
  • 5
    Easy-to-understand concurrency
  • 3
    Twisted prevails
  • 1
    It works
  • 1
    Solid, flexible, powerful

Sign up to add or upvote prosMake informed product decisions

Cons of Tornado
Cons of Twisted
  • 2
    Event loop is complicated
    Be the first to leave a con

    Sign up to add or upvote consMake informed product decisions

    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.

    What is Twisted?

    Twisted is an event-driven networking engine written in Python and licensed under the open source ​MIT license. Twisted runs on Python 2 and an ever growing subset also works with Python 3. Twisted also supports many common network protocols, including SMTP, POP3, IMAP, SSHv2, and DNS.

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

    What companies use Tornado?
    What companies use Twisted?
    See which teams inside your own company are using Tornado or Twisted.
    Sign up for StackShare EnterpriseLearn More

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

    What tools integrate with Tornado?
    What tools integrate with Twisted?
      No integrations found

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

      Blog Posts

      What are some alternatives to Tornado and Twisted?
      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.
      Django
      Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
      ASP.NET
      .NET is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.
      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.
      See all alternatives