How does software get hosted?
- Clients request a URL;
- CDN interpret URL and route to the nearest network;
- When request safety pass the 1st network, will get to the distribution layer such as nginx(whatever the public cloud or private cloud);
- The Nginx cluster will distribute request basing on what type it belongs to:
the static request will fetch data from static server
the dynamic request will fetch data from the app server base on what business type it belongs to
dome hot data are preferable store in a cache server such as Redis
- When a request pass to the app server will get a series of verification when logically is safety, will select related data from the database.