Last Updated: February 25, 2016
·
6.072K
· mithunsatheesh

express.js vs restify node.js framework.

Its just to share an experience i had while trying out restify framework in node.js. We had the requirement to build up a REST API in node.js and were looking for a lighter weight framework than express.js which probably avoid from the unwanted features and would act like a custom built framework for building REST APIs. Restify is recommended for the same case.

But the surprise came when i tried out both with a load.

I made a sample REST API on restify and flooded it with 1000 requests per sec. Surprise to me the route started not responding after a while. The same app built on express.js handled all.

May be i am wrong, "But do testify before you restify".

3 Responses
Add your response

Can you share your code for that testing?

over 1 year ago ·

Is there a gist, or some other place where I can see how you tested your API?

over 1 year ago ·

@h4ckm03d , @maumercado: I have the testing code here in this stackoverflow question. http://stackoverflow.com/questions/17589178/why-should-i-use-restify

over 1 year ago ·