Need advice about which tool to choose?Ask the StackShare community!
Martini vs Tornado: What are the differences?
Martini: Classy web framework for Go. Martini is a powerful package for quickly writing modular web applications/services in Golang; 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.
Martini and Tornado can be categorized as "Frameworks (Full Stack)" tools.
"Go" is the top reason why over 5 developers like Martini, while over 34 developers mention "Open source" as the leading cause for choosing Tornado.
Martini and Tornado are both open source tools. It seems that Tornado with 18K GitHub stars and 4.98K forks on GitHub has more adoption than Martini with 10.6K GitHub stars and 1.09K GitHub forks.
Pros of Martini
- Go6
- Simple4
- Open source2
- Express/Sinatra style framework1
- Flexible Routing1
- Modular1
- Fast0
Pros of Tornado
- Open source37
- So fast31
- Great for microservices architecture27
- Websockets20
- Simple17
- Asynchronous14
- Python11
- Lightweight7
- Handles well persistent connexions3
Sign up to add or upvote prosMake informed product decisions
Cons of Martini
Cons of Tornado
- Event loop is complicated2