-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Description
We've observed significant performance degradation when the service attempts to generate more than 50 party parrots simultaneously. Response times increase from ~200ms to over 5 seconds under high load.
Steps to Reproduce
- Send concurrent requests to
/api/generate-parrotendpoint - Increase concurrent requests beyond 50
- Observe response time degradation
Expected Behavior
The service should handle concurrent requests efficiently with consistent response times, regardless of load (within reasonable limits).
Actual Behavior
- Response times increase exponentially with load
- Memory usage spikes significantly
- Some requests timeout after 10 seconds
Environment
- Service version: 1.2.3
- Node.js version: 18.x
- Deployment: Kubernetes cluster
- Load: 50-100 concurrent requests
Potential Impact
This issue affects user experience during peak usage times, particularly during celebrations or viral moments when party parrot demand is highest.
Suggested Investigation Areas
- Check for memory leaks in the GIF generation process
- Review connection pooling for image processing
- Investigate potential bottlenecks in the rendering pipeline
- Consider implementing request queuing or rate limiting
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels