Service profile timeout, circuit breaker and rate limit settings
Key Takeaway
A web service's timeout (in milliseconds), circuit breaker, and rate limit are all set in a service profile. Create the profile before the service configuration that selects it.
A service profile is a reusable set of Business Manager settings that controls how B2C Commerce protects a site from slow, overloaded, or failing external web services. Each profile holds three settings: a timeout, a circuit breaker that stops calling a service after too many failures, and a rate limit that caps how many calls go out in a time window.
Where the service profile fits
Every web service in the B2C Commerce web service framework needs three Business Manager configurations: a service configuration, a service credential, and a service profile. The service profile decides how B2C Commerce handles timeouts, rate limits, and service availability. Several services with similar needs can share one profile.
A site calls a tax service and an address check service while the shopper waits at checkout. Both are synchronous storefront calls that need a quick answer. One profile for synchronous storefront calls, with a timeout of, say, 1,000 ms, can serve both service configurations.