Skip to content

Commit 2f2aa1f

Browse files
committed
Add productionization notes for module 3
Signed-off-by: Danny Chiao <danny@tecton.ai>
1 parent 96edc3d commit 2f2aa1f

2 files changed

Lines changed: 10 additions & 16 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,8 @@ Since we'll be learning how to leverage Feast in CI/CD, you'll also need to fork
4747
These are meant mostly to be done in order, with examples building on previous concepts.
4848

4949
| Time (min) | Description | Module&nbsp;&nbsp;&nbsp; |
50-
| :--------: | :------------------------------------------------------------------------------- | :----------------------------- |
50+
|:----------:|:---------------------------------------------------------------------------------|:-------------------------------|
5151
| 30-45 | Setting up Feast projects & CI/CD + powering batch predictions | [Module 0](module_0/README.md) |
5252
| 15-20 | Streaming ingestion & online feature retrieval with Kafka, Spark, Airflow, Redis | [Module 1](module_1/README.md) |
5353
| 10-15 | Real-time feature engineering with on demand transformations | [Module 2](module_2/README.md) |
54-
| TBD | Feature server deployment (embed, as a service, AWS Lambda) | TBD |
55-
| TBD | Versioning features / models in Feast | TBD |
56-
| TBD | Data quality monitoring in Feast | TBD |
57-
| TBD | Batch transformations | TBD |
58-
| TBD | Stream transformations | TBD |
54+
| 30 | (WIP) Orchestrated batch transformations using dbt + Airflow with Feast | [Module 3](module_3/README.md) |

‎module_3/README.md‎

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -200,13 +200,11 @@ Feast abstracts away the need to think about data modeling in the online store a
200200

201201
# FAQ
202202

203-
### How do you synchronize materialized features with pushed features from streaming?
204-
This relies on individual online store implementations. The existing Redis online store implementation for example will check timestamps of incoming events and prefer the latest version.
205-
206-
Doing this event timestamp checking is expensive though and slows down writes. In many cases, this is not preferred. Databases often support storing multiple versions of the same value, so you can leverage that (+ TTLs) to query the most recent version at read time.
207-
208-
### Does Feast allow pushing features to the offline store?
209-
Yes! See more details at https://docs.feast.dev/reference/data-sources/push#pushing-data
210-
211-
### Can feature / push servers refresh their registry in response to an event? e.g. after a PR merges and `feast apply` is run?
212-
Unfortunately, currently the servers don't support this. Feel free to contribute a PR though to enable this! The tricky part here is that Feast would need to keep track of these servers in the registry (or in some other way), which is not the way Feast is currently designed.
203+
### How does this work in production?
204+
Several things change:
205+
- All credentials are secured as secrets
206+
- dbt models are version controlled
207+
- Production deployment of Airflow (e.g. syncing with a Git repository of DAGs, using k8s)
208+
- Bundling dbt models with Airflow (e.g. via S3 like this [MWAA + dbt guide](https://docs.aws.amazon.com/mwaa/latest/userguide/samples-dbt.html))
209+
- Airflow DAG parallelizes across feature views (instead of running a single `feature_store.materialize` across all feature views)
210+
- Feast materialization is configured to be more scalable (e.g. using other Feast batch materialization engines [Bytewax](https://docs.feast.dev/reference/batch-materialization/bytewax), [Snowflake](https://docs.feast.dev/reference/batch-materialization/snowflake), [Lambda](https://rtd.feast.dev/en/master/index.html?highlight=LambdaMaterializationEngine#feast.infra.materialization.aws_lambda.lambda_engine.LambdaMaterializationEngine), [Spark](https://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/materialization/contrib/spark/spark_materialization_engine.py))

0 commit comments

Comments
 (0)