Is CDN a reverse proxy like LB or API Gateway?

View profile for Arpit Bhayani
Arpit Bhayani Arpit Bhayani is an Influencer

Is CDN a reverse proxy, just like a load balancer or an API gateway? Yes. While LB and API gateway fit the classic definition of a Reverse Proxy, CDN is also a reverse proxy with caching as its primary purpose. Like any other reverse proxy, 1. CDN acts as a single point of entry for client requests, 2. CDN abstracts out different origins configured behind it 3. CDN can also route the requests across multiple origins depending on the route-matching configuration. Hence, the deduction is on point, and LB, API Gateway, and CDN are all examples of Reverse Proxies. I elaborated on CDN, as it is an unconventional example. ps: I love how the comments on my YouTube videos are also no-fluff and filled with thought-provoking questions. Thank you for asking such great questions. By the way, the question was asked in my recent video on Forward and Reverse Proxy. In the video, I went into highly practical details with real-world examples and stories from my life. give it a watch and subscribe - youtu.be/HrG0MHkSsCA btw, enrollments open for sys design June cohort, about 30 seats left - arpitbhayani.me/course

Enrollments for my System Design June cohort are open. If you are SDE-2, SDE-3, and above and looking to build a rock-solid intuition to design any and every system, check out arpitbhayani.me/course I keep the seats limited to ensure I can answer every single question and have detailed brainstorming around the systems we discuss. no-fluff engg - youtube.com/c/ArpitBhayani my write-ups: arpitbhayani.me/blogs

Amruth P S

Software Engineer Trainee @ Synchronoss | Java | Python | Spring Boot | React.js | Node.js | Typescript | Distributed Systems | Kafka | AI/ML | AWS | Docker | Kubernetes | 2 x Oracle Certified

5mo

Absolutely loved your deep dive into the practical aspects of forward and reverse proxies! The CDN explanation was especially insightful turning a less conventional example into a crystal clear concept. Your content always brings clarity with real-world relevance. Keep it coming!

Ramadhevi RK

Software Engineer @Weave | ex-SDE @Oracle | Software Systems × AI

5mo

Big thanks for sharing, Arpit

Like
Reply

So the WAF is also a reverse proxy?

Like
Reply
Hasnain Ahmed Shaikh

Software Dev Engineer @ Amazon | AWS Certified Solutions Architect | Empowering Digital Transformation through Code | Tech Blogger at Haznain.com & Medium Contributor

5mo

Great breakdown! Arpit Bhayani Highlighting CDN as a reverse proxy with caching clarifies its role beyond traditional load balancers and API gateways.

Like
Reply

This kind of clarity in tech helps professionals craft authentic personal brands that resonate.

Like
Reply
Krish Srivastava

Engineering @PhysicsWallah

5mo

Impressive! Had a question, is there a scenario where using a CDN as a reverse proxy actually introduces more latency or complexity than it solves?

See more comments

To view or add a comment, sign in

Explore content categories