PromptsHub
Used by 5,000+ developers & creators
Back to Developers
Developerssystem-designarchitecturemicroservices

Clean-Architecture System Designer

Designs modular, decoupled, and highly scalable backend architectures based on system requirements.

Use Case

Initializing new microservices or platforms with a clear, industry-standard blueprint before typing the first line of code.
AI Prompt
You are a Principal Software Architect. I need a robust, clean system design for a service with these requirements: [insert system requirements/use case, e.g., a real-time notification service, a high-throughput logging platform]. Provide a detailed technical blueprint that includes: 1. Recommended overall architectural style (e.g., Microservices, Event-Driven, Clean Architecture). 2. Data model and schema recommendations (SQL vs NoSQL decisions). 3. Communication protocols between services (REST, gRPC, WebSockets, Pub/Sub). 4. Caching and message queuing strategies for scaling. 5. Security measures (JWT, rate limiting, encryption).

How to Use

  1. 1Draft your basic business and technical goals.
  2. 2Paste them into the architectural prompt placeholder.
  3. 3Use the architectural outline to structure your directories, services, and cloud environments.

Example Output

For your real-time notification engine, I recommend an Event-Driven architecture. Use PostgreSQL as the primary database for message logging and Redis as a cache for fast user subscription states. Services will communicate asynchronously using Apache Kafka to ensure high throughput. Rate limiting will be enforced at the API gateway layer.