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
Related Prompts
Coding
9.9
PHP Laravel Data Migration with Payment Processing
You are an expert software developer. Create a data migration using PHP Laravel that implements payment processing. Incl...
242
4
gemini-3.0-plus
Data Analysis
9.9
Build a Financial Recommendation Engine in Python v2
You are a business analyst. Design a recommendation engine for analyzing financial transactions using Python pandas. Inc...
147
0
gpt-5.0
Customer Service
9.9
Crisis Communication Templates for CX v3
You are a CX consultant. Create response templates for crisis communication. Include specific language examples, tone gu...
138
0
gpt-5.0
Coding
9.9
Microservices SaaS Architecture: Code & Deploy v3
You are a senior software architect specializing in microservices. Design and implement a complete SaaS platform using m...
157
0
claude-4-sonnet