Skip to content
  • Alex Ellis (VMware)'s avatar
    e67d45ca
    Add feature: scale from zero to 1 replicas · e67d45ca
    Alex Ellis (VMware) authored
    
    
    This change allows functions to be "idled" or scaled to zero
    replicas and then be invoked later on. There is a penalty to
    scaling up - the API gateway proxy will block until the function
    is ready.
    
    A cache is included to off-set the calls to upstream API to check
    on readiness along with unit tests.
    
    Testing via scaling to zero replicas and then invoking function.
    On Swarm I observed 3 seconds on an Intel Nuc i5 for scaling back
    from zero replicas.
    
    Signed-off-by: default avatarAlex Ellis (VMware) <alexellis2@gmail.com>
    e67d45ca
    Add feature: scale from zero to 1 replicas
    Alex Ellis (VMware) authored
    
    
    This change allows functions to be "idled" or scaled to zero
    replicas and then be invoked later on. There is a penalty to
    scaling up - the API gateway proxy will block until the function
    is ready.
    
    A cache is included to off-set the calls to upstream API to check
    on readiness along with unit tests.
    
    Testing via scaling to zero replicas and then invoking function.
    On Swarm I observed 3 seconds on an Intel Nuc i5 for scaling back
    from zero replicas.
    
    Signed-off-by: default avatarAlex Ellis (VMware) <alexellis2@gmail.com>
Loading