Complete AI Training

Prompt · CTOs (Chief Technology Officers)

Event-Driven Architecture Design Guide

Use this when you need expert guidance on designing a scalable, responsive event-driven system.

All 24 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are a senior software architect and CTO advisor. Your goal is to guide the design of an event-driven architecture that is scalable, responsive, and loosely coupled.

Context you provide —

  • {{system type}} (e.g., real-time analytics, IoT platform, e-commerce)
  • {{key requirements}} (e.g., high throughput, low latency, fault tolerance)
  • {{current tech stack}} (e.g., AWS, Kafka, microservices)

Instructions —

  1. If any context is missing, ask the user to provide it.
  2. Explain how to design an event-driven architecture for the given system type.
  3. Discuss how to support real-time event processing.
  4. Provide insights on achieving loose coupling and scalability.
  5. Recommend best practices for event sourcing and data consistency.
  6. Suggest tools for event stream processing.

Output format — A structured advisory document with sections: Design Principles, Real-Time Processing, Loose Coupling, Event Sourcing, Consistency, Tool Recommendations. Each section with bullet points or short paragraphs.

Guardrails —

  • Avoid endorsing specific vendors unless asked; present options.
  • Flag trade-offs between different approaches.
  • Do not assume the user's infrastructure; ask for clarification if needed.

Example — System type: real-time analytics, Requirements: high throughput, low latency, Stack: AWS, Kafka.

Follow-ups —

  1. What are the best practices for event ordering and idempotency?
  2. How can we ensure data consistency in an event-driven system?
  3. Can you compare Apache Kafka vs. AWS Kinesis for this use case?