#455 work on readme.md
This commit is contained in:
64
cloud-static-content-hosting/README.md
Normal file
64
cloud-static-content-hosting/README.md
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
---
|
||||||
|
layout: pattern
|
||||||
|
title: Static Content Hosting
|
||||||
|
folder: cloud-static-content-hosting
|
||||||
|
permalink: /patterns/cloud-static-content-hosting/
|
||||||
|
categories: Cloud
|
||||||
|
tags:
|
||||||
|
- Cloud distributed
|
||||||
|
---
|
||||||
|
|
||||||
|
## Intent
|
||||||
|
|
||||||
|
Deploy static content to a cloud-based storage service that can deliver them directly to the client.
|
||||||
|
This can reduce the need for potentially expensive compute instances.
|
||||||
|
|
||||||
|
## Explanation
|
||||||
|
|
||||||
|
Real world example
|
||||||
|
|
||||||
|
> A global marketing web site with static content needs to be quickly deployed to start attracting
|
||||||
|
> potential customers. To keep the hosting expenses and maintenance minimum, a cloud hosted storage
|
||||||
|
> service along with content delivery network is used.
|
||||||
|
|
||||||
|
In plain words
|
||||||
|
|
||||||
|
> Static Content Hosting pattern utilizes cloud native storage service to store the content and
|
||||||
|
> global content delivery network to cache it in multiple data centers around the world.
|
||||||
|
|
||||||
|
Wikipedia says
|
||||||
|
|
||||||
|
> A static web page (sometimes called a flat page or a stationary page) is a web page that is
|
||||||
|
> delivered to the user's web browser exactly as stored, in contrast to dynamic web pages which are
|
||||||
|
> generated by a web application.
|
||||||
|
>
|
||||||
|
> Static web pages are suitable for content that never or rarely needs to be updated, though modern
|
||||||
|
> web template systems are changing this. Maintaining large numbers of static pages as files can be
|
||||||
|
> impractical without automated tools, such as static site generators.
|
||||||
|
|
||||||
|
**Programmatic Example**
|
||||||
|
|
||||||
|
```
|
||||||
|
```
|
||||||
|
|
||||||
|
## Applicability
|
||||||
|
|
||||||
|
Use the Static Content Hosting pattern when you want to:
|
||||||
|
|
||||||
|
* Minimize the hosting cost for websites and applications that contain some static resources.
|
||||||
|
* Build a globally available web site with static content
|
||||||
|
* Monitor the web site traffic, bandwidth usage, costs etc.
|
||||||
|
|
||||||
|
## Typical Use Case
|
||||||
|
|
||||||
|
* Web sites with global reach
|
||||||
|
* Content produced by static web site generators
|
||||||
|
* Web sites with no dynamic content requirements
|
||||||
|
|
||||||
|
## Real world examples
|
||||||
|
|
||||||
|
* [Java Design Patterns web site](https://java-design-patterns.com)
|
||||||
|
|
||||||
|
## Credits
|
||||||
|
|
||||||
|
* [Static Content Hosting pattern](https://docs.microsoft.com/en-us/azure/architecture/patterns/static-content-hosting)
|
Reference in New Issue
Block a user