Skip to content
Snippets Groups Projects
  • Alex Ellis's avatar
    0c7e59fe
    Add direct_functions mode to gateway for tuning · 0c7e59fe
    Alex Ellis authored
    
    Adds a pair of configuration options for performance tuning. The
    gateway can now invoke functions directly and can bypass the
    provider. See updated table in README.md for configuration values.
    
    BaseURLResolver is added with unit tests that decouples resolving
    upstream URL from the reverse proxy client code.
    
    - SingleHostBaseURLResolver resolves a single upstream host
    - FunctionAsHostBaseURLResolver resolves host based upon conventions
    within the URL of the request to a function for direct access
    
    Tested with Kubernetes (faas-netes) and faas-swarm through UI, CLI
    calling system endpoints and functions directly.
    
    Signed-off-by: default avatarAlex Ellis (VMware) <alexellis2@gmail.com>
    0c7e59fe
    History
    Add direct_functions mode to gateway for tuning
    Alex Ellis authored
    
    Adds a pair of configuration options for performance tuning. The
    gateway can now invoke functions directly and can bypass the
    provider. See updated table in README.md for configuration values.
    
    BaseURLResolver is added with unit tests that decouples resolving
    upstream URL from the reverse proxy client code.
    
    - SingleHostBaseURLResolver resolves a single upstream host
    - FunctionAsHostBaseURLResolver resolves host based upon conventions
    within the URL of the request to a function for direct access
    
    Tested with Kubernetes (faas-netes) and faas-swarm through UI, CLI
    calling system endpoints and functions directly.
    
    Signed-off-by: default avatarAlex Ellis (VMware) <alexellis2@gmail.com>