Need advice about which tool to choose?Ask the StackShare community!
ExpressJS vs Nameko: What are the differences?
Developers describe ExpressJS as "Sinatra inspired web development framework for node.js -- insanely fast, flexible, and simple". Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications. On the other hand, Nameko is detailed as "Python microservices framework". Python microservices framework that leverages AMQP for RPC. It supports asynchronous and synchronous events.
ExpressJS and Nameko can be primarily classified as "Microframeworks (Backend)" tools.
Some of the features offered by ExpressJS are:
- Robust routing
- HTTP helpers (redirection, caching, etc)
- View system supporting 14+ template engines
On the other hand, Nameko provides the following key features:
- Focus on business logic
- Distributed and scalable
- Extensible
ExpressJS and Nameko are both open source tools. It seems that ExpressJS with 45.1K GitHub stars and 7.57K forks on GitHub has more adoption than Nameko with 2.98K GitHub stars and 290 GitHub forks.
Which is the best Python framework for microservices?
We are using Nameko for building microservices in Python. The things we really like are dependency injection and the ease with which one can expose endpoints via RPC over RabbitMQ. We are planning to try a tool that helps us write polyglot microservices and nameko is not super compatible with it. Also, we are a bit worried about the not so good community support from nameko and looking for a python alternate to write microservices.
Bottle is much less bloated and fast. Its built-in templating system is one of the fastest as it compiles the templates in bytecode. Also Bottle has no depenencies, preventing dependency bloat.
Pros of ExpressJS
- Simple380
- Node.js336
- Javascript244
- High performance193
- Robust routing152
- Middlewares73
- Open source71
- Great community59
- Hybrid web applications37
- Well documented16
- Sinatra inspired9
- Rapid development9
- Socket connection7
- Isomorphic js.. superfast and easy7
- Light weight5
- Resource available for learning4
- Npm4
- Event loop3
- Callbacks3
- Data stream2
Pros of Nameko
Sign up to add or upvote prosMake informed product decisions
Cons of ExpressJS
- Not python27
- Overrated17
- No multithreading14
- Javascript9
- Not fast5
- Easily Insecure for Novices2