I am happy to announce the release of node-perfectapi version 1.0. This release improves stability, and improves scalability. For a brief intro to perfectapi, just follow the link. I’ll talk about scalability a little bit because it is an important new feature. As you probably know, Node.js applications run by default in a single [...]
Benchmarking APIs using PerfectAPI vs Express.js vs Restify.js
[Update: since these benchmarks were run, performance of Restify has improved substantially to where its performance is on a par with the others. I have not got around to updating the charts in this article to reflect that]. In the cloud today, performance is more important than ever because it can be so easily correlated [...]
Opinionated (RPC) APIs vs RESTful APIs
If you are not already aware, a few years ago there was some debate on the Internet as to when it was ok to call an API “RESTful”. I won’t go into all the details, but suffice it to say that the well-respected originator of the term REST did not agree with the way his [...]
Writing a PaaS in 1 week – retrospective
Well the week was last week, and while it was not as successful as I would have liked, it was a very productive week. Dogfooding http://en.wikipedia.org/wiki/Eating_your_own_dog_food. The week was very valuable to me in that I discovered several bugs in the node-perfectapi package. I also discovered some new features that would be helpful, so that [...]
Writing a PaaS (using Node.js) in 1 week – Wednesday
This is a continuation of previous posts: Writing a PaaS (using Node.js) in 1 week – Monday Writing a PaaS (using Node.js) in 1 week – Tuesday Well Wednesday is done. The reverse proxy is written, code at https://github.com/perfectapi/node-paas-machine-proxy. As a reminder, the purpose of the reverse proxy was to provide a single IP + host [...]
Writing a PaaS (using Node.js) in 1 week – Tuesday
This is a continuation of the post Writing a PaaS (using Node.js) in 1 week – Monday. Well I’m going to call Tuesday done. The Service Registry is written and installed on my server. Source code is at https://github.com/perfectapi/node-paas-registry. As with all perfectapi APIs, there is an automatic test app page. I’ve exposed this one to [...]
Demo Page
I uploaded a new demo page for the PerfectAPI toolset today. You can find it at http://amigen.perfectapi.com/ or from the link on the main website. The demo is of my “amigen” API, which provides a way to generate Amazon AWS images (virtual machines that run in Amazon’s cloud). The demo page showcases the following PerfectAPI [...]
Introducing… amigen node.js package
This project is still very much a work-in-progress, but it is far enough along that I have published it. What it does is provide a framework for creating predictable, pre-installed machine images on Amazon EC2 (the Amazon cloud). My motivation for doing this is to assist those people that don’t necessarily want to get into [...]