Submit AI Tools - Directory
Coding gpt-5.0 ⭐ Featured

Rust Chat System: Design & Code

Design a scalable real-time chat system with Rust, Actix, and PostgreSQL. Get code, architecture, and deployment strategies now!

9.6

Performance Score

2,881ms response time
65 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 Rust + Actix + PostgreSQL.

ARCHITECTURE REQUIREMENTS:
- Technology: Rust + Actix + PostgreSQL
- Features: message persistence
- Scale: 1M concurrent users

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.

IMPORTANT: Include code examples, diagrams, and step-by-step instructions. [Ref: 2aa0a612]

Tags

design complete system architecture documentation
Share: