When comparing Restify vs Hapi.js, the Slant community recommends Restify for most people. In the question“What are the best node.js web frameworks?” Restify is ranked 9th while Hapi.js is ranked 10th. The most important reason people chose Restify is:
DTrace helps you with troubleshooting and building robust RESTful applications.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Automatic DTrace support
DTrace helps you with troubleshooting and building robust RESTful applications.
Pro Specialized for Restful APIs
As the name suggests, Restify is devoted solely to creating an elegant REST API. The API is the core of your site or service, so it makes sense to use a framework that excels at that.
Pro Auto-generated API documentation
It's Joi-aware.
Cons
Con Performance is not very optimum
As most of the benchmarks have already revealed, for large inflows of traffic, apps powered by Restify perform below par and are easily beaten by Express.js in terms of load time (in heavy traffic).