【CS架构与P2P架构】
CS:
1. Always-on server;
2. Permanent IP address;
3. Server farms for scaling;
P2P:
1. No always-on server;
2. Arbitrary end system;
3. Hard to manage;
4. Easy to expand;
5. Communicate directly;
6. Peers are intermittentlyconnected and change IP addresses;
【Post传参方法与URL(Get)传参方法】
Post:
Input is uploaded to server in entity body;
URL:
Input is uploaded in the URL filed of request line
【Cookie与Web Cache】
Cookie components:
1. Cookie header lines in responseand request message;
2. Cookie file is kept on user’shost; ( 存储在client上与3对应的文件)
3. Back-end database at the website; (存储在server上与2对应的文件)
Web cache:
1. Goal: satisfy client requestwithout involving original server;
2. Approach: use prox