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
Copy file name to clipboardExpand all lines: docs/tutorials/using-scalable-registry.md
+50-1Lines changed: 50 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,10 +33,59 @@ registry:
33
33
34
34
Specifically, the registry_type needs to be set to sql in the registry config block. On doing so, the path should refer to the [Database URL](https://docs.sqlalchemy.org/en/14/core/engines.html#database-urls) for the database to be used, as expected by SQLAlchemy. No other additional commands are currently needed to configure this registry.
35
35
36
+
Should you choose to use a database technology that is compatible with one of
37
+
Feast's supported registry backends, but which speaks a different dialect (e.g.
38
+
`cockroachdb`, which is compatible with `postgres`) then some further
39
+
intervention may be required on your part.
40
+
41
+
`SQLAlchemy`, used by the registry, may not be able to detect your database
42
+
version without first updating your DSN scheme to the appropriate
If you are running Feast in Kubernetes, set the `image.repository` and
83
+
`imagePullSecrets`Helm values accordingly to utilize your custom image.
84
+
36
85
There are some things to note about how the SQL registry works:
37
86
- Once instantiated, the Registry ensures the tables needed to store data exist, and creates them if they do not.
38
87
- Upon tearing down the feast project, the registry ensures that the tables are dropped from the database.
39
88
- The schema for how data is laid out in tables can be found . It is intentionally simple, storing the serialized protobuf versions of each Feast object keyed by its name.
40
89
41
90
## Example Usage: Concurrent materialization
42
-
The SQL Registry should be used when materializing feature views concurrently to ensure correctness of data in the registry. This can be achieved by simply running feast materialize or feature_store.materialize multiple times using a correctly configured feature_store.yaml. This will make each materialization process talk to the registry database concurrently, and ensure the metadata updates are serialized.
91
+
The SQL Registry should be used when materializing feature views concurrently to ensure correctness of data in the registry. This can be achieved by simply running feast materialize or feature_store.materialize multiple times using a correctly configured feature_store.yaml. This will make each materialization process talk to the registry database concurrently, and ensure the metadata updates are serialized.
0 commit comments