Proxies Flashcards
1
Q
What is a Proxy?
A
A proxy server is an intermediary piece of hardware/software that sits between the client and the back-end server.
2
Q
What a proxy does?
A
It receives requests from clients and relays them to the origin servers. Typically, proxies are used to filter requests or log requests, or sometimes transform requests (by adding/removing headers, encrypting/decrypting, or compression).
3
Q
Advantages of Proxies
A
- Typically, proxies are used to filter requests or log requests, or sometimes transform requests (by adding/removing headers, encrypting/decrypting, or compression).
- A proxy server is that its cache can serve a lot of requests.
- If multiple clients access a particular resource, the proxy server can cache it and serve all clients without going to the remote server.
- Proxies are also extremely helpful when coordinating requests from multiple servers and can be used to optimize request traffic from a system-wide perspective.
4
Q
How Proxies work/help?
A
- we can collapse the same (or similar) data access requests into one request and then return the single result to the user; this scheme is called collapsed forwarding.
- Another great way to use the proxy is to collapse requests for data that is spatially close together in the storage (consecutively on disk).