Skip to content

System Architecture

William Garneau edited this page Oct 23, 2024 · 8 revisions

System Architecture

Our misinformation mitigation system employs a scalable architecture designed to handle high loads while maintaining performance and security.

Architecture Diagram

graph TD
    A[Frontend/Browser Extension] -->|RESTful API| B[FastAPI Backend]
    B --> C[LLM - Llama 3.1 70B]
    B --> D[Google Web Search API]
    B --> E[(Cloud SQL PostgreSQL)]
    F[Google Kubernetes Engine] -->|Orchestration| B
    F -->|Orchestration| C
    F -->|Orchestration| D
    G[Google Cloud Platform] -->|Hosts| F
    G -->|Hosts| E
    H[Memorystore for Redis] -->|Fast Data Access| B
    I[Cloud Load Balancing] -->|Load Distribution| B
    J[Secret Manager] -->|Secrets Management| B
    K[Certificate Manager] -->|SSL/TLS| I
    L[Auth0] -->|Authentication| B
    M[Cloud CDN] -->|Static Assets| A
Loading

Component Details

  1. Frontend/Browser Extension: User interface.
  2. FastAPI Backend: Python framework for building APIs.
  3. LLM - Llama 3.1 70B: Large language model.
  4. Google Web Search API: Google's search service for real-time information retrieval.
  5. Cloud SQL PostgreSQL: Fully managed relational database service for storing system data.
  6. Google Kubernetes Engine: Managed Kubernetes service for container orchestration.
  7. Memorystore for Redis: Fully managed in-memory data store service.
  8. Cloud Load Balancing: Scalable load distribution of incoming traffic.
  9. Secret Manager: Secure and convenient storage for API keys, passwords, certificates, and other sensitive data.
  10. Certificate Manager: Automatic provisioning and management of SSL/TLS certificates.
  11. Auth0: Authentication and user management service.
  12. Cloud CDN: Content delivery network for serving static assets with low latency.

For more details on how these components interact, please refer to the System Design Document.

Clone this wiki locally