Windows Server 8: Part 3—BranchCache
May 11, 2012 Leave a comment
Slalom consultant and accomplished Microsoft systems developer Derek Martin sheds light on Windows Server 8 (WS8) through his insightful blog series focusing on his research within the technical preview documentation, personal experimentation with the product, and thoughts of how they can apply to the real world as soon as it is released to manufacturing (RTM).
Perhpas my favorite Windows Server 8 feature, BranchCache™, has received tremendous updates in this release. BranchCache is a technology originally released in the 08 versions of Windows Server that allows companies with large remote office deployments to ease wide area network (WAN) traffic for file server purposes by securely caching files at remote offices on either servers or even workstations (using something akin to P2P technology). Once a client from a remote office grabs a file off a server via the WAN, it gets cached there (again on either servers or client workstations) for other users to get. This operation is transparent to the end user–the only thing they notice is files open faster! To me–this is dark magic.
Branch cache originally shipped with two modes: Hosted Cache and Distributed Cache. If that isn’t pretty self explanatory, here is a snippit lifted from the TechNet article:
- Hosted Cache Mode–files are cached on servers (called hosted cache servers – duh) at the remote office.
- Distributed Cache Mode (the ‘dark magic’ mode)–files are cached on individual workstations and distributed among those workstations as needed. These stay local to the subnet. Very useful if you have a limited WAN connection and/or no servers to support hosted cache mode at the remote office.
In WS8, we get some very cool features that enable some interesting scenarios for hosted cache mode deployments:
- File Server role
- Web Server role
- Application Server role
Which one you choose depends on what you have available in your remote offices. File Server mode, as you might expect, requires SMB. Web Server mode requires IIS (and preferrably HTTPS). Application Server mode requires BITS. Security is handled for you and it is very cool–this version no longer requires decently complex certificate and BitLocker stuff to keep things secure. In WS8, we also see Branch Cache using ESE (circa Exchange DB engine) to help scalability and demand. As with all WS8 features, Branch Cache is completely managable via Server Manager (and in groups), PowerShell, WMI, or even locally if you are so inclined.
Setting BranchCache up couldn’t be easier. Configure some Group Policy objects (that have even been streamlined since the previous version which is nice) for the clients and turn it loose. Once you have the BranchCache server(s)–should you choose to use Hosted Cache mode–up and running, the clients detect them, self configure and the end user is none-the-wiser.
In all, a lot more could be said about BranchCache, but the bottom line is this is one of those dark magic things that just works so well, you wonder where it has been all your life. It will save tremendous amounts of bandwidth on your WAN, the hosted cache servers can be pre-seeded and then shipped out, and your end users don’t do anything different. Perfect!
P.S. I forgot to mention it also works with the new de-duplication and storage spaces features that I’ll be talking about in future articles. Huzzah!
|Learn more about our Dallas office||Learn more about Slalom Consulting Cloud|
Subscribe to follow new Cloud posts