feast-gridgain
This package enables the use of Apache Ignite or GridGain as an online store for Feast, providing high-performance, in-memory data storage and retrieval for feature serving.
Table of Contents
Features
- Ignite/GridGain Integration: Leverages Ignite's in-memory database to provide online features for real-time model predictions.
- Feature Management: Feast manages feature definitions, versioning, and the synchronization between online and offline stores.
Project Structure
The project consists of two main components:
- Ignite Online Store (
online_store.py): Sets up Apache Ignite as the online feature store. - GridGain Online Store (
gridgain_online_store.py): Configures GridGain as the online feature store.
Both implementations provide similar functionality but are tailored to their respective systems.
Setup Instructions
Prerequisites
- Python 3.11.7
- Running Apache Ignite or GridGain cluster
Installation
Install the package using pip:
pip install feast-gridgain
API Reference
IgniteOnlineStore / GridGainOnlineStore
Both classes implement the following methods:
online_read(config, table, entity_keys, requested_features): Reads feature values from the online store.online_write_batch(config, table, data, progress): Writes a batch of feature data to the online store.update(config, tables_to_delete, tables_to_keep, entities_to_delete, entities_to_keep, partial): Updates the online store based on changes to the feature repository.teardown(config, tables, entities): Cleans up the online store.
For detailed information on these methods, refer to the docstrings in the source code.
Documentation
For an up-to-date documentation, see the GridGain Docs.
Example
For a comprehensive, real-world example of how to use this package, please refer to the following GitHub repository:
CGM Ignite Feast Kafka Example
This repository provides a detailed implementation that demonstrates the integration of Ignite Online Store with Feast in a Continuous Glucose Monitoring (CGM) use case. It includes examples of configuration, feature definitions, and usage in different environments.
Metadata
Release files for feast-gridgain 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| feast_gridgain-1.0.0.tar.gz | 15.7 kB | Without provenance | Details for feast_gridgain-1.0.0.tar.gz |
Release files / feast_gridgain-1.0.0.tar.gz
| Download URL | feast_gridgain-1.0.0.tar.gz |
|---|---|
| Size | 15.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb8622cae966c6f7b65f830b8a71398e47d7f54bbbdf8d82643ec090c9160d27
|
|
BLAKE2b-256 checksum How to use checksums |
713c3522bace6e270c9b8ae304fc0d7f251d70c0062ed428d23b65990996ba4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.12
|
Security for feast-gridgain 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.