Hello CyberSource Developer Community,
We are testing background listener stability and remote webhook payload handling when integrating payment gateway telemetry endpoints into automated systems.
Technical Setup:
Our integration architecture at Frontline Sales Consultancy (flsc.co.uk) triggers automated B2B notifications and REST API syncs over HTTPS (TLS 1.3).
The Issue We're Facing:
Under heavy concurrent load spikes, background POST webhook listener sockets occasionally report HTTP 504 gateway timeout responses before acknowledging payload completion.
Direct REST API requests to the same remote host resolve normally under 150ms thresholds.
Are there recommended network socket keep-alive settings or queue worker retries to prevent connection drops during high-volume data syncs?
Any advice on managing asynchronous background worker threads would be appreciated!
Thanks!
09-02-2026 03:04 AM
A 504 under heavy concurrent load usually points more toward the gateway or worker queue timing out than the API itself. I’d check the proxy timeout values, connection pool limits, and how quickly the webhook handler acknowledges requests. It can also help to queue the payload first and process it in the background, with retries and backoff for failed jobs. Keeping the webhook response fast usually makes a big difference during traffic spikes.
09-02-2026 04:02 AM