Why is it not advisable to have the database and web server on the same machine?

前端 未结 18 1714
夕颜
夕颜 2020-12-07 06:44

Listening to Scott Hanselman\'s interview with the Stack Overflow team (part 1 and 2), he was adamant that the SQL server and application server should be on separate machin

18条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-07 07:31

    I would think the big factor would be performance. Both the web server/app code and SQL Server would cache commonly requested data in memory and you're killing your cache performance by running them in the same memory space.

提交回复
热议问题