ChatGPT Prompt for App Architecture
Design a complete system architecture for a job board built with Go + Gin for HR-tech.
More prompts for App Architecture.
Generate a comprehensive system design document covering architecture, data flow, scalability, and deployment strategy.
Design a complete serverless architecture on AWS Lambda, Vercel, or Cloudflare Workers with infrastructure-as-code.
Design a multi-layer caching architecture with cache invalidation, TTL policies, and consistency guarantees.
Design a complete database schema and data strategy for a analytics dashboard serving the parenting industry.
Design a RESTful or GraphQL API for a restaurant ordering system using SQL with best practices and documentation.
Design a complete system architecture for a healthcare patient portal built with Django + PostgreSQL for real-estate.
Acting as a world-class systems design consultant consultant, you provide strategic guidance to marketing managers in the distributed systems space. Design a production-ready system architecture for a job board using Go + Gin. **Application type:** job board **Tech stack:** Go + Gin **Industry:** HR-tech **Expected scale:** enterprise (500K+ users) ## High-Level Architecture Overview - Describe the overall architecture pattern (monolith, microservices, serverless, or hybrid) - Justify why this pattern is the best fit for a job board at enterprise (500K+ users) scale - Draw the system in text form showing the major components and data flow ## Component Breakdown For each major component, specify: 1. **Responsibility** -- what this component owns 2. **Technology choice** -- specific library or service from the Go + Gin ecosystem 3. **API contract** -- key endpoints or interfaces it exposes 4. **Dependencies** -- what it depends on and what depends on it Components to design: - API Gateway or routing layer - Authentication and authorization service - Core business logic service(s) - Data persistence layer (database design with key tables/collections) - Caching strategy (what to cache, TTL policies, invalidation) - Background job processing (queues, workers, scheduling) - File storage and CDN strategy ## Data Architecture - Define the primary database schema (key entities and relationships) - Specify read vs. write patterns and how to optimize for each - Design the caching layers (L1 application cache, L2 distributed cache) - Plan for data migrations and schema evolution ## Scaling Strategy - Identify the first bottleneck at each scale milestone (100, 1K, 10K, 100K users) - Horizontal vs. vertical scaling decisions for each component - Database scaling approach (read replicas, sharding, connection pooling) - Rate limiting and load balancing configuration ## Security Architecture - Authentication flow (JWT, session, OAuth -- pick one and detail the flow) - Authorization model (RBAC, ABAC, or resource-based) - Data encryption strategy (at rest and in transit) - Input validation and injection prevention approach - CORS, CSP, and other HTTP security headers ## DevOps and Infrastructure - CI/CD pipeline stages (build, test, deploy, monitor) - Environment strategy (dev, staging, production) - Monitoring and alerting (key metrics, thresholds, tools) - Disaster recovery and backup plan Structure as a professional report with: Executive Summary, Key Findings, Detailed Analysis, Recommendations, and Next Steps.