Queueing of Server-Side Actions
The batching of actions is also known as boxcar’ing, similar to a train that couples boxcars together.
Multiple actions sent in the same boxcar are processed in one transaction.
The framework uses a stack to track the actions to send to the server. When the browser finishes processing events and JavaScript on the client, the enqueued actions on the stack are sent to the server in a batch.
There are some properties that you can set on an action to influence how the framework manages the action while it’s in the queue waiting to be sent to the server. For more information, see:
Action Limit in a Boxcar Request
The framework returns a 413 HTTP response status code if there are more than 250 actions in a boxcar request. If a user sees this rare error, consider redesigning your custom component to follow best practices and reduce the number of actions in a request.