4 ms·
If you're writing code in Node.js, I assume you're doing it on a Unix (Mac OSX or Linux) development environment. If that's the case, I would suggest AWS or so
by hkarthik 14y ago
If you're writing code in Node.js, I assume you're doing it on a Unix (Mac OSX or Linux) development environment.
If that's the case, I would suggest AWS or something like Linode. While Azure has Linux support, I think you'll probably be better off with a service where the majority of users are using Linux and they have more supported distributions. AWS is probably a better fit there.
If you're writing your node app on Windows, then I would undoubtedly go with Azure since you'll be able to utilize Microsoft support and will likely need it at some point.
- C1D 14y agoHow does what I'm writing my node.js on affect anything. It really dosnt matter if I write my node.js on linux or windows, It will still run the code the same. node.js code written linux runs like node.js code wrttien on windows when I run it on windows and vice-versa.
- hkarthik 14y agoIn general, to get anything done with Node you're going to be pulling in open source libraries with C-based dependencies to do things like resize images or talk to databases. Many times you'll find that you will hit cross-platform compatibility issues with some of these libraries. This is the same problem that Python, Ruby, and PHP devs had to deal with for years. And it's one of the main reasons that most of us write code on Macs when we deploy to Linux since it minimizes the cross platform headaches (although it doesn't fully eliminate them). So long story short, if you're developing on Windows, I would recommend sticking to all things Microsoft, including Azure. You're more likely to find solutions to your cross platform problems, or at the very least have an easy path to move to Windows if they become a nightmare.