When comparing Mach vs Total.js, the Slant community recommends Total.js for most people. In the question“What are the best node.js web frameworks?” Total.js is ranked 7th while Mach is ranked 11th. The most important reason people chose Total.js is:
Which in other words means, a high performance solid core which provides you with a with a minimal (but stable) layer to build your app on.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Streaming
Mach has some pretty cool streaming functionalities built directly into it, if your web app provides any audio/video/data streaming features, you can consider using Mach to build it.
Pro Composability
Since Mach already is asynchronous (stateless) which means your logic is implemented by using promises (then objects
); hence your functions are pretty independent and composable.
Pro Simplicity
No complex layers between plain HTTP requests and the corresponding JS functions invoked. Which in turn means each GET/POST/PUT or any other HTTP request is directly mapped to a Javascript function. Hence leading to a huge increase in performance for your app
Pro Robust
One of the distinguishing features of Mach is it's robustness, errors won't be terminating your complete app, instead they'll bubble up so you can handle them gracefully.
Pro Asynchronous
Like most of the Node.js's core, Mach is an asynchronous web framework too. Each response (of a request) can simply be hooked up to a then
method so that its result or the reason for failure can be retrieved after the action is complete. If you're wondering what async operations are, here's a pretty good explanation for you
Pro No dependencies
Which in other words means, a high performance solid core which provides you with a with a minimal (but stable) layer to build your app on.
Pro Websocket support
Up to date with Websocket RFC 6455.
Pro Automated compression
Minification and gzip compression is built in and automatic.
Pro Good documentation and examples
Often updated examples and well written documentation.
Pro Getting the things done efficiently without useless ceremony
Following and adding to Node.js the proven battle-tested paradigm implemented by Django, Laravel & ASP.NET MVC.
Pro Good support
Pro Really reactive community and developers on their Chat
Pro Working on all versions of the node.js
Cons
Con Developed only by one person
Framework is developed by only one person.
Con Paid support
Framework lacks any community, if you need support you are forced to buy support package from developer.
Con Best practices
This framework doesn't adhere to any best practices in software development.
Con Poor design
Framework is designed very poorly, autocomplete in IDEs don't work.
Con Poor documentation
Source code is very poorly documented, only available information is on the official website.