https://github.com/feast-dev/feast-load-test-proxy
https://github.com/feast-dev/feast-load-test-proxy
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/feast-dev/feast-load-test-proxy
- Owner: feast-dev
- Created: 2020-07-24T05:53:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-08-02T17:32:24.000Z (over 3 years ago)
- Last Synced: 2025-04-12T15:57:43.390Z (9 months ago)
- Language: Go
- Size: 34.2 KB
- Stars: 0
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Feast Load Test Proxy
## Deprecation
Note that this repo is out of date. Please see [here](https://github.com/feast-dev/feast-benchmarks) for the latest benchmarks.
## Load test
This simple Go service generates load as part of the Feast testing suite. It sits between an HTTP based load testing tool as follows:
```
[Load Testing Tool] --(http)--> [Feast Load Test Proxy] --(grpc)--> [Feast Serving]
```
### Usage
Create a specification file for the load. Refer to the example specification for details.
```
LOAD_SPECIFICATION_PATH=example/loadSpec.yml
```
Start the proxy
```
LOAD_FEAST_SERVING_HOST=feast.serving.example.com LOAD_FEAST_SERVING_PORT=6566 go run main.go
```
```
2020/07/24 14:00:02 Creating client to connect to Feast Serving at localhost:6566
2020/07/24 14:00:02 Starting server on port:8080
```
The following command simply echos the version of Feast Serving. Useful for testing network latency
```
curl localhost:8080/echo
```
This command will send a single or multiple GetOnlineFeatures request(s) depending on the load specification.
```
curl localhost:8080/send
```