diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index 004e233cd01..a688f6f7e16 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -222,6 +222,8 @@ ## Project +* [Feast + Chronon: Feature Store Summit presentation](presentations/feast-chronon-summit/README.md) + * [Contribution process](project/contributing.md) * [Development guide](project/development-guide.md) * [Backwards Compatibility Policy](project/compatibility.md) diff --git a/docs/presentations/feast-chronon-summit/README.md b/docs/presentations/feast-chronon-summit/README.md new file mode 100644 index 00000000000..fc3d3442aa8 --- /dev/null +++ b/docs/presentations/feast-chronon-summit/README.md @@ -0,0 +1,51 @@ +# Feast + Chronon: Feature Store Summit + +Download [feast-chronon-summit.html](feast-chronon-summit.html) and open it in a modern desktop browser. GitHub displays the HTML source; use **Download raw file** to save the deck. The file contains all 22 slides, the video, the poster, styles, and speaker notes. It requires no CDN or internet connection for the deck itself. External source links require internet access. + +The main talk has 20 slides, followed by two appendix slides, and is designed for approximately 20 minutes plus questions. [Speaker notes](speaker-notes.md) are a separate readable copy of the embedded notes. + +## Controls + +- Arrow keys, Page Up / Page Down, or Space: move between slides. +- Home / End: first / last slide. +- N: show or hide speaker notes and citations. +- O: slide overview. Escape closes it. +- F: request fullscreen where the browser permits it. +- B: blank the screen. B or Escape restores the slide. +- P / Presenter: open a separate notes window where popups are supported. +- The embedded video has its own playback and fullscreen controls. Advancing the deck pauses it. +- Browser Print uses one slide per page. Video appears as a poster in printed output. + +Browser panels embedded in other applications may restrict fullscreen, popup windows, or local file access. The normal Notes panel works without a popup. + +## Scope + +The presentation discusses a proposed integration, Feast PR #6188, at commit `55873756b36d8b73c277c7971959aa8dc3fb9649`. The embedded recording remains pinned to the earlier demo commit `fc3c683d9`. PR status and public documentation were checked September 14, 2026. The embedded demo was recorded September 13, 2026. It shows real Chronon/MongoDB online retrieval and a generated Parquet sample for offline retrieval. + +The 39 passing tests and 30 matched feature values are results of the focused local verification. They are not performance benchmarks or a claim of full production readiness. Slides and notes separate measured results from architectural benefits and production validation recommendations. + +The checkout section includes annotated code excerpts and an actual Feast UI screenshot of the registered checkout FeatureService. The UI screenshot is embedded in the HTML and shows registry metadata, not live values or Chronon job status. + +The current adapter adds explicit online service errors, opt-in HTTP retries, Parquet column selection, saved datasets, and local on-demand transforms. These changes passed 68 targeted unit tests and seven offline/HTTP-stub integration tests, plus lint/format and type checking. The recording’s 39-test result remains its original September 13 evidence. + +## Edit and rebuild + +Run from the repository root with Python 3.10+ (standard library only; no Feast installation or running Chronon service required): + +```bash +python3 docs/presentations/feast-chronon-summit/build_deck.py +``` + +Edit `build_deck.py` to change the slide content, speaker notes, styles, or navigation. The build regenerates `feast-chronon-summit.html`, `speaker-notes.md`, and `deck-content.json` beside the script. Commit the regenerated files together with the source. + +The `assets/` directory contains the original demo recording, video poster, and Feast UI screenshot. The build embeds these in the standalone HTML, so only the HTML is needed to present offline. The recording is silent; speaker notes provide narration context. The source media are retained separately to make rebuilding possible. + +For a local HTTP preview, run from the repository root: + +```bash +python3 -m http.server 8766 --bind 127.0.0.1 --directory docs/presentations/feast-chronon-summit +``` + +Then open . + +The deck is a dated presentation snapshot, not the current compatibility reference. Its sources link to pinned revisions of [integration PR #6188](https://github.com/feast-dev/feast/pull/6188); the demo and implementation claims intentionally reference different revisions as described above. diff --git a/docs/presentations/feast-chronon-summit/assets/feast-checkout-service.png b/docs/presentations/feast-chronon-summit/assets/feast-checkout-service.png new file mode 100644 index 00000000000..8612e2c76ca Binary files /dev/null and b/docs/presentations/feast-chronon-summit/assets/feast-checkout-service.png differ diff --git a/docs/presentations/feast-chronon-summit/assets/feast-chronon-demo.mp4 b/docs/presentations/feast-chronon-summit/assets/feast-chronon-demo.mp4 new file mode 100644 index 00000000000..f54f13e203e Binary files /dev/null and b/docs/presentations/feast-chronon-summit/assets/feast-chronon-demo.mp4 differ diff --git a/docs/presentations/feast-chronon-summit/assets/poster.png b/docs/presentations/feast-chronon-summit/assets/poster.png new file mode 100644 index 00000000000..6ddf7b58311 Binary files /dev/null and b/docs/presentations/feast-chronon-summit/assets/poster.png differ diff --git a/docs/presentations/feast-chronon-summit/build_deck.py b/docs/presentations/feast-chronon-summit/build_deck.py new file mode 100644 index 00000000000..7c06a8fd005 --- /dev/null +++ b/docs/presentations/feast-chronon-summit/build_deck.py @@ -0,0 +1,585 @@ +from pathlib import Path +from typing import Any, Sequence +import base64 +import html +import json + +ROOT = Path(__file__).resolve().parent +ASSETS = ROOT / "assets" +PR = "https://github.com/feast-dev/feast/pull/6188" +REV = "55873756b36d8b73c277c7971959aa8dc3fb9649" +GH = f"https://github.com/feast-dev/feast/blob/{REV}/" +S = { + "feast": ( + "Feast: feature views", + "https://docs.feast.dev/getting-started/concepts/feature-view", + ), + "retrieval": ( + "Feast: feature retrieval", + "https://docs.feast.dev/getting-started/concepts/feature-retrieval", + ), + "chronon": ( + "Chronon: introduction", + "https://docs.chronon.ai/getting_started/Introduction.html", + ), + "groupby": ( + "Chronon: GroupBy and accuracy", + "https://docs.chronon.ai/authoring_features/GroupBy.html", + ), + "join": ( + "Chronon: Join and backfill timelines", + "https://docs.chronon.ai/authoring_features/Join.html", + ), + "components": ( + "Chronon: runtime components", + "https://docs.chronon.ai/setup/Components.html", + ), + "consistency": ( + "Chronon: online/offline consistency", + "https://docs.chronon.ai/test_deploy_serve/Online_Offline_Consistency.html", + ), + "online": ( + "PR: online adapter", + GH + "sdk/python/feast/infra/online_stores/chronon_online_store/chronon.py", + ), + "offline": ( + "PR: offline adapter", + GH + + "sdk/python/feast/infra/offline_stores/contrib/chronon_offline_store/chronon.py", + ), + "source": ( + "PR: ChrononSource", + GH + + "sdk/python/feast/infra/offline_stores/contrib/chronon_offline_store/chronon_source.py", + ), + "example": ("PR: runnable demo", GH + "examples/chronon/run_demo.py"), + "pr": ("Proposed Feast integration", PR), +} +slides: list[dict[str, Any]] = [] + + +def add( + title: str, + body: str, + notes: str, + refs: Sequence[str] = (), + kind: str = "", + foot: str = "", +) -> None: + slides.append( + dict(title=title, body=body, notes=notes, refs=list(refs), kind=kind, foot=foot) + ) + + +def code(s: str) -> str: + return "
" + html.escape(s.strip()) + "
" + + +def rows(items: Sequence[tuple[str, str]]) -> str: + return ( + '
' + + "".join(f'

{a}

{b}

' for a, b in items) + + "
" + ) + + +def table(headers: Sequence[str], data: Sequence[Sequence[str]], cl: str = "") -> str: + return ( + f'' + + "".join(f"" for c in headers) + + "" + + "".join( + "" + "".join(f"" for c in row) + "" for row in data + ) + + "
{c}
{c}
" + ) + + +add( + "Feast + Chronon", + """

Feature Store Summit

Feast +
Chronon

Using both in a feature platform

Architecture, a working integration, and the tradeoffs

Integration case study · PR #6188

""", + """Open with the practical question: if a team already uses Feast and starts computing features in Chronon, what should change for the model developer? This talk examines a concrete read integration and when its benefits justify the extra operational surface. The implementation is an open pull request as of September 14, 2026. Avoid presenting it as a released, generally available connector. The demo runs the tested commit fc3c683d9. Suggested main talk duration: approximately 20 minutes, plus questions.""", + ["pr"], + "cover-slide", +) +add( + "Where the combination earns its keep", + """

Model teams already use Feast.
Some feature pipelines need Chronon.

""" + + rows( + [ + ( + "The application contract", + "Keep feature selection and retrieval familiar to model developers.", + ), + ( + "The computation requirement", + "Use Chronon’s aggregation and backfill machinery for the features that need it.", + ), + ( + "The architectural question", + "Does a shared consumer interface justify operating the integration?", + ), + ] + ), + """Frame this as an architectural option for an existing platform, not a universal recommendation. A common API can reduce changes in model code, but the underlying feature definitions, storage choices, and operational dependencies still matter. We will distinguish the architectural benefit from the exact capability of the proposed adapter. An organization that is already happy with one system may have little to gain by adding the other.""", + ["retrieval", "chronon"], +) +add( + "Feast in this architecture", + """

A feature interface
for model consumers

Entities identify the subject.
FeatureViews describe feature data.
FeatureServices select a model’s inputs.

The registry and pluggable stores connect those definitions to retrieval.

A familiar consumer interface
""" + + code("""features = store.get_online_features( + features=checkout_risk_v1, + entity_rows=[{"user_id": "5"}], +).to_dict() + +training = store.get_historical_features( + features=feature_refs, + entity_df=training_entities, +).to_df()""") + + """
""", + """Keep the refresher short. Feast gives consumers logical feature definitions and APIs across supported backends. It is not just a registry, and Feast has other transformation and materialization capabilities. Here we deliberately use it as the consumer-facing layer over features that Chronon owns. The two retrieval calls are separate offline and online interfaces. A consistent surface does not mean all backends support every capability. The code assumes registered objects and a configured store.""", + ["feast", "retrieval"], +) +add( + "Chronon in this architecture", + """

Feature computation with batch and streaming paths

GroupBy

Define entity-level aggregations, windows, and accuracy.

Purchases per user
Sum and count over 14 and 30 days

Join

Combine feature groups and define the timeline for backfills.

Purchase and refund features
Evaluated for checkout events

Chronon also provides native serving and monitoring capabilities.

""", + """Chronon is an end-to-end feature platform, not merely a batch preprocessing library. GroupBy defines aggregations, and Join combines groups and establishes the left-hand event timeline for training data. Chronon can serve those features without Feast. The reason to add Feast is the value of its interface in the surrounding platform. Accuracy depends on source type and configuration; we will return to snapshot versus temporal semantics later.""", + ["chronon", "groupby", "join", "components"], +) +add( + "An explicit division of responsibility", + table( + ["Responsibility", "Owner in this integration"], + [ + ( + "Aggregations, windows, backfills", + 'Chronon', + ), + ( + "Updates to the Chronon online store", + 'Chronon', + ), + ( + "Consumer schema and feature selection", + 'Feast definitions and registry', + ), + ("Request routing and value conversion", "Feast’s Chronon adapters"), + ("Version alignment and operating policy", "The platform team"), + ], + ) + + """

One owner computes each feature. Both sides agree on its meaning.

""", + """The adapter is a read boundary. Its online_write_batch raises NotImplementedError, and its infrastructure update and teardown methods do not manage Chronon infrastructure. The Chronon provider is a small passthrough wrapper, not a Chronon scheduler. Registering a FeatureView in Feast does not deploy the corresponding Chronon jobs. Treat aligned schemas, key types, feature names, timestamps, and versions as an explicit platform contract.""", + ["online", "offline", "source"], +) +architecture = """ + +Source dataTables / streams +ChrononGroupBy + JoinBatch / streaming +Online KVChronon HTTP service +Parquet outputExport / publish step +Feast adapterOnline retrieval +Feast adapterHistorical retrieval +Modelcode +HTTPRead +Arrows show feature-value flow. Feast’s registry supplies retrieval metadata. +""" +add( + "Two read paths, one consumer interface", + architecture, + """Walk from source data to Chronon, then split the online and offline paths. The online path calls Chronon’s service rather than duplicating values into another Feast-managed online database. Offline retrieval in this PR reads Parquet through pandas. The export/publication boundary matters: this adapter does not launch a Chronon backfill or provide an automatic warehouse-table export pipeline. Arrows show feature-value flow rather than request direction. Feast registry metadata configures both adapters; no registry RPC on every request is implied. The diagram describes the PR architecture, not every possible Feast or Chronon deployment.""", + ["online", "offline", "components"], + foot="PR #6188 architecture · Offline export and job orchestration remain external", +) +add( + "The online request boundary", + rows( + [ + ( + "1. Map the request", + "A FeatureView points to a Chronon Join or GroupBy. The adapter maps entity keys.", + ), + ( + "2. Call Chronon", + "The adapter posts entity rows to the selected HTTP endpoint.", + ), + ( + "3. Return Feast values", + "Declared feature types guide conversion. The model receives typed feature values.", + ), + ] + ) + + """
POST /v1/features/join/quickstart%2Ftraining_set.v2
[{"user_id": "5"}, {"user_id": "7"}]
""", + """The actual route percent-encodes the Chronon object name. The source can override the store-level base URL. The adapter expects one result row per requested entity key and assumes response order matches request order. HTTP failures and non-success result rows raise errors. Successful responses preserve null/missing feature values. The model can distinguish expected absence from a failed retrieval. Optional connection_retries adds up to five retries through Feast’s HTTP session manager; retries default to zero. Requested feature filtering happens after Chronon responds, so it does not necessarily reduce upstream computation or response size.""", + ["online"], +) +add( + "Historical retrieval uses materialized rows", + """

For each entity, choose the latest eligible row.

10:0012 rides

Eligible materialized row

10:05Training event

Retrieved value: 12

10:1018 rides

Later row excluded

feature time ≤ entity time
and row age within the configured FeatureView TTL

Illustrative values. The adapter selects existing rows; Chronon defines the aggregates within them.

""", + """The implementation loads materialized Parquet into pandas, groups by entity key, and performs backward merge_asof joins. A nonzero FeatureView TTL limits row age. This does not recompute a rolling window for every requested timestamp. A snapshot computed at 10:00 is still a 10:00 snapshot when selected for 10:05. Ensure the exported timeline and intended Chronon accuracy match the training objective. If duplicate entity/event-time rows exist, the latest configured created timestamp wins. There is no separate historical knowledge-time cutoff in that selection, so revision handling needs an explicit policy.""", + ["offline", "groupby", "join"], +) +add( + "The integration surface is small", + """
feature_store.yaml
""" + + code("""project: checkout +registry: data/registry.db +provider: chronon + +offline_store: + type: chronon +online_store: + type: chronon + path: http://localhost:19000""") + + """
Source metadata in a FeatureView
""" + + code("""source = ChrononSource( + materialization_path= + "data/checkout_features.parquet", + chronon_join= + "quickstart/training_set.v2", + timestamp_field="event_timestamp", +)""") + + """

The FeatureView declares keys and field types.
A FeatureService selects the model’s inputs.

Chronon jobs and output publication have their own deployment lifecycle.

""", + """These are configuration excerpts, not a full standalone program. Source-level materialization_path identifies the offline data. Exactly one Chronon Join or GroupBy identifies the online object. The same logical definition can reference both, but keeping their versions aligned is the platform’s responsibility. The complete runnable example is linked in the sources. The local demo uses HTTP on loopback; production endpoint and authentication choices require separate validation. Do not suggest that feast apply starts or materializes Chronon jobs.""", + ["source", "example", "pr"], +) + + +def checkout_code(text: str, highlighted: Sequence[int], tone: str) -> str: + lines = [] + for n, line in enumerate(text.strip().splitlines()): + cls = f' class="code-emphasis {tone}"' if n in highlighted else "" + lines.append(f"" + html.escape(line) + "") + return "
" + "".join(lines) + "
" + + +checkout_blocks = [ + ( + """source=ChrononSource( + chronon_join=QUICKSTART_JOIN, + online_endpoint=service_url, + # Parquet path and timestamp metadata omitted +)""", + [1, 2], + "chronon", + "01", + "Bind the Chronon join", + "The FeatureView points to quickstart/training_set.v2. Chronon supplies the computed values.", + ), + ( + """feature_service = FeatureService( + name=CHECKOUT_RISK_FEATURE_SERVICE, + features=[checkout_risk_features], +) +store.apply([user, checkout_risk_features, feature_service])""", + [2, 4], + "feast", + "02", + "Register the model’s inputs", + "checkout_risk_v1 selects the declared features. apply registers the Feast objects.", + ), + ( + """feast_response = store.get_online_features( + features=feature_service, + entity_rows=[{"user_id": uid} + for uid in ["5", "7", "999999"]], +).to_dict()""", + [0, 1, 2, 3], + "feast", + "03", + "Read at checkout time", + "Feast calls Chronon for these users and returns typed values. The unknown user receives missing features.", + ), +] +add( + "Checkout example: the code path", + '
' + + "".join( + '
' + + checkout_code(text, highlights, tone) + + f'
{number}

{title}

{explanation}

' + for text, highlights, tone, number, title, explanation in checkout_blocks + ) + + '

Relevant excerpts from examples/chronon/run_demo.py. Imports, schema, and setup omitted.

', + """Walk through the highlighted lines before playing the video. First, the ChrononSource sits inside the checkout_risk_features FeatureView. QUICKSTART_JOIN is quickstart/training_set.v2. The complete FeatureView declares a string user_id key, ten purchase/refund fields, online=True, and offline=False. The demo includes placeholder Parquet metadata to define the source; it does not read that placeholder to serve online features. Second, the FeatureService named checkout_risk_v1 selects that FeatureView. store.apply registers the entity, view, and service in Feast; it does not run Chronon aggregation jobs. Finally, the SDK requests users 5, 7, and 999999, and converts the result to a dictionary. The entity-row comprehension is inlined here from the demo helper so the requested users are visible. All other displayed executable lines are taken from the example, with metadata and setup deliberately omitted. The ten-feature schema and direct Chronon comparison remain in the full example. These snippets explain the flow rather than form a standalone script.""", + ["example", "source", "online"], + "checkout-code-slide", +) + + +ui_image = base64.b64encode( + (ASSETS / "feast-checkout-service.png").read_bytes() +).decode() +add( + "Feast UI: the checkout feature catalog", + f'Actual Feast UI showing checkout_risk_v1 with ten features from one FeatureView, feature types, checkout-risk tags, the user entity, project navigation, and registry search.', + """This is an actual screenshot of the local Feast UI with the checkout demo registry, captured September 14, 2026. Point to checkout_risk_v1 at the top: it is the FeatureService in the previous code slide. The service selects ten features from one FeatureView. The table exposes feature names and value types and links back to the view. Tags identify the Chronon checkout-risk scenario, while the entity link identifies user. The left navigation and search make the broader registry discoverable. This is a concrete reason a platform with existing Feast users might retain Feast while Chronon computes the values. The screenshot shows registry metadata, not live feature values, Chronon job execution, or a demonstrated monitoring integration. The screenshot uses locally built Feast UI assets with the PR backend and its real example definitions. Only the top portion of the feature table is visible; all ten features exist in the registry. Continue to the video to show retrieval from the actual Chronon service.""", + ["example", "feast", "pr"], + "feast-ui-slide", + foot="Feast UI · Browse feature definitions, types, tags, and entity links · Local checkout demo", +) + +video = base64.b64encode((ASSETS / "feast-chronon-demo.mp4").read_bytes()).decode() +poster = base64.b64encode((ASSETS / "poster.png").read_bytes()).decode() +add( + "A working checkout example", + f"""

41 seconds

Historical retrieval

Live online retrieval

Existing and missing users

Chronon quickstart
MongoDB
Feast Python SDK

Recorded September 13, 2026 · fc3c683d9 · Offline sample uses generated Parquet; online values come from real Chronon.

""", + """Play the embedded video. It is packaged in this HTML and does not need a network connection. It has no audio, so narrate over it. First we read a small generated historical Parquet sample. Then we fetch from a real Chronon quickstart service backed by MongoDB. Finally, the checkout FeatureService fetches ten features for three users, and we compare those values to direct Chronon responses. This is a local integration demo, not a production deployment or a live-stream freshness demonstration. If video playback is unavailable, the next slide preserves the key results.""", + ["example"], + "demo-slide", +) +add( + "What the demo establishes", + """
39

focused tests passed

31 unit + 7 offline/stub + 1 live-service
30

feature values matched

Feast versus direct Chronon responses
""" + + table( + ["User", "Purchases, 30d", "Refunds, 30d", "Feature status"], + [ + ["5", "1253", "1269", "Found"], + ["7", "1523", "1307", "Found"], + ["999999", "null", "null", "Missing"], + ], + "results", + ) + + """

Quickstart aggregate values, not currency-normalized business metrics. Latency, throughput, and production reliability were not benchmarked.

""", + """These are measured results from our September 13 run at fc3c683d9. Do not describe 39 tests as the entire repository suite. Seven are offline and HTTP-stub integration tests; one specifically exercises the real Chronon service. The thirty comparisons cover ten features for each of three users and allow Float32 rounding. Missing values for the unknown user are part of the comparison. This establishes a working read path and selected correctness cases, not comprehensive semantic equivalence across historical and online data at scale.""", + ["example"], + foot="Evidence: the local demo and saved test logs, September 13, 2026", +) +add( + "Benefits of the combination", + rows( + [ + ( + "A shared catalog and consumer API", + "Model teams browse Chronon-backed definitions in Feast and retrieve features through familiar APIs.", + ), + ( + "Reuse of Chronon computation", + "The adapter reads Chronon’s results without adding a second online materialization path.", + ), + ( + "A path for gradual adoption", + "Teams can introduce Chronon-backed feature sets while retaining Feast definitions for model-facing use.", + ), + ] + ) + + """

The strongest benefit appears when the organization already values both layers.

""", + """These are architectural benefits inferred from the integration, not benchmark results. The native Chronon service remains the serving backend, so this path does not require a second copy in a Feast-managed online store. The incremental adoption argument is about keeping consumer interfaces familiar. It is not a promise of arbitrary multi-backend composition within this PR: backend configuration and unsupported combinations still need validation. There is still metadata to author in both systems.""", + ["online", "source", "retrieval"], +) +add( + "Costs of the combination", + rows( + [ + ( + "Two definition lifecycles", + "Chronon logic and Feast schemas can drift. Releases must align names, keys, types, and versions.", + ), + ( + "An additional serving boundary", + "HTTP and serialization add work. Failures and missing results need explicit handling.", + ), + ( + "A larger operating surface", + "Teams own batch jobs, streaming where used, a KV store, serving, the registry, and the adapter.", + ), + ] + ) + + """

A common API preserves the operational dependencies underneath it.

""", + """Be candid about the cons. The exact overhead depends on the alternative: native Chronon clients and HTTP clients have different baselines. We have not measured a latency penalty, so avoid attaching numbers. This Python adapter uses synchronous HTTP requests. Retries are opt-in and bounded by attempt count; timeout is per attempt, not a total deadline. Backoff and Retry-After can extend latency. Benchmark the entire model request, including fanout and cold starts. Metadata release coordination and incident ownership are real costs even if the adapter code is small. A shared interface can hide differences from callers without eliminating them.""", + ["online", "components", "source"], +) +add( + "Time semantics still need an agreement", + """

Chronon’s contract

Aggregation window

Snapshot or temporal accuracy

Backfill and update behavior

The adapter’s contract

Entity and timestamp mapping

Backward row selection and TTL

Created-time tie-breaking

Matching feature names does not establish matching historical meaning.

A snapshot row can pass an as-of join and still differ from a window evaluated at the exact training event.

""", + """Chronon SNAPSHOT and TEMPORAL accuracy encode different evaluation timelines. A Feast as-of selection over exports must preserve the chosen meaning. TTL here bounds how old a materialized row can be, not the aggregation window length. For instance, a 30-day purchase sum may have an hourly publication cadence and a separate freshness target. Do not treat those three intervals as equivalent. The current created-time rule chooses the latest revision for duplicate event times; it does not reconstruct when each revision became knowable. Validate late data, revisions, time zones, nulls, and timestamp precision for the intended use case.""", + ["groupby", "join", "offline", "consistency"], +) +add( + "The current adapter has a narrow scope", + """

Implemented in the PR

  • Python reads with explicit service errors
  • Opt-in HTTP retries (0–5)
  • Parquet reads and saved datasets
  • Local on-demand transforms

Outside the current scope

  • Chronon job orchestration
  • Feast-managed online writes
  • Distributed offline retrieval
  • Full backend feature parity

Only needed columns are loaded, but joins still run in pandas. Memory bounds matter.

""", + """Anchor limitations to the tested PR revision, not to the projects in general. The current revision reads only required Parquet columns before doing local joins. It does not push retrieval into Spark or a warehouse engine. The retrieval job supports Parquet saved datasets and local on-demand transforms; SQL export remains unsupported. SavedDataset round-trips use provider: chronon and preserve request data and custom timestamps. These additions passed 68 targeted unit tests plus seven offline/HTTP-stub integration tests on September 14. The embedded live demo remains the September 13 recording at fc3c683d9. The PR documentation lists Python SDK support and no direct Go or Java adapter support. Online infrastructure update and teardown are no-ops. Chronon online freshness remains Chronon-owned; the historical TTL filter is not a universal online TTL guarantee. Check upstream status before presenting because the PR remains open.""", + ["offline", "online", "pr"], + foot="Proposed integration, not a released support commitment · Status checked September 14, 2026", +) +add( + "Choosing the shape of the platform", + table( + ["Approach", "A good fit when", "Main tradeoff"], + [ + ( + "Feast + existing pipelines", + "Your computation stack already meets your needs.", + "You continue owning that computation stack.", + ), + ( + "Chronon directly", + "Chronon’s native APIs and workflows fit your consumers.", + "Consumers integrate with Chronon’s interface.", + ), + ( + "Feast + Chronon", + "Feast is an established consumer interface and Chronon adds needed computation capabilities.", + "You own the integration and coordinated releases.", + ), + ], + "decision", + ), + """This is a decision framework, not a ranking. It is reasonable to choose either system alone. Keep Feast with the pipelines you already have if those pipelines solve the problem. Use Chronon directly when its native workflow is enough. Combine them when stable Feast consumer interfaces and Chronon computation both deliver concrete value. Do not choose two platforms merely because the integration exists. Team expertise, backend compatibility, latency budget, and migration cost should drive the choice.""", + ["chronon", "retrieval", "pr"], +) +add( + "Production validation beyond the demo", + rows( + [ + ( + "Serving behavior", + "Load-test p95/p99 latency, request fanout, timeouts, and failure behavior.", + ), + ( + "Historical correctness", + "Test window boundaries, revisions, late data, and offline/online consistency.", + ), + ( + "Data and release contracts", + "Check schemas, entity ordering, field mappings, and pinned Chronon versions.", + ), + ( + "Operating ownership", + "Assign alerting, freshness targets, fallback policy, and backfill ownership.", + ), + ] + ), + """These are next engineering steps, not claims that the adapter already provides them. Compare against an appropriate native Chronon baseline, and use realistic feature counts and entity batch sizes. Exercise non-success rows as well as HTTP failures: both raise, but only eligible HTTP/transport failures are retried when configured. Measure memory on realistic historical data volumes. Agree how model inference behaves on null or stale features. Validate authentication and endpoint deployment in the actual environment. Make schema and semantic compatibility checks a release gate before wider adoption.""", + ["online", "offline", "consistency"], +) +add( + "A useful boundary for a mixed platform", + """

Chronon owns feature computation.
Feast offers a shared consumer interface.

The combination is useful when that interface
is worth the extra coordination.

Discussion

github.com/feast-dev/feast/pull/6188
""", + """Close on the decision, not on the number of tests. We have demonstrated a read integration that works for a concrete example. The harder platform design questions are semantic alignment and operational ownership. Invite questions about source-of-truth decisions, migration patterns, latency requirements, and historical correctness. The following two slides are backup material for deeper questions. Leave the main talk here unless the audience wants implementation detail.""", + ["pr"], + "closing-slide", +) +add( + "Appendix: details worth testing", + table( + ["Boundary", "Current behavior", "Implication"], + [ + ( + "HTTP request fails", + "Opt-in retries; raises if unsuccessful", + "Budget attempts, backoff, and fallback.", + ), + ( + "Chronon row is non-success", + "Raises a runtime error", + "Successful nulls remain missing values.", + ), + ( + "Result row count differs", + "Raises a runtime error", + "Validate the endpoint contract.", + ), + ( + "Entity / event-time duplicates", + "Latest configured created timestamp wins", + "Agree on historical revision policy.", + ), + ( + "Historical dataset read", + "Required columns load into pandas", + "Validate memory at realistic volumes.", + ), + ], + "detail-table", + ), + """This table comes directly from the PR implementation. Row ordering is positional; there is no reconciliation by a returned entity key. Type declarations drive protobuf conversion, and field mapping applies in both request and response directions. connection_retries defaults to zero and accepts 0–5 retries through Feast’s shared HTTP session manager. It retries eligible transport failures and HTTP 429/5xx responses, including the read-only POST. HTTP 400 and per-row Chronon failures are not retried. Timeouts and TLS verification are configurable; timeout is per attempt, and Retry-After/backoff can extend total latency. These behaviors are testable boundaries, not necessarily bugs. The production design needs to decide the acceptable semantics for each one.""", + ["online", "offline"], + "appendix", +) +add( + "Sources and further reading", + """
""" + + "".join( + f'{i:02d}{label}' + for i, (label, url) in enumerate( + [ + S[k] + for k in [ + "pr", + "example", + "feast", + "retrieval", + "chronon", + "groupby", + "join", + "consistency", + ] + ], + 1, + ) + ) + + """

Implementation claims reference 55873756b. Demo evidence remains fc3c683d9, September 13, 2026.
Project documentation and PR status checked September 14, 2026. Slide-specific sources appear in speaker notes.

""", + """Use these links for follow-up discussion. All links are to project documentation or the implementation under discussion. The artifact works offline, but following external citations requires an internet connection. The video, poster, styling, speaker notes, and navigation are included in the HTML itself. Keyboard shortcuts: arrows or Space to move, N for notes, O for overview, F for fullscreen, B to blank the screen, P for a separate presenter window, Home for the opening slide, and End for this source slide.""", + list(S), + "appendix", +) + +css = """ +:root{--bg:#0c1b2a;--fg:#f3f1e9;--muted:#aebdc8;--line:#344755;--feast:#83ddc5;--chronon:#ffb392;--scale:1}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#050c13;color:var(--fg);font-family:Arial,Helvetica,sans-serif}button,a{touch-action:manipulation}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,video:focus-visible{outline:3px solid var(--feast);outline-offset:5px}a{color:var(--feast);text-underline-offset:5px}#viewport{height:calc(100vh - 54px);width:100vw;position:relative}#stage{width:1600px;height:900px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(var(--scale));flex:none;transform-origin:center;box-shadow:0 20px 70px #0008}.slide{display:none;position:absolute;inset:0;background:var(--bg);padding:74px 86px 68px;overflow:hidden}.slide.active{display:block}.slide header{margin-bottom:46px}.slide h2{font-size:58px;letter-spacing:-1.8px;font-weight:600;line-height:1.08;margin:0;max-width:1380px}.slide p{font-size:29px;line-height:1.45;margin:18px 0}.slide h3{font-size:31px;line-height:1.2;margin:0 0 20px;letter-spacing:-.4px;font-weight:600}.slide footer{position:absolute;left:86px;right:86px;bottom:28px;display:flex;justify-content:space-between;align-items:center;gap:40px;font-size:18px;color:var(--muted);border-top:1px solid var(--line);padding-top:15px}.slide footer span:first-child{max-width:1260px}aside.notes{display:none}.feast{color:var(--feast)}.chronon{color:var(--chronon)}.muted{color:var(--muted)}.lead{font-size:43px!important;line-height:1.24!important;letter-spacing:-.8px;margin:0 0 38px!important}.small-lead{font-size:37px!important;margin-top:50px!important}.rows{margin-top:34px}.row{display:grid;grid-template-columns:380px 1fr;gap:58px;padding:24px 0;border-top:1px solid var(--line)}.row h3{margin:0;font-size:30px}.row p{margin:0;font-size:29px}.split{display:grid;grid-template-columns:1fr 1.05fr;gap:80px;align-items:start}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:90px}.two-col>div+div{border-left:1px solid var(--line);padding-left:64px}.concepts{margin-top:65px}.concepts h3{font-size:49px}.concepts p{font-size:32px;max-width:510px}.example{color:var(--muted);font-size:26px;line-height:1.5;border-top:1px solid var(--line);padding-top:27px;margin-top:32px}.bottom-line{font-size:29px!important;margin-top:40px!important;padding-top:27px;border-top:2px solid var(--feast);line-height:1.35!important}.caption{font-size:22px!important;color:var(--muted);line-height:1.4!important;margin-top:25px!important}.code-title{font-size:22px;color:var(--muted);margin:0 0 22px}.code-block{padding-top:7px}pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-family:'SFMono-Regular',Consolas,'Liberation Mono',monospace;font-size:24px;line-height:1.52;color:#dae9ef;padding:28px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}code{font-family:inherit}.code-split pre{font-size:25px}.code-split{gap:64px;grid-template-columns:.92fr 1.08fr}.endpoint{font:26px/1.6 'SFMono-Regular',Consolas,monospace;color:var(--feast);margin-top:38px;padding:22px 0;border-top:1px solid var(--line)}.endpoint span{color:var(--muted)}table{border-collapse:collapse;width:100%;font-size:29px;line-height:1.3}th{font-size:23px;font-weight:400;color:var(--muted);text-align:left;padding:0 25px 20px 0}td{padding:25px 26px 25px 0;border-top:1px solid var(--line);vertical-align:top}td:first-child{width:51%}.decision td{padding:31px 36px 31px 0;font-size:28px}.decision td:first-child{width:25%;color:var(--feast)}.decision td:nth-child(2){width:42%}.detail-table td{font-size:26px;padding:24px 30px 24px 0}.detail-table td:first-child{width:29%}.detail-table td:nth-child(2){width:37%}.cover{height:100%;position:relative}.cover-slide header{display:none}.cover-slide .slide-content{height:100%}.cover h1{font-size:151px;line-height:.98;letter-spacing:-8px;margin:65px 0 35px;font-weight:600}.cover .plus{color:#8da0ab;font-weight:300}.event{font-size:25px!important;letter-spacing:1px;margin:0!important}.cover-sub{font-size:41px!important;letter-spacing:-.7px}.cover-detail{color:var(--muted);font-size:26px!important}.cover-rule{position:absolute;right:24px;top:165px;width:330px;height:330px;border-top:3px solid var(--chronon);border-bottom:3px solid var(--feast);transform:rotate(-32deg)}.status{position:absolute;bottom:3px;font-size:21px!important;color:var(--muted)}.architecture{width:100%;height:560px;margin-top:30px;overflow:visible}.flow-lines{fill:none;stroke:#758d9e;stroke-width:3;color:#758d9e;marker-end:url(#arrow)}.node rect{fill:transparent;stroke:#677a88;stroke-width:2;rx:0}.node.coral rect{stroke:var(--chronon)}.node.green rect{stroke:var(--feast)}.node text{fill:var(--fg);font-size:29px;text-anchor:middle}.node text.detail{font-size:22px;fill:var(--muted)}.consumer{fill:var(--fg);font-size:27px;text-anchor:middle}.edge-label{fill:var(--muted);font-size:20px}.diagram-note{fill:var(--muted);font-size:21px}.time-line{display:grid;grid-template-columns:1fr 1fr 1fr;gap:45px;border-top:3px solid #566d7e;margin-top:75px;padding-top:30px}.time-line>div{position:relative}.time-line>div:before{content:'';position:absolute;left:0;top:-39px;width:15px;height:15px;background:var(--muted);border-radius:50%}.time-line .query:before{background:var(--feast)}.time{font-size:28px;color:var(--muted);display:block;margin-bottom:26px}.time-line strong{font-size:38px;font-weight:500}.time-line p{font-size:25px}.formula{margin-top:56px!important;font-size:38px!important;line-height:1.4!important}.formula span{font-size:27px;color:var(--muted)}.demo-layout{display:grid;grid-template-columns:1100px 1fr;gap:35px;align-items:center}.demo-layout video{width:1100px;height:595px;background:#000;object-fit:contain}.demo-slide header{margin-bottom:22px}.demo-slide .caption{font-size:20px!important;margin-top:15px!important}.demo-copy h3{color:var(--feast);font-size:38px}.demo-copy p{font-size:25px}.evidence{display:grid;grid-template-columns:1fr 1fr;gap:100px;margin-bottom:45px}.big-number{font-size:106px;letter-spacing:-5px;line-height:1}.evidence p{font-size:31px;margin:5px 0}.evidence span{font-size:21px;color:var(--muted)}.results td{padding:18px 20px 18px 0;font-size:28px}.results td:first-child{width:25%}.semantics{margin-top:63px}.semantics p{padding:12px 0;border-bottom:1px solid var(--line);font-size:30px}.limits{margin-top:67px}.limits h3{font-size:36px}.limits ul{padding-left:25px;margin:34px 0 0}.limits li{font-size:29px;line-height:1.42;margin:0 0 24px}.closing{margin-top:85px}.closing .lead{font-size:53px!important;line-height:1.3!important}.closing-thesis{font-size:34px!important;color:var(--muted);margin-top:45px!important}.questions{font-size:33px!important;margin-top:55px!important}.closing a{font-size:25px}.source-list{display:grid;grid-template-columns:1fr 1fr;gap:0 72px;margin-top:60px}.source-list a{padding:25px 0;border-top:1px solid var(--line);font-size:27px;text-decoration:none;display:flex;gap:24px;align-items:center}.source-list a span{font-size:20px;color:var(--muted)}.source-list a:hover{text-decoration:underline}#toolbar{height:54px;position:fixed;bottom:0;inset-inline:0;display:flex;justify-content:space-between;align-items:center;padding:0 24px;color:#b4c4cf;background:#050c13;font-size:13px;z-index:4}#toolbar button{background:transparent;color:#dae3e9;border:0;padding:10px 12px;border-radius:3px}#toolbar button:hover{background:#1e3243}#progress{position:fixed;bottom:54px;left:0;height:2px;background:var(--feast);z-index:5;transition:width .18s}#notes-panel{display:none;position:fixed;right:0;top:0;bottom:54px;width:400px;padding:27px;background:#162938;overflow:auto;z-index:3;border-left:1px solid #456}#notes-panel h2{font-size:23px;line-height:1.25}#notes-panel p,#notes-panel li{font-size:16px;line-height:1.6;color:#d7e1e8}#notes-panel li{margin:12px 0}body.show-notes #notes-panel{display:block}body.show-notes #viewport{width:calc(100vw - 400px)}#overview{display:none;position:fixed;inset:0 0 54px;background:#091722f5;z-index:10;overflow:auto;padding:35px}#overview.open{display:block}#overview h2{font-size:30px}#overview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}#overview button{min-height:105px;text-align:left;padding:20px;background:#142a3b;color:var(--fg);border:1px solid #3b5363;font-size:19px;line-height:1.35}#overview button span{display:block;color:var(--feast);font-size:13px;margin-bottom:10px}#blackout{display:none;position:fixed;inset:0;z-index:100;background:#000}#blackout.on{display:block}.help{font-size:12px;color:#90a6b5}:fullscreen #toolbar{opacity:.12}:fullscreen #toolbar:hover{opacity:1}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media(max-width:720px){#toolbar{padding:0 6px}#toolbar .help{display:none}#toolbar button{padding:10px 7px}#notes-panel{width:min(400px,100vw);z-index:8}body.show-notes #viewport{width:100vw}#overview-grid{grid-template-columns:repeat(2,1fr)}}@media print{@page{size:1600px 900px;margin:0}html,body{height:auto;overflow:visible;background:white}#viewport{display:block;height:auto;width:auto}#stage{transform:none!important;position:static;left:auto;top:auto;width:1600px;height:auto;box-shadow:none}.slide{display:block!important;position:relative;width:1600px;height:900px;break-after:page;print-color-adjust:exact;-webkit-print-color-adjust:exact}#toolbar,#progress,#notes-panel,#overview,#blackout{display:none!important}.slide:last-child{break-after:auto}} +""" + +css += "\n.checkout-code-slide header{margin-bottom:30px}.checkout-walkthrough{display:grid;gap:18px}.checkout-step{display:grid;grid-template-columns:950px 1fr;gap:42px;align-items:center}.checkout-step pre{font-size:24px;line-height:1.27;background:#091522;border:0;padding:12px 16px;color:#9bb0be;white-space:pre;overflow-wrap:normal}.checkout-step code>span{display:block;min-height:1.27em}.checkout-step .code-emphasis.chronon{background:#ffb39210;color:var(--chronon)}.checkout-step .code-emphasis.feast{background:#83ddc510;color:var(--feast)}.checkout-explanation .step-no{font-size:19px;display:block;margin-bottom:9px}.checkout-explanation h3{font-size:28px;margin-bottom:11px;line-height:1.15}.checkout-explanation p{font-size:24px;line-height:1.35;margin:0}.checkout-explanation code{font-size:22px;overflow-wrap:anywhere}.checkout-code-slide .caption{font-size:20px!important;margin-top:20px!important}\n" + +css += "\n.feast-ui-slide{padding:0;background:#f6f8fc}.feast-ui-slide header{display:none}.feast-ui-capture{display:block;width:1600px;height:900px;object-fit:contain}.feast-ui-slide footer{left:0;right:0;bottom:0;padding:12px 30px;border:0;background:#0c1b2a;color:#f3f1e9;font-size:20px}\n" + +parts = [] +for n, s in enumerate(slides, 1): + links = "".join( + f'
  • {html.escape(S[k][0])}
  • ' + for k in s["refs"] + ) + foot = s["foot"] or ("Appendix" if "appendix" in s["kind"] else "Feast + Chronon") + parts.append( + f'

    {s["title"]}

    {s["body"]}
    {foot}{n:02d} / {len(slides):02d}
    ' + ) +js = """ +const slides=[...document.querySelectorAll('.slide')];let index=0,presenter=null;const stage=document.getElementById('stage'), viewport=document.getElementById('viewport'); +function resize(){const r=viewport.getBoundingClientRect();document.documentElement.style.setProperty('--scale',Math.min(r.width/1600,r.height/900));} +function presenterUpdate(){if(presenter&&!presenter.closed){const d=presenter.document;d.getElementById('slide-num').textContent=`${index+1} / ${slides.length}`;d.getElementById('current').textContent=slides[index].dataset.title;d.getElementById('next').textContent=slides[index+1]?.dataset.title||'End';d.getElementById('script').innerHTML=slides[index].querySelector('.notes').innerHTML;}} +function go(n){const next=Math.max(0,Math.min(slides.length-1,n));if(next!==index)slides[index].querySelectorAll('video').forEach(v=>v.pause());index=next;slides.forEach((s,i)=>{s.classList.toggle('active',i===index);s.setAttribute('aria-hidden',String(i!==index));s.inert=i!==index;});document.getElementById('count').textContent=`${index+1} / ${slides.length}`;document.getElementById('progress').style.width=`${(index+1)/slides.length*100}%`;document.getElementById('notes-title').textContent=slides[index].dataset.title;document.getElementById('notes-content').innerHTML=slides[index].querySelector('.notes').innerHTML;document.getElementById('prev').disabled=index===0;document.getElementById('next-btn').disabled=index===slides.length-1;history.replaceState(null,'',`#slide-${index+1}`);document.title=`${index+1}. ${slides[index].dataset.title} | Feast + Chronon`;presenterUpdate();} +function notes(){document.body.classList.toggle('show-notes');document.getElementById('notes-btn').setAttribute('aria-pressed',String(document.body.classList.contains('show-notes')));resize();} +function overview(){const o=document.getElementById('overview');o.classList.toggle('open');if(o.classList.contains('open'))o.querySelectorAll('button')[index].focus();else document.getElementById('overview-btn').focus();} +function blank(){document.getElementById('blackout').classList.toggle('on');} +function fullscreen(){if(document.fullscreenElement)document.exitFullscreen?.();else document.documentElement.requestFullscreen?.().catch(()=>{});} +function openPresenter(){presenter=window.open('','feast-chronon-presenter','width=900,height=850');if(!presenter){notes();return;}presenter.document.write(`Presenter — Feast + Chronon

    Next:

    `);presenter.document.close();presenter.document.getElementById('back').onclick=()=>go(index-1);presenter.document.getElementById('forward').onclick=()=>go(index+1);presenter.onkeydown=e=>{if(e.key==='ArrowRight'||e.key===' '){e.preventDefault();go(index+1)}if(e.key==='ArrowLeft'){e.preventDefault();go(index-1)}};presenterUpdate();} +document.getElementById('prev').onclick=()=>go(index-1);document.getElementById('next-btn').onclick=()=>go(index+1);document.getElementById('notes-btn').onclick=notes;document.getElementById('overview-btn').onclick=overview;document.getElementById('full-btn').onclick=fullscreen;document.getElementById('presenter-btn').onclick=openPresenter;document.getElementById('blackout').onclick=blank; +slides.forEach((s,i)=>{const b=document.createElement('button');b.innerHTML=`${String(i+1).padStart(2,'0')}${s.dataset.title}`;b.onclick=()=>{go(i);overview();};document.getElementById('overview-grid').append(b);}); +document.addEventListener('keydown',e=>{if(e.target.closest('video,input,textarea,select'))return;if(e.target.closest('button,a')&&(e.key===' '||e.key==='Enter'))return;if(e.ctrlKey||e.metaKey||e.altKey)return;const k=e.key.toLowerCase();if(k==='escape'){document.getElementById('overview').classList.remove('open');document.getElementById('blackout').classList.remove('on');return;}if(document.getElementById('overview').classList.contains('open')&&k!=='o')return;if(['arrowright','pagedown',' '].includes(k)){e.preventDefault();go(index+1)}else if(['arrowleft','pageup'].includes(k)){e.preventDefault();go(index-1)}else if(k==='home'){e.preventDefault();go(0)}else if(k==='end'){e.preventDefault();go(slides.length-1)}else if(k==='n')notes();else if(k==='o')overview();else if(k==='f')fullscreen();else if(k==='b')blank();else if(k==='p')openPresenter();}); +let touchX=null;viewport.addEventListener('touchstart',e=>{if(!e.target.closest('video,a,button'))touchX=e.touches[0].clientX;},{passive:true});viewport.addEventListener('touchend',e=>{if(touchX!==null){const d=e.changedTouches[0].clientX-touchX;if(Math.abs(d)>60)go(index+(d<0?1:-1));touchX=null;}},{passive:true});window.addEventListener('resize',resize);window.addEventListener('hashchange',()=>{const n=parseInt(location.hash.replace('#slide-',''));if(Number.isFinite(n))go(n-1)});const initial=parseInt(location.hash.replace('#slide-',''));go(Number.isFinite(initial)?initial-1:0);resize(); +""" +page = ( + 'Feast + Chronon
    ' + + "".join(parts) + + '
    " +) +(ROOT / "feast-chronon-summit.html").write_text(page, encoding="utf-8") +(ROOT / "speaker-notes.md").write_text( + "# Feast + Chronon\n\n20 main slides and 2 appendix slides. Approximately 20 minutes plus questions.\n\n" + + "\n\n".join( + f"## {i}. {s['title']}\n\n{s['notes']}\n\n" + + "\n".join(f"- [{S[k][0]}]({S[k][1]})" for k in s["refs"]) + for i, s in enumerate(slides, 1) + ), + encoding="utf-8", +) +(ROOT / "deck-content.json").write_text( + json.dumps([{k: v for k, v in s.items() if k != "body"} for s in slides], indent=2), + encoding="utf-8", +) +print( + f"Built {len(slides)} slides: {(ROOT / 'feast-chronon-summit.html').stat().st_size:,} bytes" +) diff --git a/docs/presentations/feast-chronon-summit/deck-content.json b/docs/presentations/feast-chronon-summit/deck-content.json new file mode 100644 index 00000000000..90b9b1b085b --- /dev/null +++ b/docs/presentations/feast-chronon-summit/deck-content.json @@ -0,0 +1,242 @@ +[ + { + "title": "Feast + Chronon", + "notes": "Open with the practical question: if a team already uses Feast and starts computing features in Chronon, what should change for the model developer? This talk examines a concrete read integration and when its benefits justify the extra operational surface. The implementation is an open pull request as of September 14, 2026. Avoid presenting it as a released, generally available connector. The demo runs the tested commit fc3c683d9. Suggested main talk duration: approximately 20 minutes, plus questions.", + "refs": [ + "pr" + ], + "kind": "cover-slide", + "foot": "" + }, + { + "title": "Where the combination earns its keep", + "notes": "Frame this as an architectural option for an existing platform, not a universal recommendation. A common API can reduce changes in model code, but the underlying feature definitions, storage choices, and operational dependencies still matter. We will distinguish the architectural benefit from the exact capability of the proposed adapter. An organization that is already happy with one system may have little to gain by adding the other.", + "refs": [ + "retrieval", + "chronon" + ], + "kind": "", + "foot": "" + }, + { + "title": "Feast in this architecture", + "notes": "Keep the refresher short. Feast gives consumers logical feature definitions and APIs across supported backends. It is not just a registry, and Feast has other transformation and materialization capabilities. Here we deliberately use it as the consumer-facing layer over features that Chronon owns. The two retrieval calls are separate offline and online interfaces. A consistent surface does not mean all backends support every capability. The code assumes registered objects and a configured store.", + "refs": [ + "feast", + "retrieval" + ], + "kind": "", + "foot": "" + }, + { + "title": "Chronon in this architecture", + "notes": "Chronon is an end-to-end feature platform, not merely a batch preprocessing library. GroupBy defines aggregations, and Join combines groups and establishes the left-hand event timeline for training data. Chronon can serve those features without Feast. The reason to add Feast is the value of its interface in the surrounding platform. Accuracy depends on source type and configuration; we will return to snapshot versus temporal semantics later.", + "refs": [ + "chronon", + "groupby", + "join", + "components" + ], + "kind": "", + "foot": "" + }, + { + "title": "An explicit division of responsibility", + "notes": "The adapter is a read boundary. Its online_write_batch raises NotImplementedError, and its infrastructure update and teardown methods do not manage Chronon infrastructure. The Chronon provider is a small passthrough wrapper, not a Chronon scheduler. Registering a FeatureView in Feast does not deploy the corresponding Chronon jobs. Treat aligned schemas, key types, feature names, timestamps, and versions as an explicit platform contract.", + "refs": [ + "online", + "offline", + "source" + ], + "kind": "", + "foot": "" + }, + { + "title": "Two read paths, one consumer interface", + "notes": "Walk from source data to Chronon, then split the online and offline paths. The online path calls Chronon\u2019s service rather than duplicating values into another Feast-managed online database. Offline retrieval in this PR reads Parquet through pandas. The export/publication boundary matters: this adapter does not launch a Chronon backfill or provide an automatic warehouse-table export pipeline. Arrows show feature-value flow rather than request direction. Feast registry metadata configures both adapters; no registry RPC on every request is implied. The diagram describes the PR architecture, not every possible Feast or Chronon deployment.", + "refs": [ + "online", + "offline", + "components" + ], + "kind": "", + "foot": "PR #6188 architecture \u00b7 Offline export and job orchestration remain external" + }, + { + "title": "The online request boundary", + "notes": "The actual route percent-encodes the Chronon object name. The source can override the store-level base URL. The adapter expects one result row per requested entity key and assumes response order matches request order. HTTP failures and non-success result rows raise errors. Successful responses preserve null/missing feature values. The model can distinguish expected absence from a failed retrieval. Optional connection_retries adds up to five retries through Feast\u2019s HTTP session manager; retries default to zero. Requested feature filtering happens after Chronon responds, so it does not necessarily reduce upstream computation or response size.", + "refs": [ + "online" + ], + "kind": "", + "foot": "" + }, + { + "title": "Historical retrieval uses materialized rows", + "notes": "The implementation loads materialized Parquet into pandas, groups by entity key, and performs backward merge_asof joins. A nonzero FeatureView TTL limits row age. This does not recompute a rolling window for every requested timestamp. A snapshot computed at 10:00 is still a 10:00 snapshot when selected for 10:05. Ensure the exported timeline and intended Chronon accuracy match the training objective. If duplicate entity/event-time rows exist, the latest configured created timestamp wins. There is no separate historical knowledge-time cutoff in that selection, so revision handling needs an explicit policy.", + "refs": [ + "offline", + "groupby", + "join" + ], + "kind": "", + "foot": "" + }, + { + "title": "The integration surface is small", + "notes": "These are configuration excerpts, not a full standalone program. Source-level materialization_path identifies the offline data. Exactly one Chronon Join or GroupBy identifies the online object. The same logical definition can reference both, but keeping their versions aligned is the platform\u2019s responsibility. The complete runnable example is linked in the sources. The local demo uses HTTP on loopback; production endpoint and authentication choices require separate validation. Do not suggest that feast apply starts or materializes Chronon jobs.", + "refs": [ + "source", + "example", + "pr" + ], + "kind": "", + "foot": "" + }, + { + "title": "Checkout example: the code path", + "notes": "Walk through the highlighted lines before playing the video. First, the ChrononSource sits inside the checkout_risk_features FeatureView. QUICKSTART_JOIN is quickstart/training_set.v2. The complete FeatureView declares a string user_id key, ten purchase/refund fields, online=True, and offline=False. The demo includes placeholder Parquet metadata to define the source; it does not read that placeholder to serve online features. Second, the FeatureService named checkout_risk_v1 selects that FeatureView. store.apply registers the entity, view, and service in Feast; it does not run Chronon aggregation jobs. Finally, the SDK requests users 5, 7, and 999999, and converts the result to a dictionary. The entity-row comprehension is inlined here from the demo helper so the requested users are visible. All other displayed executable lines are taken from the example, with metadata and setup deliberately omitted. The ten-feature schema and direct Chronon comparison remain in the full example. These snippets explain the flow rather than form a standalone script.", + "refs": [ + "example", + "source", + "online" + ], + "kind": "checkout-code-slide", + "foot": "" + }, + { + "title": "Feast UI: the checkout feature catalog", + "notes": "This is an actual screenshot of the local Feast UI with the checkout demo registry, captured September 14, 2026. Point to checkout_risk_v1 at the top: it is the FeatureService in the previous code slide. The service selects ten features from one FeatureView. The table exposes feature names and value types and links back to the view. Tags identify the Chronon checkout-risk scenario, while the entity link identifies user. The left navigation and search make the broader registry discoverable. This is a concrete reason a platform with existing Feast users might retain Feast while Chronon computes the values. The screenshot shows registry metadata, not live feature values, Chronon job execution, or a demonstrated monitoring integration. The screenshot uses locally built Feast UI assets with the PR backend and its real example definitions. Only the top portion of the feature table is visible; all ten features exist in the registry. Continue to the video to show retrieval from the actual Chronon service.", + "refs": [ + "example", + "feast", + "pr" + ], + "kind": "feast-ui-slide", + "foot": "Feast UI \u00b7 Browse feature definitions, types, tags, and entity links \u00b7 Local checkout demo" + }, + { + "title": "A working checkout example", + "notes": "Play the embedded video. It is packaged in this HTML and does not need a network connection. It has no audio, so narrate over it. First we read a small generated historical Parquet sample. Then we fetch from a real Chronon quickstart service backed by MongoDB. Finally, the checkout FeatureService fetches ten features for three users, and we compare those values to direct Chronon responses. This is a local integration demo, not a production deployment or a live-stream freshness demonstration. If video playback is unavailable, the next slide preserves the key results.", + "refs": [ + "example" + ], + "kind": "demo-slide", + "foot": "" + }, + { + "title": "What the demo establishes", + "notes": "These are measured results from our September 13 run at fc3c683d9. Do not describe 39 tests as the entire repository suite. Seven are offline and HTTP-stub integration tests; one specifically exercises the real Chronon service. The thirty comparisons cover ten features for each of three users and allow Float32 rounding. Missing values for the unknown user are part of the comparison. This establishes a working read path and selected correctness cases, not comprehensive semantic equivalence across historical and online data at scale.", + "refs": [ + "example" + ], + "kind": "", + "foot": "Evidence: the local demo and saved test logs, September 13, 2026" + }, + { + "title": "Benefits of the combination", + "notes": "These are architectural benefits inferred from the integration, not benchmark results. The native Chronon service remains the serving backend, so this path does not require a second copy in a Feast-managed online store. The incremental adoption argument is about keeping consumer interfaces familiar. It is not a promise of arbitrary multi-backend composition within this PR: backend configuration and unsupported combinations still need validation. There is still metadata to author in both systems.", + "refs": [ + "online", + "source", + "retrieval" + ], + "kind": "", + "foot": "" + }, + { + "title": "Costs of the combination", + "notes": "Be candid about the cons. The exact overhead depends on the alternative: native Chronon clients and HTTP clients have different baselines. We have not measured a latency penalty, so avoid attaching numbers. This Python adapter uses synchronous HTTP requests. Retries are opt-in and bounded by attempt count; timeout is per attempt, not a total deadline. Backoff and Retry-After can extend latency. Benchmark the entire model request, including fanout and cold starts. Metadata release coordination and incident ownership are real costs even if the adapter code is small. A shared interface can hide differences from callers without eliminating them.", + "refs": [ + "online", + "components", + "source" + ], + "kind": "", + "foot": "" + }, + { + "title": "Time semantics still need an agreement", + "notes": "Chronon SNAPSHOT and TEMPORAL accuracy encode different evaluation timelines. A Feast as-of selection over exports must preserve the chosen meaning. TTL here bounds how old a materialized row can be, not the aggregation window length. For instance, a 30-day purchase sum may have an hourly publication cadence and a separate freshness target. Do not treat those three intervals as equivalent. The current created-time rule chooses the latest revision for duplicate event times; it does not reconstruct when each revision became knowable. Validate late data, revisions, time zones, nulls, and timestamp precision for the intended use case.", + "refs": [ + "groupby", + "join", + "offline", + "consistency" + ], + "kind": "", + "foot": "" + }, + { + "title": "The current adapter has a narrow scope", + "notes": "Anchor limitations to the tested PR revision, not to the projects in general. The current revision reads only required Parquet columns before doing local joins. It does not push retrieval into Spark or a warehouse engine. The retrieval job supports Parquet saved datasets and local on-demand transforms; SQL export remains unsupported. SavedDataset round-trips use provider: chronon and preserve request data and custom timestamps. These additions passed 68 targeted unit tests plus seven offline/HTTP-stub integration tests on September 14. The embedded live demo remains the September 13 recording at fc3c683d9. The PR documentation lists Python SDK support and no direct Go or Java adapter support. Online infrastructure update and teardown are no-ops. Chronon online freshness remains Chronon-owned; the historical TTL filter is not a universal online TTL guarantee. Check upstream status before presenting because the PR remains open.", + "refs": [ + "offline", + "online", + "pr" + ], + "kind": "", + "foot": "Proposed integration, not a released support commitment \u00b7 Status checked September 14, 2026" + }, + { + "title": "Choosing the shape of the platform", + "notes": "This is a decision framework, not a ranking. It is reasonable to choose either system alone. Keep Feast with the pipelines you already have if those pipelines solve the problem. Use Chronon directly when its native workflow is enough. Combine them when stable Feast consumer interfaces and Chronon computation both deliver concrete value. Do not choose two platforms merely because the integration exists. Team expertise, backend compatibility, latency budget, and migration cost should drive the choice.", + "refs": [ + "chronon", + "retrieval", + "pr" + ], + "kind": "", + "foot": "" + }, + { + "title": "Production validation beyond the demo", + "notes": "These are next engineering steps, not claims that the adapter already provides them. Compare against an appropriate native Chronon baseline, and use realistic feature counts and entity batch sizes. Exercise non-success rows as well as HTTP failures: both raise, but only eligible HTTP/transport failures are retried when configured. Measure memory on realistic historical data volumes. Agree how model inference behaves on null or stale features. Validate authentication and endpoint deployment in the actual environment. Make schema and semantic compatibility checks a release gate before wider adoption.", + "refs": [ + "online", + "offline", + "consistency" + ], + "kind": "", + "foot": "" + }, + { + "title": "A useful boundary for a mixed platform", + "notes": "Close on the decision, not on the number of tests. We have demonstrated a read integration that works for a concrete example. The harder platform design questions are semantic alignment and operational ownership. Invite questions about source-of-truth decisions, migration patterns, latency requirements, and historical correctness. The following two slides are backup material for deeper questions. Leave the main talk here unless the audience wants implementation detail.", + "refs": [ + "pr" + ], + "kind": "closing-slide", + "foot": "" + }, + { + "title": "Appendix: details worth testing", + "notes": "This table comes directly from the PR implementation. Row ordering is positional; there is no reconciliation by a returned entity key. Type declarations drive protobuf conversion, and field mapping applies in both request and response directions. connection_retries defaults to zero and accepts 0\u20135 retries through Feast\u2019s shared HTTP session manager. It retries eligible transport failures and HTTP 429/5xx responses, including the read-only POST. HTTP 400 and per-row Chronon failures are not retried. Timeouts and TLS verification are configurable; timeout is per attempt, and Retry-After/backoff can extend total latency. These behaviors are testable boundaries, not necessarily bugs. The production design needs to decide the acceptable semantics for each one.", + "refs": [ + "online", + "offline" + ], + "kind": "appendix", + "foot": "" + }, + { + "title": "Sources and further reading", + "notes": "Use these links for follow-up discussion. All links are to project documentation or the implementation under discussion. The artifact works offline, but following external citations requires an internet connection. The video, poster, styling, speaker notes, and navigation are included in the HTML itself. Keyboard shortcuts: arrows or Space to move, N for notes, O for overview, F for fullscreen, B to blank the screen, P for a separate presenter window, Home for the opening slide, and End for this source slide.", + "refs": [ + "feast", + "retrieval", + "chronon", + "groupby", + "join", + "components", + "consistency", + "online", + "offline", + "source", + "example", + "pr" + ], + "kind": "appendix", + "foot": "" + } +] \ No newline at end of file diff --git a/docs/presentations/feast-chronon-summit/feast-chronon-summit.html b/docs/presentations/feast-chronon-summit/feast-chronon-summit.html new file mode 100644 index 00000000000..73a2249be8e --- /dev/null +++ b/docs/presentations/feast-chronon-summit/feast-chronon-summit.html @@ -0,0 +1,54 @@ +Feast + Chronon

    Feast + Chronon

    Feature Store Summit

    Feast +
    Chronon

    Using both in a feature platform

    Architecture, a working integration, and the tradeoffs

    Integration case study · PR #6188

    Feast + Chronon01 / 22
    \ No newline at end of file diff --git a/docs/presentations/feast-chronon-summit/speaker-notes.md b/docs/presentations/feast-chronon-summit/speaker-notes.md new file mode 100644 index 00000000000..a22a9286bef --- /dev/null +++ b/docs/presentations/feast-chronon-summit/speaker-notes.md @@ -0,0 +1,177 @@ +# Feast + Chronon + +20 main slides and 2 appendix slides. Approximately 20 minutes plus questions. + +## 1. Feast + Chronon + +Open with the practical question: if a team already uses Feast and starts computing features in Chronon, what should change for the model developer? This talk examines a concrete read integration and when its benefits justify the extra operational surface. The implementation is an open pull request as of September 14, 2026. Avoid presenting it as a released, generally available connector. The demo runs the tested commit fc3c683d9. Suggested main talk duration: approximately 20 minutes, plus questions. + +- [Proposed Feast integration](https://github.com/feast-dev/feast/pull/6188) + +## 2. Where the combination earns its keep + +Frame this as an architectural option for an existing platform, not a universal recommendation. A common API can reduce changes in model code, but the underlying feature definitions, storage choices, and operational dependencies still matter. We will distinguish the architectural benefit from the exact capability of the proposed adapter. An organization that is already happy with one system may have little to gain by adding the other. + +- [Feast: feature retrieval](https://docs.feast.dev/getting-started/concepts/feature-retrieval) +- [Chronon: introduction](https://docs.chronon.ai/getting_started/Introduction.html) + +## 3. Feast in this architecture + +Keep the refresher short. Feast gives consumers logical feature definitions and APIs across supported backends. It is not just a registry, and Feast has other transformation and materialization capabilities. Here we deliberately use it as the consumer-facing layer over features that Chronon owns. The two retrieval calls are separate offline and online interfaces. A consistent surface does not mean all backends support every capability. The code assumes registered objects and a configured store. + +- [Feast: feature views](https://docs.feast.dev/getting-started/concepts/feature-view) +- [Feast: feature retrieval](https://docs.feast.dev/getting-started/concepts/feature-retrieval) + +## 4. Chronon in this architecture + +Chronon is an end-to-end feature platform, not merely a batch preprocessing library. GroupBy defines aggregations, and Join combines groups and establishes the left-hand event timeline for training data. Chronon can serve those features without Feast. The reason to add Feast is the value of its interface in the surrounding platform. Accuracy depends on source type and configuration; we will return to snapshot versus temporal semantics later. + +- [Chronon: introduction](https://docs.chronon.ai/getting_started/Introduction.html) +- [Chronon: GroupBy and accuracy](https://docs.chronon.ai/authoring_features/GroupBy.html) +- [Chronon: Join and backfill timelines](https://docs.chronon.ai/authoring_features/Join.html) +- [Chronon: runtime components](https://docs.chronon.ai/setup/Components.html) + +## 5. An explicit division of responsibility + +The adapter is a read boundary. Its online_write_batch raises NotImplementedError, and its infrastructure update and teardown methods do not manage Chronon infrastructure. The Chronon provider is a small passthrough wrapper, not a Chronon scheduler. Registering a FeatureView in Feast does not deploy the corresponding Chronon jobs. Treat aligned schemas, key types, feature names, timestamps, and versions as an explicit platform contract. + +- [PR: online adapter](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/online_stores/chronon_online_store/chronon.py) +- [PR: offline adapter](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/offline_stores/contrib/chronon_offline_store/chronon.py) +- [PR: ChrononSource](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/offline_stores/contrib/chronon_offline_store/chronon_source.py) + +## 6. Two read paths, one consumer interface + +Walk from source data to Chronon, then split the online and offline paths. The online path calls Chronon’s service rather than duplicating values into another Feast-managed online database. Offline retrieval in this PR reads Parquet through pandas. The export/publication boundary matters: this adapter does not launch a Chronon backfill or provide an automatic warehouse-table export pipeline. Arrows show feature-value flow rather than request direction. Feast registry metadata configures both adapters; no registry RPC on every request is implied. The diagram describes the PR architecture, not every possible Feast or Chronon deployment. + +- [PR: online adapter](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/online_stores/chronon_online_store/chronon.py) +- [PR: offline adapter](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/offline_stores/contrib/chronon_offline_store/chronon.py) +- [Chronon: runtime components](https://docs.chronon.ai/setup/Components.html) + +## 7. The online request boundary + +The actual route percent-encodes the Chronon object name. The source can override the store-level base URL. The adapter expects one result row per requested entity key and assumes response order matches request order. HTTP failures and non-success result rows raise errors. Successful responses preserve null/missing feature values. The model can distinguish expected absence from a failed retrieval. Optional connection_retries adds up to five retries through Feast’s HTTP session manager; retries default to zero. Requested feature filtering happens after Chronon responds, so it does not necessarily reduce upstream computation or response size. + +- [PR: online adapter](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/online_stores/chronon_online_store/chronon.py) + +## 8. Historical retrieval uses materialized rows + +The implementation loads materialized Parquet into pandas, groups by entity key, and performs backward merge_asof joins. A nonzero FeatureView TTL limits row age. This does not recompute a rolling window for every requested timestamp. A snapshot computed at 10:00 is still a 10:00 snapshot when selected for 10:05. Ensure the exported timeline and intended Chronon accuracy match the training objective. If duplicate entity/event-time rows exist, the latest configured created timestamp wins. There is no separate historical knowledge-time cutoff in that selection, so revision handling needs an explicit policy. + +- [PR: offline adapter](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/offline_stores/contrib/chronon_offline_store/chronon.py) +- [Chronon: GroupBy and accuracy](https://docs.chronon.ai/authoring_features/GroupBy.html) +- [Chronon: Join and backfill timelines](https://docs.chronon.ai/authoring_features/Join.html) + +## 9. The integration surface is small + +These are configuration excerpts, not a full standalone program. Source-level materialization_path identifies the offline data. Exactly one Chronon Join or GroupBy identifies the online object. The same logical definition can reference both, but keeping their versions aligned is the platform’s responsibility. The complete runnable example is linked in the sources. The local demo uses HTTP on loopback; production endpoint and authentication choices require separate validation. Do not suggest that feast apply starts or materializes Chronon jobs. + +- [PR: ChrononSource](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/offline_stores/contrib/chronon_offline_store/chronon_source.py) +- [PR: runnable demo](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/examples/chronon/run_demo.py) +- [Proposed Feast integration](https://github.com/feast-dev/feast/pull/6188) + +## 10. Checkout example: the code path + +Walk through the highlighted lines before playing the video. First, the ChrononSource sits inside the checkout_risk_features FeatureView. QUICKSTART_JOIN is quickstart/training_set.v2. The complete FeatureView declares a string user_id key, ten purchase/refund fields, online=True, and offline=False. The demo includes placeholder Parquet metadata to define the source; it does not read that placeholder to serve online features. Second, the FeatureService named checkout_risk_v1 selects that FeatureView. store.apply registers the entity, view, and service in Feast; it does not run Chronon aggregation jobs. Finally, the SDK requests users 5, 7, and 999999, and converts the result to a dictionary. The entity-row comprehension is inlined here from the demo helper so the requested users are visible. All other displayed executable lines are taken from the example, with metadata and setup deliberately omitted. The ten-feature schema and direct Chronon comparison remain in the full example. These snippets explain the flow rather than form a standalone script. + +- [PR: runnable demo](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/examples/chronon/run_demo.py) +- [PR: ChrononSource](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/offline_stores/contrib/chronon_offline_store/chronon_source.py) +- [PR: online adapter](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/online_stores/chronon_online_store/chronon.py) + +## 11. Feast UI: the checkout feature catalog + +This is an actual screenshot of the local Feast UI with the checkout demo registry, captured September 14, 2026. Point to checkout_risk_v1 at the top: it is the FeatureService in the previous code slide. The service selects ten features from one FeatureView. The table exposes feature names and value types and links back to the view. Tags identify the Chronon checkout-risk scenario, while the entity link identifies user. The left navigation and search make the broader registry discoverable. This is a concrete reason a platform with existing Feast users might retain Feast while Chronon computes the values. The screenshot shows registry metadata, not live feature values, Chronon job execution, or a demonstrated monitoring integration. The screenshot uses locally built Feast UI assets with the PR backend and its real example definitions. Only the top portion of the feature table is visible; all ten features exist in the registry. Continue to the video to show retrieval from the actual Chronon service. + +- [PR: runnable demo](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/examples/chronon/run_demo.py) +- [Feast: feature views](https://docs.feast.dev/getting-started/concepts/feature-view) +- [Proposed Feast integration](https://github.com/feast-dev/feast/pull/6188) + +## 12. A working checkout example + +Play the embedded video. It is packaged in this HTML and does not need a network connection. It has no audio, so narrate over it. First we read a small generated historical Parquet sample. Then we fetch from a real Chronon quickstart service backed by MongoDB. Finally, the checkout FeatureService fetches ten features for three users, and we compare those values to direct Chronon responses. This is a local integration demo, not a production deployment or a live-stream freshness demonstration. If video playback is unavailable, the next slide preserves the key results. + +- [PR: runnable demo](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/examples/chronon/run_demo.py) + +## 13. What the demo establishes + +These are measured results from our September 13 run at fc3c683d9. Do not describe 39 tests as the entire repository suite. Seven are offline and HTTP-stub integration tests; one specifically exercises the real Chronon service. The thirty comparisons cover ten features for each of three users and allow Float32 rounding. Missing values for the unknown user are part of the comparison. This establishes a working read path and selected correctness cases, not comprehensive semantic equivalence across historical and online data at scale. + +- [PR: runnable demo](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/examples/chronon/run_demo.py) + +## 14. Benefits of the combination + +These are architectural benefits inferred from the integration, not benchmark results. The native Chronon service remains the serving backend, so this path does not require a second copy in a Feast-managed online store. The incremental adoption argument is about keeping consumer interfaces familiar. It is not a promise of arbitrary multi-backend composition within this PR: backend configuration and unsupported combinations still need validation. There is still metadata to author in both systems. + +- [PR: online adapter](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/online_stores/chronon_online_store/chronon.py) +- [PR: ChrononSource](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/offline_stores/contrib/chronon_offline_store/chronon_source.py) +- [Feast: feature retrieval](https://docs.feast.dev/getting-started/concepts/feature-retrieval) + +## 15. Costs of the combination + +Be candid about the cons. The exact overhead depends on the alternative: native Chronon clients and HTTP clients have different baselines. We have not measured a latency penalty, so avoid attaching numbers. This Python adapter uses synchronous HTTP requests. Retries are opt-in and bounded by attempt count; timeout is per attempt, not a total deadline. Backoff and Retry-After can extend latency. Benchmark the entire model request, including fanout and cold starts. Metadata release coordination and incident ownership are real costs even if the adapter code is small. A shared interface can hide differences from callers without eliminating them. + +- [PR: online adapter](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/online_stores/chronon_online_store/chronon.py) +- [Chronon: runtime components](https://docs.chronon.ai/setup/Components.html) +- [PR: ChrononSource](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/offline_stores/contrib/chronon_offline_store/chronon_source.py) + +## 16. Time semantics still need an agreement + +Chronon SNAPSHOT and TEMPORAL accuracy encode different evaluation timelines. A Feast as-of selection over exports must preserve the chosen meaning. TTL here bounds how old a materialized row can be, not the aggregation window length. For instance, a 30-day purchase sum may have an hourly publication cadence and a separate freshness target. Do not treat those three intervals as equivalent. The current created-time rule chooses the latest revision for duplicate event times; it does not reconstruct when each revision became knowable. Validate late data, revisions, time zones, nulls, and timestamp precision for the intended use case. + +- [Chronon: GroupBy and accuracy](https://docs.chronon.ai/authoring_features/GroupBy.html) +- [Chronon: Join and backfill timelines](https://docs.chronon.ai/authoring_features/Join.html) +- [PR: offline adapter](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/offline_stores/contrib/chronon_offline_store/chronon.py) +- [Chronon: online/offline consistency](https://docs.chronon.ai/test_deploy_serve/Online_Offline_Consistency.html) + +## 17. The current adapter has a narrow scope + +Anchor limitations to the tested PR revision, not to the projects in general. The current revision reads only required Parquet columns before doing local joins. It does not push retrieval into Spark or a warehouse engine. The retrieval job supports Parquet saved datasets and local on-demand transforms; SQL export remains unsupported. SavedDataset round-trips use provider: chronon and preserve request data and custom timestamps. These additions passed 68 targeted unit tests plus seven offline/HTTP-stub integration tests on September 14. The embedded live demo remains the September 13 recording at fc3c683d9. The PR documentation lists Python SDK support and no direct Go or Java adapter support. Online infrastructure update and teardown are no-ops. Chronon online freshness remains Chronon-owned; the historical TTL filter is not a universal online TTL guarantee. Check upstream status before presenting because the PR remains open. + +- [PR: offline adapter](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/offline_stores/contrib/chronon_offline_store/chronon.py) +- [PR: online adapter](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/online_stores/chronon_online_store/chronon.py) +- [Proposed Feast integration](https://github.com/feast-dev/feast/pull/6188) + +## 18. Choosing the shape of the platform + +This is a decision framework, not a ranking. It is reasonable to choose either system alone. Keep Feast with the pipelines you already have if those pipelines solve the problem. Use Chronon directly when its native workflow is enough. Combine them when stable Feast consumer interfaces and Chronon computation both deliver concrete value. Do not choose two platforms merely because the integration exists. Team expertise, backend compatibility, latency budget, and migration cost should drive the choice. + +- [Chronon: introduction](https://docs.chronon.ai/getting_started/Introduction.html) +- [Feast: feature retrieval](https://docs.feast.dev/getting-started/concepts/feature-retrieval) +- [Proposed Feast integration](https://github.com/feast-dev/feast/pull/6188) + +## 19. Production validation beyond the demo + +These are next engineering steps, not claims that the adapter already provides them. Compare against an appropriate native Chronon baseline, and use realistic feature counts and entity batch sizes. Exercise non-success rows as well as HTTP failures: both raise, but only eligible HTTP/transport failures are retried when configured. Measure memory on realistic historical data volumes. Agree how model inference behaves on null or stale features. Validate authentication and endpoint deployment in the actual environment. Make schema and semantic compatibility checks a release gate before wider adoption. + +- [PR: online adapter](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/online_stores/chronon_online_store/chronon.py) +- [PR: offline adapter](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/offline_stores/contrib/chronon_offline_store/chronon.py) +- [Chronon: online/offline consistency](https://docs.chronon.ai/test_deploy_serve/Online_Offline_Consistency.html) + +## 20. A useful boundary for a mixed platform + +Close on the decision, not on the number of tests. We have demonstrated a read integration that works for a concrete example. The harder platform design questions are semantic alignment and operational ownership. Invite questions about source-of-truth decisions, migration patterns, latency requirements, and historical correctness. The following two slides are backup material for deeper questions. Leave the main talk here unless the audience wants implementation detail. + +- [Proposed Feast integration](https://github.com/feast-dev/feast/pull/6188) + +## 21. Appendix: details worth testing + +This table comes directly from the PR implementation. Row ordering is positional; there is no reconciliation by a returned entity key. Type declarations drive protobuf conversion, and field mapping applies in both request and response directions. connection_retries defaults to zero and accepts 0–5 retries through Feast’s shared HTTP session manager. It retries eligible transport failures and HTTP 429/5xx responses, including the read-only POST. HTTP 400 and per-row Chronon failures are not retried. Timeouts and TLS verification are configurable; timeout is per attempt, and Retry-After/backoff can extend total latency. These behaviors are testable boundaries, not necessarily bugs. The production design needs to decide the acceptable semantics for each one. + +- [PR: online adapter](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/online_stores/chronon_online_store/chronon.py) +- [PR: offline adapter](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/offline_stores/contrib/chronon_offline_store/chronon.py) + +## 22. Sources and further reading + +Use these links for follow-up discussion. All links are to project documentation or the implementation under discussion. The artifact works offline, but following external citations requires an internet connection. The video, poster, styling, speaker notes, and navigation are included in the HTML itself. Keyboard shortcuts: arrows or Space to move, N for notes, O for overview, F for fullscreen, B to blank the screen, P for a separate presenter window, Home for the opening slide, and End for this source slide. + +- [Feast: feature views](https://docs.feast.dev/getting-started/concepts/feature-view) +- [Feast: feature retrieval](https://docs.feast.dev/getting-started/concepts/feature-retrieval) +- [Chronon: introduction](https://docs.chronon.ai/getting_started/Introduction.html) +- [Chronon: GroupBy and accuracy](https://docs.chronon.ai/authoring_features/GroupBy.html) +- [Chronon: Join and backfill timelines](https://docs.chronon.ai/authoring_features/Join.html) +- [Chronon: runtime components](https://docs.chronon.ai/setup/Components.html) +- [Chronon: online/offline consistency](https://docs.chronon.ai/test_deploy_serve/Online_Offline_Consistency.html) +- [PR: online adapter](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/online_stores/chronon_online_store/chronon.py) +- [PR: offline adapter](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/offline_stores/contrib/chronon_offline_store/chronon.py) +- [PR: ChrononSource](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/sdk/python/feast/infra/offline_stores/contrib/chronon_offline_store/chronon_source.py) +- [PR: runnable demo](https://github.com/feast-dev/feast/blob/55873756b36d8b73c277c7971959aa8dc3fb9649/examples/chronon/run_demo.py) +- [Proposed Feast integration](https://github.com/feast-dev/feast/pull/6188) \ No newline at end of file