Having a grasp of common architectural patterns is essential to designing software architecture at scale. Using them saves not only time but also ensures a reliable implementation of your design. There’s no need to reinvent the wheel when there’s an architectural pattern available that applies to an architecture you’re developing.
The following is a brief overview of the Static Content Hosting architectural pattern.
Understanding the Static Content Hosting pattern
The Static Content Hosting pattern is one in which static content is separated from dynamic content and stored over a variety of geographic locations in a manner that is optimized for fast access. An example of static content is a web page written in HTML that has data that changes slowly, for instance, an author’s biography. Another example is an mp4 file associated with a movie. An example of dynamic content is data that is fast-changing and is composed on the fly when requested. An example of dynamic data is a list of current stock prices.
A typical implementation of the Static Content Hosting pattern is a Content Delivery Network (CDN).

Pros
- Very efficient for delivering slow-changing content and media.
- Distribution technologies are very mature, thus making updates relatively painless.
Cons
- As with any redundancy technology, data consistency can be a problem.
- Data is inherently redundant, hence the cost of storage increases accordingly.
Putting it all together
The Static Content Hosting pattern has been in use since the early days of the commercial internet. Architects realized early on that there is little downside to separating an application’s static content from dynamic content. Over the years, static content storage services have standardized a lot of the work that goes into using the pattern. Such services abstract away service discovery to a storage resource to a well-known URL. Thus, should an underlying IP address representing a storage location change, those services consuming the static content will be unaffected because the URL representing the storage resource remains unchanged.
As mentioned above, the technologies used to implement the Static Content Hosting pattern have matured a great deal over the years. Still, there are risks. Upgrading static content might require a different deployment process due to the inherent separation of the static content from dynamic code. And, because static content tends to be distributed redundantly over many geolocations, storage costs will go up accordingly.
Über den Autor
Bob Reselman is a nationally known software developer, system architect, industry analyst, and technical writer/journalist. Over a career that spans 30 years, Bob has worked for companies such as Gateway, Cap Gemini, The Los Angeles Weekly, Edmunds.com and the Academy of Recording Arts and Sciences, to name a few. He has held roles with significant responsibility, including but not limited to, Platform Architect (Consumer) at Gateway, Principal Consultant with Cap Gemini and CTO at the international trade finance company, ItFex.
Nach Thema durchsuchen
Automatisierung
Das Neueste zum Thema IT-Automatisierung für Technologien, Teams und Umgebungen
Künstliche Intelligenz
Erfahren Sie das Neueste von den Plattformen, die es Kunden ermöglichen, KI-Workloads beliebig auszuführen
Open Hybrid Cloud
Erfahren Sie, wie wir eine flexiblere Zukunft mit Hybrid Clouds schaffen.
Sicherheit
Erfahren Sie, wie wir Risiken in verschiedenen Umgebungen und Technologien reduzieren
Edge Computing
Erfahren Sie das Neueste von den Plattformen, die die Operations am Edge vereinfachen
Infrastruktur
Erfahren Sie das Neueste von der weltweit führenden Linux-Plattform für Unternehmen
Anwendungen
Entdecken Sie unsere Lösungen für komplexe Herausforderungen bei Anwendungen
Virtualisierung
Erfahren Sie das Neueste über die Virtualisierung von Workloads in Cloud- oder On-Premise-Umgebungen