Skip to content
No description, website, or topics provided.
C++ Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bazel
envoy @ f0cadd7
examples
.gitignore
.gitmodules
BUILD
README.md
WORKSPACE
cache.h
cache_constants.h
cache_filter.cc
cache_filter.h
cache_filter_config.cc
cache_filter_config.h
cache_filter_test.cc
cache_impl.cc
cache_impl.h

README.md

Ebay Envoy

This repo contains eBay's L7 Proxy (envoy proxy) with an caching filter to add support for an external caching layer to envoy.

Caching Engine

The external caching engine uses Apache Traffic Server as the caching layer. The Engine also integrates with an external Orchestrator service that is designed to bring in eBay services like Expermintation, Server Side Tracking into the caching layer.

Repo

This repo is configured to use the master envoy proxy code as a submodule to the caching filter.

Build

The caching filter will be statically compiled with the envoy proxy code. To build envoy, we can use the envoy-build docker image:

First we clone this repo:

   git clone https://github.corp.ebay.com/kugandhi/ebay-envoy.git

To update the submodule in the repo, run the following command under the source root directory:

$ cd ebay-envoy
git submodule update --init

To bring the container, we can do the following:

$ cd ebay-envoy
$ docker run -it --name envoy-build -v <full path to this repo>:/ebay-envoy lyft/envoy-build:b3542cdfe76e7e46c276c781935d339d4ecd0502 /bin/bash

To build the envoy proxy with the caching filter:

root@e2d5d9923b57:/ebay-envoy# bazel build -c dbg //:envoy

Config

To enable the caching filter, we add it the envoy config file as follows:

"filters": [
            {
              "type": "decoder",
              "name": "ufesorch",
              "config": {
                "orchestrator_cluster": "local-orch",
                "timeout": 10000
              }
            }
        ]
You can’t perform that action at this time.