When can I host IIS and SQL Server on the same machine?

后端 未结 6 1932
攒了一身酷
攒了一身酷 2020-12-04 20:07

I\'ve read that it\'s unwise to install SQL Server and IIS on the same machine, but I haven\'t seen any evidence for that. Has anybody tried this, and if so, what were the r

6条回答
  •  执念已碎
    2020-12-04 21:07

    It's unwise in certain contexts... totally wise in others.

    If your machine is underutilized and won't experience heavy loads, then there is an advantage to installing the database on the same machine, because you simply won't have to transfer anything across the network.

    On the other hand, if one or both of IIS or the database will be under heavy load, they will likely start to interfere, and the performance gain of dedicated hardware for each will probably outstrip the loss of having to go over the network.

提交回复
热议问题