News for hackers. Stuff that matters.
Re:Microsoft has developed its own Linux: in-house software-... by junto on Friday September 18, 2015 @04:01AM (#10237996)
Microsoft are now moving quickly to allow users to run .NET on all platforms. How long until they decide that Windows Server is no longer worth investing in?

Or are there too many Microsoft server products earning good profits (i.e. Exchange and BizTalk), to make that switch a realistic future expectation?

I'm genuinely interested to hear people's opinions on their thoughts of the future of Microsoft and Windows Server.

Re:Microsoft has developed its own Linux: in-house software-... by buffoon on Friday September 18, 2015 @05:56AM (#10238289)
Heavy Windows server user here. We have 100+ windows server 2008 R2 and 2012 R2 machines in production and a massive .Net/C# codebase.

Currently it's a complete bastard of an operating system. It's expensive, hard to manage even with powershell and DSC etc, difficult to update, difficult to provision, complicated and to be honest absolutely terrible licensing hell that costs us days a year. Hyper-V just adds complexity before anyone suggests that.

Exchange on-site deployments are dead. Everyone is moving away from them now and into Office 365 and Google Apps. There is no rational cost justification to use anything else now. Even the big orgs (5000+ staff) are moving off it as it's cheaper to get a fat pipe in than it is to keep 2-3 windows admins and a pile of kit and a SAN on the payroll just to run groupware.

Biztalk is also dead and has been for a few years. People who were using it heavily seem to be holding onto it due to cost reasons and everyone else who has been using it and have done any platform re-engineering have moved off to Windows Server AppFabric, NServiceBus and custom integrations or to AWS/SQS.

Microsoft are pushing Windows Server 2016 with container support as the up and coming new thing. I'm really not interested in this myself. I don't think anyone else is either other than a select number of core windows bloggers. It's simply a "me too" move.

As we re-engineer our application, what our endgame currently looks like is deploying disposable Linux VMs (CentOS) on AWS running ASP.Net 5/golang, microservices, lots of small PostgreSQL nodes (RDS) rather than massive 48 core SQL Server boxes, using OAuth2/OpenID authentication and getting rid of our extensive operations team who are incidentally more of an obstruction than an aid to the organisation.

IMHO Windows Server is probably circling the drain. There are very few places it fits in a modern business and this is only going to get worse going forth as well.

The remaining killer is Active Directory but you can already get Microsoft to deal with that for you on Azure, pre-integrated with Office 365 and sharepoint etc.

Microsoft I suspect will end up a services company like Google with some hardware being sold on the side. And you know what? That's fine.

Re:Microsoft has developed its own Linux: in-house software-... by MichaelGG on Friday September 18, 2015 @07:39AM (#10238588)
An even simpler summary: To add SPDY or HTTP/2 support to IIS, you must upgrade the operating system. I understand why this is (http.sys) but ... wow. Whereas using nginx I literally add "spdy" to the config and presto, double-digit% improvement on my site.
Re:Microsoft has developed its own Linux: in-house software-... by buffoon on Friday September 18, 2015 @07:48AM (#10238610)
Yes exactly that sort of shit is what we have to deal with!

http.sys is a giant fucking turd. That and the whole urlacl thing. Nothing but pain. They added it because of shitty performance in the NT kernel when serving HTTP from userspace and it turned into a friction point for the whole operating system.

Re:Microsoft has developed its own Linux: in-house software-... by merb on Friday September 18, 2015 @08:20AM (#10238711)
The question is why is the userspace so shitty? Doesn't Microsoft implement some async things into their kernel? Or stuff like epoll, kqueue, etc..?
Re:Microsoft has developed its own Linux: in-house software-... by buffoon on Friday September 18, 2015 @08:34AM (#10238763)
NT syscall overhead is immense compared to a Unix derivative. There are layers galore.
Re:Microsoft has developed its own Linux: in-house software-... by Skunkleton on Friday September 18, 2015 @11:33AM (#10239766)
I am not an NT guy so maybe this is off, but doesn't windows support overlapped IO? To my understanding it is a socket only version of epoll.
Re:Microsoft has developed its own Linux: in-house software-... by noir_lord on Friday September 18, 2015 @07:20AM (#10238519)
> Microsoft I suspect will end up a services company like Google with some hardware being sold on the side. And you know what? That's fine.

This seems to be one of the patterns for large enterprise software companies, IBM did it as well.

It would be interesting to see what Microsoft could do with Linux on the desktop if they swung their weight behind it, Microsoft has incredible engineering resources and some amazing programmers, I doubt it would happen but it would be fascinating.

Re:Microsoft has developed its own Linux: in-house software-... by breakingcups on Friday September 18, 2015 @10:16AM (#10239304)
Wow, I'm currently making nearly the exact same switch, albeit on a smaller scale. I'm currently in charge of a lot of old ASP.NET applications but for the new flagship thing we're looking at ASP.NET 5 on Linux on Azure (BizSpark), Go where it makes sense performance-wise or problem-wise and possibly Postgres instead of SQL Server, although I'm not sure on that last bit yet.
Re:Microsoft has developed its own Linux: in-house software-... by buffoon on Friday September 18, 2015 @10:34AM (#10239403)
The last bit we're doing it because we got financially fucked by the core licensing changes in SQL 2012.
Re:Microsoft has developed its own Linux: in-house software-... by voltagex_ on Friday September 18, 2015 @11:34AM (#10239776)
Got any info on that? I need to justify Postgres at $EMPLOYER
Re:Microsoft has developed its own Linux: in-house software-... by buffoon on Friday September 18, 2015 @11:46AM (#10239862)
Re:Microsoft has developed its own Linux: in-house software-... by frik on Friday September 18, 2015 @01:30PM (#10240602)
The plan for the original Active Directory was to be the directory service of a Microsoft dominated "information highway" called "The Microsoft Network" (v1). see the infamous Microsoft memo from Bill Gates

It seems they have big plans for their cloud product "Azure"

Re:Microsoft has developed its own Linux: in-house software-... by frik on Saturday September 19, 2015 @12:22AM (#10243283)
Re:Microsoft has developed its own Linux: in-house software-... by buffoon on Saturday September 19, 2015 @08:53AM (#10244142)
It is. I don't know why you were downvoted.

Strangely that document makes me want NT 3.51 back again as well :)

Re:Microsoft has developed its own Linux: in-house software-... by Ruxbin on Tuesday September 22, 2015 @01:43AM (#10256823)
You're right in that Windows is complex operating system but how is it any different than CentOS? Sure, Powershell/DSC does make life easier but how are these utilities necessarily any worse or better than a combination of bash, python, kickstart?

Exchange Onsite deployments aren't dead, on-site email is dead. Unless, you're "too big" for the cloud (>20k users) because of <$Requirement> then Exchange is an option.

Keeping data On-Premise has always been a challenge, SAN are expensive but that's what it takes if you want data locally.

I can't comment on the rest but we're comparing Apples to Oranges here.

Re:Microsoft has developed its own Linux: in-house software-... by junto on Friday September 18, 2015 @08:46AM (#10238822)
If you are struggling/fighting with the large deployments, I recommend you have a chat with http://www.devopsguys.com/ down in Cardiff, UK. That's all they do (and well). Speak to Jim and tell them @Junto sent you.
Re:Microsoft has developed its own Linux: in-house software-... by buffoon on Friday September 18, 2015 @08:53AM (#10238853)
Thanks for the reference. They're not for this platform as we've already nailed down what we're doing but will keep them in my notes for future projects.
Re:Microsoft has developed its own Linux: in-house software-... by kyberias on Friday September 18, 2015 @09:09AM (#10238938)
"Have moved off to Windows Server AppFabric"

Doesn't really sound you know what you're talking about. That technology is dead and doesn't really replace BizTalk.

"In April 2015 Microsoft announced that it will end support for AppFabric for Windows Server on the 2nd April 2016."

Re:Microsoft has developed its own Linux: in-house software-... by buffoon on Friday September 18, 2015 @09:33AM (#10239065)
I know exactly what I'm talking about and am aware of the deprecation. I'm talking historically i.e. when people wanted managed long-running workflow hosting, monitoring and WCF correlation on the cheap instead of fishing out for Biztalk orchestration style integrations and licenses they jumped on that bandwagon.

People are stuck with it now, deprecation or not.

Re:Microsoft has developed its own Linux: in-house software-... by x5n1 on Friday September 18, 2015 @07:30AM (#10238558)
Which begs the question which CIO made that technology choice? He should be fired!
Re:Microsoft has developed its own Linux: in-house software-... by buffoon on Friday September 18, 2015 @07:47AM (#10238609)
12 years ago it made sense. It's all legacy now.
Re:Microsoft has developed its own Linux: in-house software-... by Kurtz79 on Friday September 18, 2015 @07:55AM (#10238636)
"How long until they decide that Windows Server is no longer worth investing in ?"

Without hard data to support it, my impression (or better, my anecdotal experience) is that Windows Server has quite a strong hold in medium/large sized companies (not necessarily IT companies) as part of the local network infrastructure, and it's quite profitable for Microsoft.

Re:Microsoft has developed its own Linux: in-house software-... by buffoon on Friday September 18, 2015 @09:51AM (#10239166)
I think it's treated as a necessary evil. People are starting to realise that it's less necessary these days.

Anecdotally, back a decade ago it was common to see a Windows 2000/2003/SBS box in even an SME environment being a fileserver/exchange/intranet/AD box. Now, I rarely see one. In fact they're declining even in large corps.

Re:Microsoft has developed its own Linux: in-house software-... by frik on Friday September 18, 2015 @01:02PM (#10240352)
What do you use as replacement for Active Directory?

Which OS do you deploy on thin clients (ChromeOS, Android, Ubuntu/RedHat Linux)?

Re:Microsoft has developed its own Linux: in-house software-... by buffoon on Friday September 18, 2015 @05:56PM (#10242294)
AD replacement: oauth2 backed by a directory server (Azure AD / Google apps accounts)

Clients: anything really. The OS almost doesn't matter now.

Re:Microsoft has developed its own Linux: in-house software-... by rottyguy on Friday September 18, 2015 @06:22AM (#10238344)
I'm currently in my first nix job after years with Windows. It's a larger company (15k+ people) and using RedHat for it's linux solution (solaris/aix is also present). Honestly, I don't understand the $$$ argument at the enterprise level against msoft. Not only are you paying Redhat for support but their RPMs are about a year behind what's out there (that's a lot of time!). I'm trying to get .net (coreclr) compiled now on RHEL to play around but having a heck of a time b/c of all the old packages (btw- if anyone has instructions for this, __PLEASE__ send along).

Are other nix shops using Ubuntu for their servers?

Re:Microsoft has developed its own Linux: in-house software-... by rwmj on Friday September 18, 2015 @07:26AM (#10238544)
If you're comparing Red Hat RPM's version numbers, then don't. Red Hat works by backporting features and fixes on top of the old versions, precisely so customers don't need to upgrade to new major versions so often.
Re:Microsoft has developed its own Linux: in-house software-... by greedo on Friday September 18, 2015 @09:29AM (#10239039)
This always pops up when we have audits performed; Solutionary in particular seems to just go by version number with ssh, and doesn't seem to recognize that RHEL has backported numerous fixes into it's RPMs.
Re:Microsoft has developed its own Linux: in-house software-... by rottyguy on Friday September 18, 2015 @07:38AM (#10238586)
Well that makes it more complicated. Any idea how I would be able to find these packages (specifically: libunwind8, libssl-dev and unzip)

https://github.com/dotnet/coreclr/blob/master/Documentation/...

Re:Microsoft has developed its own Linux: in-house software-... by th0br0 on Friday September 18, 2015 @09:39AM (#10239099)
Uhm, ... packages don't always have the same names on all distributions!

i.e. "libunwind8" translates to libunwind, unzip to unzip and libssl-dev to openssl-devel. libunwind's from EPEL though...

Re:Microsoft has developed its own Linux: in-house software-... by rwmj on Friday September 18, 2015 @09:46AM (#10239136)
Looks like we'll be adding libunwind as a new package in RHEL 7.2. (There's a BZ, but for some reason I can't really fathom it is marked as private, and it's above my salary scale to open private bugs, sorry)
Re:Microsoft has developed its own Linux: in-house software-... by merb on Friday September 18, 2015 @06:28AM (#10238360)
Lot's of Shops use Ubuntu, yes. However you could also use CentOS or Fedora to be more flexible then with RedHat, especially when it comes to costs. 'Mostly' you don't need the Enterprise support, however without any paying for it we won't have Fedora / CentOS in the future. ;)
Re:Microsoft has developed its own Linux: in-house software-... by pjmlp on Friday September 18, 2015 @06:28AM (#10238358)
As an hybrid kernel, able to do asynchronous IO better than open source UNIX clones, adoption of C++ instead of bare bones unsafe C and an OOP ABI (COM), I look forward to the existence of Windows as server OS.

There are lots of MS only shops out there and I don't see any of the changing in the near future.

Re:Microsoft has developed its own Linux: in-house software-... by osullivj on Friday September 18, 2015 @06:39AM (#10238391)
When I first saw a whole stack of low latency C++ Win32 based servers running on Windows supporting an interest rate trading business back in 2004 I was amazed. Talarian SmartSockets was used for interprocess pub/sub between servers. There was no COM. No thread pools, just a handful of threads in each process executing distinct code. Very clean async design. Back then Linux didn't have lightweight threads, IIRC. I think this is the kind of thing Windows Nano might support. Is that what you had in mind when you look forward to Windows as a server OS?
Re:Microsoft has developed its own Linux: in-house software-... by pjmlp on Friday September 18, 2015 @07:08AM (#10238476)
Windows IO completion ports and the way threads are scheduled are probably only beaten by Solaris and Aix specific APIs.

Most FOSS devs never care to learn such APIs and stay with the lowest common denominator that happens to exist in GNU/Linux and *BSD.

Re:Microsoft has developed its own Linux: in-house software-... by trentnelson on Friday September 18, 2015 @10:52AM (#10239501)
> are probably only beaten by Solaris and Aix specific APIs.

They're definitely not. AIX copied the IOCP interface almost verbatim, but missed one critical piece: associating an IOCP with a desired concurrency level. Solaris added event ports, but again, they missed the concurrency link too.

The root of the problem on UNIX is the readiness I/O model.

See https://speakerdeck.com/trent/pyparallel-how-we-removed-the-... for more info.

Re:Microsoft has developed its own Linux: in-house software-... by pjmlp on Friday September 18, 2015 @03:33PM (#10241543)
Thanks for the heads up. It's been a decade since I touched Solaris and Aix.
Re:Microsoft has developed its own Linux: in-house software-... by anon4 on Friday September 18, 2015 @08:03AM (#10238663)
Do you think this will change with the popularity of node.js and libuv? That is, people using said capabilities in a cross-platform manner more.
Re:Microsoft has developed its own Linux: in-house software-... by pjmlp on Friday September 18, 2015 @10:25AM (#10239349)
I doubt it. On the enterprise space from our customers, no one cares about them.

It is all about .NET, C++ and additionally the JVM when going outside Windows.

Re:Microsoft has developed its own Linux: in-house software-... by trentnelson on Friday September 18, 2015 @10:53AM (#10239510)
You should see what you can do today with Registered I/O and the new threadpool APIs. It is phenomenal. (And literally decades ahead of anything UNIX offers. OS X comes close with GCD.)
Re:Microsoft has developed its own Linux: in-house software-... by pjmlp on Friday September 18, 2015 @03:37PM (#10241565)
I am aware of it.

Even though I used UNIX a lot on my career, I have always been with foots on both lands and enjoyed Win32 more than POSIX, claimed as portable, but full of nuaces per UNIX clone.

Re:Microsoft has developed its own Linux: in-house software-... by ploxiln on Friday September 18, 2015 @02:35PM (#10241167)
"C++ instead of bare bones unsafe C" is C++ really much safer than C?

"an OOP ABI (COM)" you really think this sort of thing is super great and there's nothing like it on "UNIX clones"?

I have heard interesting things about windows async i/o syscalls, but as you'll see in another sub-thread, IIS still has a major component in the kernel, because the overall syscall overhead of windows is apparently somewhat high.

This wouldn't be the first time I've heard of super-fancy windows subsystem designs which in practice were sabotaged by just generally over-complicated implementations. I recall a blog post by Mark Russinovich around the time Vista came out about the new, quite advanced file copying algorithms: http://blogs.technet.com/b/markrussinovich/archive/2008/02/0... - but that file copying performance was often significantly reduced when playing an mp3 file due to the "multimedia class scheduler" - http://superuser.com/questions/18600/107mb-s-network-file-co... - either because i/o and execution priorities didn't actually work, or the engineer assigned to do this didn't know what he was doing and neither did anyone he worked with. Who knows?

This sort of thing is all over microsoft's stuff. Theoretically super advanced, in practice just over-complicated. It's closed source and hugely complicated, so we'll never really know why it doesn't work as well as it should.

Re:Microsoft has developed its own Linux: in-house software-... by pjmlp on Friday September 18, 2015 @03:45PM (#10241612)
> "C++ instead of bare bones unsafe C" is C++ really much safer than C?

If one codes as "C with C++ compiler" then no.

If one makes use of the features that fix C unsafety, then yes.

> "an OOP ABI (COM)" you really think this sort of thing is super great and there's nothing like it on "UNIX clones"?

Which UNIX clone provides a standard OO ABI, as well as, a shell close to the Xerox PARC user experience?

Taligent failed.

Re:Microsoft has developed its own Linux: in-house software-... by gillianseed on Friday September 18, 2015 @06:56AM (#10238438)
>As an hybrid kernel

I must ask, what exactly makes the current NT kernel a 'hybrid' kernel ?

Re:Microsoft has developed its own Linux: in-house software-... by pjmlp on Friday September 18, 2015 @07:03AM (#10238458)
It still makes use of the original micro-kernel design,with kernel level RPC to separate modules. Thus still offering a micro-kernel cleanness in a monolithic space.

Also since Windows Vista many drivers are now implemented in user space, with minimal kernel primitives.

Re:Microsoft has developed its own Linux: in-house software-... by gillianseed on Friday September 18, 2015 @05:18PM (#10242115)
>with kernel level RPC to separate modules.

Is this what is described as LPC ? Could you elaborate on how it separates the modules (as opposed to unix subsystems) ?

>Thus still offering a micro-kernel cleanness in a monolithic space.

What does this 'cleanness' provide, and how ? It's all in kernel space so if one module crashes the whole kernel crashes ?

Re:Microsoft has developed its own Linux: in-house software-... by pjmlp on Saturday September 19, 2015 @09:46AM (#10244272)
First of all, yes memory corruption will still bring the whole thing down. Only pure micro-kernels can survive it.

What Windows does, is that there aren't any direct calls between modules, only kernel level RPC calls.

All parameters are packed into the RPC message, it is dispatched, unpacked, validated as much as possible on the receiving end, then processed.

Messages and its validation introduce an indirection layer that improves safety.

It is based on the original micro-kernel design Windows NT had, before they moved graphics back into the kernel.

So the micro-kernel message passing is still there, but simplified since now everything runs on the same space. But as of Windows Vista, UDF was introduced for user space drivers.

The "Inside Windows" book series go into great detail how everything works.

Re:Microsoft has developed its own Linux: in-house software-... by nickpsecurity on Friday September 18, 2015 @12:45PM (#10240221)
Exactly. It gets the modularity and some fault isolation without the vastly-reduced attack surface of kernel mode. ;)
Re:Microsoft has developed its own Linux: in-house software-... by signal11 on Friday September 18, 2015 @05:44AM (#10238266)
imho, if Active Directory/ADAM ran on Linux demand for Windows Server would drop considerably. However Windows Server is also used to deliver Citrix-style remote desktops (using App Virtualization[1]) and that would be harder to replace. Also, SQL Server and Exchange use plenty of Windows-specific OS features -- it wouldn't be impossible to port to Linux but it would be a lot of work.

[1] https://technet.microsoft.com/en-gb/library/hh397409.aspx

Re:Microsoft has developed its own Linux: in-house software-... by zamalek on Friday September 18, 2015 @05:52AM (#10238285)
Add Sharepoint (Microsoft's true cash cow[1]) to that list of yours and, yep, Windows definitely isn't going away.

[1]: http://www.tannerhelland.com/4993/microsoft-money-updated-20...

Re:Microsoft has developed its own Linux: in-house software-... by buffoon on Friday September 18, 2015 @06:05AM (#10238306)
AD, Sharepoint, Office 365 is already canned in Azure/O365.

You won't be buying a Windows Server license to run them any more and it's feasible that they may even not run on Windows at some point in the future. Office's server portion and Sharepoint is all .Net so expect them to move it to ASP.Net 5 at some point.

Re:Microsoft has developed its own Linux: in-house software-... by frik on Friday September 18, 2015 @01:42PM (#10240730)
SharePoint is a cash cow, but its implementation is such an old mess with lots of parts stayed unchanged since v2003. Nowadays Microsoft India is mainly working on it. The most polished version was v2007, since then little has changed.

SharePoint is basically the server part of Office. It's a web CMS, a web based Office (viewer), with AD account login support. I wonder why there is no open source SharePoint alternative e.g. coded in PHP.

Re:Microsoft has developed its own Linux: in-house software-... by Zach_the_Lizard on Friday September 18, 2015 @04:26PM (#10241854)
>I wonder why there is no open source SharePoint alternative e.g. coded in PHP.

I think it's because SharePoint's strengths lie mainly in integration with Office and other Microsoft products. Lists, workflows, wikis, etc. in SharePoint aren't great. Basically everything it does can be done in a better way with another tool.

However, due to AD integration, Office integration, the ease of connecting to MS SQL Server, the product can do things that would be difficult to do in any third party product. You can upload Word documents, run a workflow on them, have users edit list data directly in Office products, bulk edit lists in Excel, and use InfoPath forms (basically dead now though from what I recall -- thankfully I no longer have to work with SharePoint).

I think SharePoint won't ever have a competitor that can offer all of its integration.

Re:Microsoft has developed its own Linux: in-house software-... by merb on Friday September 18, 2015 @06:30AM (#10238367)
Actually Active Directory already ran on Linux. Samba4 has support for AD up to 2008 R2. Currently I don't think ADAM is builtin yet, but SAMBA4 is already in a good state, however it still misses a good GUI, (you need a MS OS to configure some stuff, like GPO)
Re:Microsoft has developed its own Linux: in-house software-... by tonyedgecombe on Friday September 18, 2015 @05:47AM (#10238270)
If you look at recent financial statements from Microsoft their server revenue is still growing at a reasonable rate.