The following best practices were spelled out by Steve Walker, Senior Program Manager at Microsoft, during the SPC119 session at the SharePoint Conference 2012 in Las Vegas, Nevada.
Legacy Topology – Multiple Web Apps
- Each Application Pool requires additional resources on each Web Role Machine
- Caching of common assemblies alone is significant overhead
- Leads to multiple farm architectures very quickly with high numbers of web applications !!
Recommended Logical Topology
- One Web application, one zone
- Have a good business reason why you deviate from this
- One IIS Website; "SharePoint" (Application Pool)
- Use Host-named Site Collections (HNSC's)
- Scales Better
- Reduced Resource Consumption (Memory for App Pools, Cache, etc)
- Mitigates x-site scripting risks the same as multiple web apps
- SSA (Secure Site Access) - You can still have multiple host names !
How to create Host Named Site Collections:
http://smallcitydesign.com/how-to-create-a-host-named-site-collection-in-sharepoint/- Remember to add the site collection's hostheader to DNS (or hosts file)
- Remember to check/update IIS Bindings with site collection hostheader
Hi Rick,
ReplyDeleteis the above approach also achievable in SharePoint Server 2010?
Lukasz,
ReplyDeleteYes, host-based site collections are supported in 2010. However, it did not become Microsoft's recommendation until 2013. If ytu decided to give it a shot with 2010, let me know your results, specifically performance.
I'd be concerned with a single point of failure. I still see value in running separate app pools for highly customized sites where there may be some server side code running but have no problem with this if you're running vanilla collaboration sites.
ReplyDeleteIt's been some time since your comment questioning the sales-speak-ness of Microsoft's change...have you embraced hostname-based SCs since then?
ReplyDeleteThis comment has been removed by the author.
DeleteDarren,
DeleteI have embraced for a couple of reasons, most notably the SharePoint app model. Taken from MS Technet > "Host-named site collections are the preferred method to deploy sites in SharePoint 2013. Because the Office 365 environment uses host-named site collections, new features are optimized for these site collections and they are expected to be more reliable." - http://technet.microsoft.com/en-us/library/cc424952.aspx
They also allow for more site collection names etc...
(So.. you can see, MS is "optimizing" new features for HNSC's... another way to gently push us in the direction of HNSC's... which just so happens to already be in place on the cloud... ...come on over... the cloud will solve all your ills... (as well as provide another income stream for MS)
Thanks, I'm ready to drink the kool-aid :)
DeleteI am a beginner in SharePoint and have just signed up for free SharePoint hosting solutions with cloudappsportal.com. In future, I am planning to expand the horizon of my SharePoint usage then I would need help from experts such as you to understand things like this better. Thanks.
ReplyDeleteThe sad scenario is that the cyber crime monster is nowhere near being tamed. There has been a steady rise in the number of threats identified each year. best cloud security companies
ReplyDelete