EP137: Proxy vs Reverse Proxy

EP137: Proxy vs Reverse Proxy

A forward proxy is a server that sits between user devices and the internet. A forward proxy is commonly used for: 
͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­
Forwarded this email? Subscribe here for more

WorkOS: Your app, Enterprise Ready. (Sponsored)

WorkOS is a modern identity platform for B2B SaaS.

→ A complete user management solution along with SSO, Directory Sync (SCIM), and Fine-Grained Authorization (FGA).
→ Integrate in minutes with modular and easy-to-use APIs 
→ A self-serve onboarding flow that guarantees a seamless UX for your customers' IT admins when setting up SSO and SCIM.
→ Free user management up to 1 million MAUs. Comes standard with social login, MFA, RBAC, bot protection, and more.

WorkOS powers hundreds of high-growth companies including Perplexity, Vercel, and Cursor.

Ship SSO and SCIM this afternoon


This week’s system design refresher:

  • How SSH Really Works (Youtube video)

  • Proxy vs Reverse Proxy

  • 20 Popular Open Source Projects Started or Supported By Big Companies

  • 10 Essential Components of a Production Web Application

  • SPONSOR US


How SSH Really Works


Proxy Vs reverse proxy

No alt text provided for this image

A forward proxy is a server that sits between user devices and the internet. A forward proxy is commonly used for:

  • Protect clients

  • Avoid browsing restrictions

  • Block access to certain content

A reverse proxy is a server that accepts a request from the client, forwards the request to web servers, and returns the results to the client as if the proxy server had processed the request. A reverse proxy is good for:

  • Protect servers

  • Load balancing

  • Cache static contents

  • Encrypt and decrypt SSL communications


🚀pgai Vectorizer - Automate embeddings for search and RAG, all within PostgreSQL (Sponsored)

Launch Alert: pgai Vectorizer automates embedding creation in PostgreSQL, keeping your embeddings up to date as your data changes—no manual syncing required. You can also test models, switch seamlessly, and manage everything with SQL. Available free on GitHub or fully managed in Timescale Cloud.

Learn more on GitHub


20 Popular Open Source Projects Started or Supported By Big Companies

No alt text provided for this image
  • Google

    • Kubernetes

    • TensorFlow

    • Go

    • Angular

  • Meta

    • React

    • PyTorch

    • GraphQL

    • Cassandra

  • Microsoft

    • VSCode

    • TypeScript

    • Playwright

  • Netflix

    • Chaos Monkey

    • Hystrix

    • Zuul

  • LinkedIn

    • Kafka

    • Samza

    • Pinot

  • RedHat

    • Ansible

    • OpenShift

    • Ceph Storage

Over to you: Which other project would you add to the list?


10 Essential Components of a Production Web Application

No alternative text description for this image
  1. It all starts with CI/CD pipelines that deploy code to the server instances. Tools like Jenkins and GitHub help over here.

  2. The user requests originate from the web browser. After DNS resolution, the requests reach the app servers.

  3. Load balancers and reverse proxies (such as Nginx & HAProxy) distribute user requests evenly across the web application servers.

  4. The requests can also be served by a Content Delivery Network (CDN).

  5. The web app communicates with backend services via APIs.

  6. The backend services interact with database servers or distributed caches to provide the data.

  7. Resource-intensive and long-running tasks are sent to job workers using a job queue.

  8. The full-text search service supports the search functionality. Tools like Elasticsearch and Apache Solr can help here.

  9. Monitoring tools (such as Sentry, Grafana, and Prometheus) store logs and help analyze data to ensure everything works fine.

  10. In case of issues, alerting services notify developers through platforms like Slack for quick resolution.

Over to you: What other components would you add to the architecture of a production web app?


SPONSOR US

Get your product in front of more than 1,000,000 tech professionals.

Our newsletter puts your products and services directly in front of an audience that matters - hundreds of thousands of engineering leaders and senior engineers - who have influence over significant tech decisions and big purchases.

Space Fills Up Fast - Reserve Today

Ad spots typically sell out about 4 weeks in advance. To ensure your ad reaches this influential audience, reserve your space now by emailing sponsorship@bytebytego.com

 
Like
Comment
Restack
 

© 2024 ByteByteGo
548 Market Street PMB 72296, San Francisco, CA 94104
Unsubscribe

Get the appStart writing


by "ByteByteGo" <bytebytego@substack.com> - 11:37 - 9 Nov 2024