Simple Comprehension
Agent
The agent is the client.
Reverse proxy
The agent is the service side.
A more detailed description
Agent
For example, client C needs to access site B, but because B is wall, C cannot be accessed directly, but there is another intermediate client p, he can turn over the wall, can visit the B website. So there's a solution: C sends a request to the B site to P, and then p forwards the request to B, and finally p returns the result of the B-Net station to C. This is the p in the intermediary, Agent role, so p is called agent.
Reverse Proxy
client C needs to access the B site, although C can access B directly, but B's developers for the B site's data security and take into account load balancing and other original because, in order to set up an intermediary service p before B, this service receives requests from all external clients, and then distributes these requests according to the load Balancing algorithm . give the server of a B site after it, and then return the page returned by that server to the customer. Now the case is that C's original intention to access B, but in fact it directly accesses a reverse proxy p, but this proxy agent is the server processing its request.
Proxy and Reverse Proxy