3 ms·
How much of this is old-school admin practices vs. the new "cloud" philosophy of spinning up lots of boxes that you don't care about? I don't see a Microsoft vs
by Spooky23 13y ago
How much of this is old-school admin practices vs. the new "cloud" philosophy of spinning up lots of boxes that you don't care about? I don't see a Microsoft vs. Open-source argument for alot of this stuff.
Many of the devs I see working with "cool kids" tools don't know anything about operating IT environments, yet they are playing admin. They're spinning up dozens of single-purpose VMs, sometimes to perform trivial tasks.
The motivation is often to reduce the need to have dedicated admins ($$$) and change process (time). But... managing dozens of VMs ain't free either!
- aetimmes 13y ago>...managing dozens of VMs ain't free either! It's not free, but configuration management tools make it pretty cheap. There's a reason Puppet/Chef/Ansible/Salt are getting a lot of attention in the DevOps world.
- bhauer 13y agoThis--and by "this" I mean cultural or philosophical differences--is what I feel is ultimately behind the stark performance gulf described in the OP's article. I love Microsoft's technologies. I use Windows on my development environment (even though I don't do Windows development; I know, I am crazy). I own a Surface and a Nokia Lumia phone. Nevertheless, I also know that there's nothing absolutely fast about Microsoft's web stack [1]. I suspect what is at play here, instead, is one side being efficient with resources and the other being reckless. My opinion is that some platforms and frameworks come bundled with a set of philosophical characteristics that most practitioners adopt. Some popular open source web frameworks include a poster of Knuth's famous quote about premature optimization and adopters consider that quote to mean more than it does, thereby expressly avoiding spending time thinking about performance because doing so might lead to time spent on optimizing code and that is evil. Further, in our efforts to capture production-grade deployment instructions for many open source frameworks, we were left wanting, often having to turn to community opinion rather than specific instructions. Many frameworks' communities were Balkanized, leading to uncertainty about the best performing production-grade configuration. It's not surprising when systems get built and deployed without any performance benchmarking, let alone tuning. I have no idea what "Charm" was or if it suffered from this sort of thing, but I've seen the described situation before and suspect it's fairly common. Meanwhile, although I've not been a Windows developer, I suspect their culture comes bundled with a modest helping of being mindful of CPU and disk resources and preparation for production deployments. Microsoft is too friendly with corporate IT to leave production deployments a guessing game. Finally, perhaps the OP in particular is just especially careful about performance, perhaps without even consciously making it a priority. Certainly none of us think it should be especially difficult for an m1.large server to process hundreds of thousands of dynamic web requests per day. It's more instructive to me, frankly, that we have come to think that is noteworthy. [1] http://www.techempower.com/benchmarks/ http://www.techempower.com/benchmarks/
- viraptor 13y agoIt's not just a cool cloud thing. Managing multiple services on a single host comes at its own price too. Trying to manage security separation, disk space, specific user access, projecting bandwidth / cpu / memory / disk usage in the future, figuring out which services cannot run on the same host for yet another set of reasons. Then you add HA for only one service and end up with host A with services X,Y,Z and host B with X,P,Q. There's a lot of great things about being able to say - these are the two DNS boxes. They pretty much serve static data and have minimal traffic - stick them on two minimal instances which cost us ~0, but give a very high isolation from other failures.
- Spooky23 13y agoIt depends on the technology stack that you're using. If your apps are .Net/CLR-based, it's very possible to get the separation that you're looking for. On Unix this is done all of the time with JVM-based apps as well. End of the day scaling horizontally or vertically requires real engineering and operational discipline. I am seeing much more sloppy horizontal scaling than I used to, because the marginal cost of a VM is so low. The difference is, when scaling up everyone intuitively understood that many services on one OS instance introduced risk. When scaling out, I think people with weak ops backgrounds intuitively feel that the OS instances are giving them a security barrier. That's a dangerous assumption! The simplicity of spinning a VM is obscuring the complexity of the system as a whole.
- viraptor 13y ago> If your apps are .Net/CLR-based, it's very possible to get the separation that you're looking for. I'm not sure I follow. Unless I'm missing something, the only thing this separates is the memory between applications and optionally user privileges via the standard permissions / security domain. Other resources are completely shared - that is, one app can fill the disk / bandwidth / server thread pool / ... of other apps, right?