The ECONNRESET error was silenced before node.js 0.8.20 but not it is not (which is good). You think: Hmm, but how many times I may see it. Not very often. Wrong! It may happen more often than you think, as many load balancers use it to close connection (on purpose not in a clean way!).
Have you ever seen EADDRINUSE error in node.js? Almost everyone have seen it. But I’m not thinking about the one related to listen() method when you see when trying to start a server....
UPDATE (2014-01-20): The solution described below is not needed anymore (even if still works). Windows Azure is having two solutions for it: generic Scheduler service and Web Jobs for Web Sites.
Windows Azure Web Sites doesn’t have a built-in scheduled jobs which are available on Windows Azure Mobile Services, but it is a very handy feature. Yes, you can use WAMS scheduler service and call any URL on WAWS, but in free version it is limited only to 1 scheduled job run per hour and there is additional burden to handle two systems instead of one....
I do not know the exact reasons of this but node.js SDK for Azure is not in the state I wanted it to be. On the surface everything looks right. The project is actively developed and is available for over two years now, so you expect it rock solid. The problem is the more you use it, the more you see it is not.
In my current work I mostly use from the node....
Let’s go thru the step by step guide to setup the Windows Azure WebSites (WAWS) for a node.js project. You have likely seen the WebSites documentation and know it is very, very easy. Yes, it is, but you won’t get node.js 0.10.13 by default, you won’t get newest npm etc. Also I would like to use SQL Database which is also not very easy.
Before you start I assume you have created the WAWS in 32-bit mode (64-bit setup is similar but not available in free tier) and you have SQL Database set up (20 MB free one is fine)....
Have you ever wondered that in Windows Azure Management Portal you can run scheduled scripts on demand, but there is no documentation on how to do it yourself (at least )? I think I’ve checked every possible place and nothing. I’ve checked azure command line help and nothing. In general you have a message like this: You can also use the Management Portal to run jobs on demand. and nothing more....
Several days ago Microsoft announced new pricing model (and new prices) for Mobile Services. When adding a Standard tier is something appreciated (as previously there was no low cost non-free option for example for more extensive testing), the Premium tier is now much more pricey in many cases. Why?
Old pricing was similar to the pricing of the Web Sites offering and you were able to run 2 Reserved instances and on them for example 5 Mobile Services paying for 2 VMs....