Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

Resolving HTTP 504 timeouts during high-volume REST API & webhook payload syncs

flsc
Kilo Explorer

Hello ServiceNow Community,

We are optimizing background listener stability and remote REST API webhook syncs when integrating external sales data into enterprise pipelines.

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:

  1. Under heavy concurrent load spikes, background POST webhook listener sockets occasionally report HTTP 504 gateway timeout responses before acknowledging payload completion.

  2. Direct REST API requests to the same remote endpoint resolve normally under 150ms thresholds.

  3. Are there recommended network socket keep-alive settings, connection pooling, or retry queue configurations within MID Servers / Scripted REST APIs to handle high-volume data syncs?

Any advice on optimizing asynchronous background worker threads would be appreciated!

Thanks!

0 REPLIES 0