Skip to content
  • Alex Ellis (VMware)'s avatar
    9512f09d
    Refactor scaling to use existing code · 9512f09d
    Alex Ellis (VMware) authored
    
    
    Existing code has been used for scaling up and querying replicas.
    This meant the new code was deleted and there is less duplication
    now.
    
    The cache store a whole query response rather than just the
    available replica count and the tests were updated. This has been
    tested with Docker swarm and the image:
     openfaas/gateway:scale-17-07-2018
    
    This feature now needs the env-var of scale_from_zero to be enabled
    in order to turn on the scaling behaviour.
    
    Signed-off-by: default avatarAlex Ellis (VMware) <alexellis2@gmail.com>
    9512f09d
    Refactor scaling to use existing code
    Alex Ellis (VMware) authored
    
    
    Existing code has been used for scaling up and querying replicas.
    This meant the new code was deleted and there is less duplication
    now.
    
    The cache store a whole query response rather than just the
    available replica count and the tests were updated. This has been
    tested with Docker swarm and the image:
     openfaas/gateway:scale-17-07-2018
    
    This feature now needs the env-var of scale_from_zero to be enabled
    in order to turn on the scaling behaviour.
    
    Signed-off-by: default avatarAlex Ellis (VMware) <alexellis2@gmail.com>
Loading