Quick question, has anyone seen this weird error? with our Predictive Outbound campaign configuration when subjecting it to concurrent load via JMeter. The goal is to validate the API throughput limits for the /api/v2/predictivedialing/campaigns endpoint before our peak season goes live in New York timezone.
The environment is Genesys Cloud version 2024-09. We are using the standard REST API to update campaign settings in real-time while the dialer is active. The JMeter script is configured with 50 concurrent threads, each performing a PUT request to update the max_concurrent_calls and target_interval parameters. Initially, the requests succeed with a 200 OK status. However, after approximately 45 seconds of sustained load, the response times spike dramatically, and we start receiving 503 Service Unavailable errors consistently.
The error payload indicates that the predictive engine is unable to process the configuration updates due to internal resource constraints. This is unexpected because our account tier supports significantly higher concurrency. We have verified that the WebSocket connections for the agents are stable and not hitting the connection limits. The issue seems isolated to the configuration update API endpoint under load.
We have tried adding a 200ms delay between requests in the JMeter script, which reduces the frequency of the 503 errors but does not eliminate them. The question is whether there is a specific rate limit or throttling mechanism on the predictive dialing configuration endpoints that is not documented in the standard API reference. Additionally, are there any best practices for updating campaign settings dynamically during active dialing sessions without triggering these service unavailable responses? We need to ensure our automated scaling scripts can handle rapid configuration changes without disrupting the outbound flow. Any insights into the internal queuing mechanism for these updates would be helpful.