1. Home
  2. Platform General
  3. Champion Challenger
  4. Champion Challenger in FlexRule Server
  1. Home
  2. FlexRule Server
  3. Scheduling
  4. Champion Challenger in FlexRule Server

Champion Challenger in FlexRule Server

◷ Reading Time: 3 minutes

Champion Challenger is a way to allow execution of multiple services within a package. It relies on a weighting applied to each service of the package.

The weighting relates to the number of executions sent to that specific service as a proportion of all executions of the package services. It is tied loosely to a percentage of executions as part of the greater whole.

Champion challenger can be useful for testing services. An updated service can be tested with a subset of the requests rather than sending all requests to the one updated service.

How to Setup Champion-Challenger

To set up Champion challenger navigate to the package containing your service versions. You should have multiple service versions under a single package to use Champion Challenger.

Workbench Package Services view showing available services within the selected package

Now choose Use Champion-Challenger option from the actions drop-down menu to define that is the scheduling being used for multiple services.

Package services dropdown showing Use Champion Challenger selected

Then select Edit a service from the Actions menu to assign the weighting.

Workbench Package Services view showing available services within the selected package. The actions menu dropdown is open and edit is highlighted

Now select the Options tab and navigate to the weight field and input a value for weight of the service.

Workbench Package Services edit view showing the options tab highlighted

Then add a value for Weight.

Workbench Package Services edit view showing detail of the options tab with a Champion challenger weight entered

Finally click on Update to save the weight assigned.

Detail of the Workbench Package Services edit view showing the Update button selected

Now repeat the previous steps to add Weight to all service versions in the package.

Workbench Package Services view with the wight column highlighted showing a weight applied to each service

When you execute your service, you will notice that a proportion of requests will go to each service version based on the weights that have been set.

Updated on September 28, 2023

Was this article helpful?

Related Articles