Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

          Deterministic routing - call methods of a service of a specific version (service of that version should be running)
          METHOD /v3/namespaces/<namespace-id>/apps/<app-id>/versions/<version-id>/services/<service-id>/methods/<method-name>
          Note: Deterministic routing through version-id in the REST API works only in SDK. In distributed mode, as a workaround, the routeconfig can be used to set 100% routing to a version that is desired. This will be fixed in 3.6.
 

          Configuration based Routing – configuration based routing will be used when the method call is made to non-versioned API:
          METHOD /v3/namespaces/<namespace-id>/apps/<app-id>/services/<service-id>/methods/<method-name>

          Say, if the configuration is : { "v1" : 30, "v2" : 30, "v3" : 40 } : 30% of requests are routed to version v1, 30% requests are routed to version v2, 40% requests are routed to v3

...