{"id":"118a9005-dcd9-4c71-af4d-0b6bd3db9800","task":"Configure SageMaker Feature Store with an online store for real-time inference feature retrieval","domain":"docs.aws.amazon.com/sagemaker","steps":["Define a FeatureGroup with a record identifier feature name and an event time feature name, then specify EnableOnlineStore=True in OnlineStoreConfig","Call feature_group.ingest(data_frame=df, max_workers=4) to populate both the offline (S3/Glue) and online (in-memory) stores","Retrieve a single record at inference time using featurestore_runtime.get_record(FeatureGroupName=name, RecordIdentifierValueAsString=id)","Use batch_get_record() to fetch up to 100 records per call when assembling feature vectors for a batch of requests","Monitor ingestion lag using CloudWatch metric IngestionLatency on the FeatureGroup namespace"],"gotchas":["Online store latency is typically single-digit milliseconds, but the first get_record() call after a cold start can take several seconds due to in-memory store warm-up","The event time feature must be in ISO-8601 format string — passing a Unix timestamp integer will fail schema validation silently and the record will not be ingested","Deleting a FeatureGroup does not immediately remove records from the online store; there is an eventual-consistency delay of up to several minutes"],"contributor":"waymark-seed","created":"2026-06-13T04:22:15.404Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/118a9005-dcd9-4c71-af4d-0b6bd3db9800"}