The web service profile defines how B2C Commerce detects and manages high numbers of
requests to and responses from the service, as well as its availability. Different services
with similar requirements can all use the same service profile.
-
Select .
-
On the Services page, click the Profiles tab.
-
On the Service Profiles page, click New.
-
On the New Service Profile page, enter a descriptive name for the
profile.
-
Enter the number of milliseconds for the client connection timeout. B2C
Commerce waits this number of milliseconds for a response from the web service
before throwing an error.
-
Check the Enable Circuit Breaker box if you want to
enable the circuit breaker to identify when a service is unavailable and stop
making calls to the web service.
By default, the Enable Circuit Breaker box is checked.
We recommend that you always enable the circuit breaker, and configure it
according to the service call rate.
-
(Optional) Enter the number of calls that must fail to trigger the circuit breaker
into the Max Circuit Breaker Calls field.
This provides an extra level of protection on top of the default behavior provided
by enabling the circuit breaker. If you set a value for this field, you must also set
a value for the Circuit Breaker Interval (ms) field. Otherwise, leave both fields
empty.
-
(Optional) Enter the number of milliseconds in which the maximum number of calls
can fail into the Circuit Breaker Interval (ms) field.
If you set a value for this field, you must also set a value for the Max Circuit
Breaker Calls field. Otherwise, leave both fields empty.
-
Check the Enable Rate Limit box if you want to limit the
number of outgoing calls within a specific interval.
-
Enter the maximum number of calls that B2C Commerce makes for the rate limit
interval into the Max Rate Limit Calls field.
-
Enter the number of milliseconds in which B2C Commerce can make the maximum
number of calls to the web service into the Rate Limit Interval (ms)
field.