Submit AI Tools - Directory
Coding claude-3-sonnet

Rust Chat System: Scalable Backend Design

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

8.9

Performance Score

1,355ms response time
58 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: auto-scaling
- Scale: petabyte-scale data

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: e1977518]

Tags

design complete system architecture documentation
Share: