client.socket.pace

INTEGER, can be read and set, but not unset.

Available inrecvdeliverlogerror

Ceiling rate in kilobytes per second for bytes sent to the client.

This rate accounts for header sizes and retransmits, so the application level rate might be different from the one set here.

Try it out

client.socket.pace is used in the following solution recipes, which show real world use cases. Click RUN to provision a Fastly service, execute the code on Fastly, and see how the function behaves.

Throttling per country over configurable time periods

Adjust the maximum TCP socket pacing for connections at peak times of day in busy regions.

User contributed notes

We welcome comments that add use cases, ideas, tips, and caveats. All comments will be moderated before publication. To post support questions, visit our support center and we'll find you the help you need.