Submit AI Tools - Directory
Coding gpt-3.5-turbo ⭐ Featured

Go, gRPC, Kafka Chat System: Scalable Backend v2

Design a scalable real-time chat system using Go, gRPC, and Kafka. Get a production-ready backend with architecture, code, and documentation!

9.3

Performance Score

1,136ms response time
60 views
0 copies
Last tested: 5 months ago

The Prompt

You are a senior backend engineer. Design and implement a complete, scalable real-time chat system using Go + gRPC + Kafka.

ARCHITECTURE REQUIREMENTS:
- Technology: Go + gRPC + Kafka
- Features: presence tracking
- Scale: 100K events/second

IMPLEMENTATION REQUIREMENTS:
1. Complete system architecture with diagrams
2. API design (REST/GraphQL/gRPC)
3. Real-time communication setup
4. Database design (SQL/NoSQL/hybrid)
5. Caching strategy (Redis/Memcached)
6. Message queue implementation
7. Authentication and authorization
8. Rate limiting and DDoS protection
9. Monitoring and alerting
10. Load testing and optimization
11. Deployment strategy (Docker, Kubernetes)
12. Disaster recovery plan

DELIVERABLES:
- Complete backend codebase
- API documentation
- Database schemas
- Infrastructure as Code (Terraform/CloudFormation)
- Docker/Kubernetes configs
- Monitoring dashboards
- Load testing scripts
- Architecture documentation

Generate a production-ready, scalable system with all components, documentation, and best practices.

BONUS: Add troubleshooting section and common pitfalls to avoid.

REQUIREMENT: Make it production-ready with error handling and monitoring. [Ref: 80c3c6b9]

Tags

design complete system grpc architecture
Share: