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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Advantages of Proxies

A
  1. Typically, proxies are used to filter requests or log requests, or sometimes transform requests (by adding/removing headers, encrypting/decrypting, or compression).
  2. A proxy server is that its cache can serve a lot of requests.
  3. If multiple clients access a particular resource, the proxy server can cache it and serve all clients without going to the remote server.
  4. Proxies are also extremely helpful when coordinating requests from multiple servers and can be used to optimize request traffic from a system-wide perspective.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How Proxies work/help?

A
  1. 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.
  2. Another great way to use the proxy is to collapse requests for data that is spatially close together in the storage (consecutively on disk).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly