Get Advice Icon

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

Tornado

447
408
+ 1
167
Yesod

37
41
+ 1
15
Add tool

Tornado vs Yesod: 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, Yesod is detailed as "A RESTful Haskell web framework built on WAI". Yesod believes in the philosophy of making the compiler your ally, not your enemy. We use the type system to enforce as much as possible, from generating proper links, to avoiding XSS attacks, to dealing with character encoding issues. In general, if your code compiles, it works. And instead of declaring types everywhere you let the compiler figure them out for you with type inference.

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

"Open source" is the top reason why over 34 developers like Tornado, while over 5 developers mention "Haskell" as the leading cause for choosing Yesod.

Tornado and Yesod are both open source tools. It seems that Tornado with 18K GitHub stars and 4.98K forks on GitHub has more adoption than Yesod with 2.11K GitHub stars and 329 GitHub forks.

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

Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Tornado
Pros of Yesod
  • 37
    Open source
  • 31
    So fast
  • 27
    Great for microservices architecture
  • 20
    Websockets
  • 17
    Simple
  • 14
    Asynchronous
  • 11
    Python
  • 7
    Lightweight
  • 3
    Handles well persistent connexions
  • 6
    Haskell
  • 4
    Super High Performance
  • 3
    Open source
  • 2
    Type safe URLs

Sign up to add or upvote prosMake informed product decisions

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

    Sign up to add or upvote consMake informed product decisions

    355
    480
    3.8K
    535
    1.8K
    1.3K

    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 Yesod?

    Yesod believes in the philosophy of making the compiler your ally, not your enemy. We use the type system to enforce as much as possible, from generating proper links, to avoiding XSS attacks, to dealing with character encoding issues. In general, if your code compiles, it works. And instead of declaring types everywhere you let the compiler figure them out for you with type inference.

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

    What companies use Tornado?
    What companies use Yesod?
    Manage your open source components, licenses, and vulnerabilities
    Learn More

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

    What tools integrate with Tornado?
    What tools integrate with Yesod?

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

    Blog Posts

    What are some alternatives to Tornado and Yesod?
    Flask
    Flask is intended for getting started very quickly and was developed with best intentions in mind.
    JavaScript
    JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
    Python
    Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
    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.
    HTML5
    HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.
    See all alternatives