06 creating new services
Optional Exercise: Updating a Service
If we want to make changes to the Feature Repository - for example, creating a new Feature Package, updating an existing Feature Service, or creating a new Feature Service - that is done locally. Here we'll walk through the approach that is recommended to make safe updates for new Feature Services.
Instructions for Updating a Feature Service
- View your local Feature Store Configuration in your terminal, and in particularly the Feature Service we just reviewed. This is located within the
/sharedfolder in your Feature Store Configuration. Open it by calling
- Reviewing the
ctr_prediction_serviceobject, you can see that
online_servinghas been enabled and the feature packages listed here are the same as the Web UI.
- Attempt to add a new Feature Package to this Service,
- Once the change has been made, call
tecton planto test the changes. It is making a comparison to the Configuration that exists in the Tecton environment.
- Notice that adding a new Feature Package to an existing Feature Service causes the Feature Service to be recreated. Since this model could be used in production, it's important to consider the negative implications of changing this object.
- Reset the object
ctr_prediction_serviceto its original state and create a challenger Feature Service for building a different model that includes
ad_group_ctr_performance. Name this new object
tecton planand note that no object is being recreated. Call
tecton applyto apply your changes to the Tecton environment and see that the update has been made via your Web UI.