You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sed -i 's/localhost:6379/redis:6379/g' feature_store.yaml # make sure to change this back, since it can mess up with feature servers if you run another docker-compose command later.
57
57
```
58
58
59
-
4.Run Benchmarks
59
+
4.Check that feature servers are working & they have materialized data
60
60
```
61
-
cd ../..
61
+
cd ../../..
62
+
parquet-tools show --columns entity generated_data.parquet 2>/dev/null | head -n 6
63
+
```
64
+
This should return something like this:
65
+
```
66
+
+----------+
67
+
| entity |
68
+
|----------|
69
+
| 94 |
70
+
| 1992 |
71
+
| 4475 |
72
+
```
73
+
Take your 3 numbers and replace in this query:
74
+
```
75
+
curl -X POST \
76
+
"http://127.0.0.1:6566/get-online-features" \
77
+
-H "accept: application/json" \
78
+
-d '{
79
+
"feature_service": "feature_service_0",
80
+
"entities": {
81
+
"entity": [94, 1992, 4475]
82
+
}
83
+
}' | jq
84
+
```
85
+
86
+
In the output, make sure that `"values"` field contains none of the null values. It should look something like this:
87
+
```
88
+
{
89
+
"values": [
90
+
4475,
91
+
1551,
92
+
9889,
93
+
```
94
+
95
+
5. Run Benchmarks
96
+
```
97
+
cd python
62
98
./run-benchmark.sh
63
99
```
64
100
65
101
## AWS DynamoDB
66
102
67
-
TODO
103
+
For this benchmark, you'll need to have AWS credentials configured in `~/.aws/credentials`.
104
+
105
+
1. Apply feature definitions to create a Feast repo.
106
+
```
107
+
cd feature_repos/dynamo
108
+
feast apply
109
+
```
110
+
111
+
2. Deploy feature servers using docker-compose
112
+
```
113
+
cd ../../docker/dynamo
114
+
docker-compose up -d
115
+
```
116
+
If everything goes well, you should see an output like this:
0 commit comments