Chronon: Turning Feature Commits into Fresh Embeddings
A step-by-step look at how Chronon turns streaming feature commits into fresh model inputs, cutting recommender staleness from nearly two days to seconds.
Loading…
Topic
130 posts about Streaming. Every summary links to the original.
See the idea
A step-by-step look at how Chronon turns streaming feature commits into fresh model inputs, cutting recommender staleness from nearly two days to seconds.
A tradeoff map for synthetic audiobooks: natural-language style control buys character differentiation, but spends captioned data, tokens, and compute. See which lever to pull first and when plain narration is good enough.
AG-UI is a typed event contract between an agent backend and a frontend, turning streamed agent state into UI. This diagram maps the layers and shows where human review plugs in.
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Databricks announced general availability of a native Lakebase sink for Apache Spark Structured Streaming, a connector that writes computed results directly to Lakebase Postgres, its fully managed serverless PostgreSQL database. The sink handles batching, retries, connection pooling, deduplication, and upserts automatically, and supports declarative merge strategies for non-key columns, eliminating custom foreach writers. It supports both micro-batch and Real-Time Mode, and works with tables registered in Unity Catalog or external PostgreSQL databases via a connection. In a benchmark with 20K events per second and 5 million active users, the sink achieved P50 latency of 183 ms and P99 latency of 354 ms, with Lakebase averaging 0.015 ms per upsert over 63.5 million upserts. The sink is built for low-latency use cases like fraud detection, live personalization, and real-time feature computation, as demonstrated in a video recommendation feature pipeline.
Apache Spark is a unified engine for batch, streaming, SQL, and AI, while Apache Flink is a stream-native processor designed for specialized event-processing workloads. Spark’s Real-Time Mode now delivers millisecond end-to-end latency, matching Flink on stateless transformations and achieving lower p99 latency on stateful aggregation and stream-static joins in Databricks’ published benchmark. Production users like MakeMyTrip chose Spark Real-Time Mode to avoid operating a second engine, cutting P50 latency to 44 milliseconds and P99 from over a minute to about 500 milliseconds. Flink remains the better fit for specialized workloads such as very large keyed state, complex event processing with CEP or SQL MATCH_RECOGNIZE, or teams that already run a Flink platform. Choosing Spark avoids duplicating code, skills, and governance across two engines, as the same DataFrame and SQL logic runs as batch, micro-batch, or continuous stream.
Real-time fraud detection needs three feature types: recent activity (e.g., five-minute transaction count), spending baselines (30-day average and standard deviation), and current payment details. Databricks Feature Views address this by defining each feature once for both training and serving, producing point-in-time correct training data and online inference pipelines. The walkthrough follows a $900 payment from a Kafka stream through RollingWindow and SawtoothWindow aggregations to a fraud score from Model Serving. Feature Views prevent training-serving skew and data leakage; on-demand features compare the current amount against stored baselines at request time. Unity Catalog governs definitions, permissions, and lineage, while MLflow records model dependencies and Model Serving retrieves features from the Online Feature Store.
Databricks announced the general availability of Real-Time Mode (RTM) for Spark Declarative Pipelines (SDP), enabling low-latency streaming pipelines. RTM is an evolution of the Spark Structured Streaming engine that achieves millisecond-range latencies by streaming data continuously, running all query stages simultaneously, and passing data between stages as soon as it is produced. Benchmarked against Apache Flink on actual customer workloads performing feature computation, RTM was up to 92% faster, and it eliminates the need for separate specialized engines like Flink. To use RTM, users configure the pipeline in continuous mode, set spark.databricks.streaming.realTimeMode.enabled to true, and define an update flow with pipelines.trigger set to ‘RealTime’ targeting a sink. RTM on SDP supports operational use cases including fraud detection, live personalization, real-time recommendations, and real-time feature computation, with the Databricks Feature Store achieving end-to-end p99 latency of 200ms from Kafka to the online feature store.
Energy trading desks face increasing price volatility and the EU’s move from hourly to 15-minute market intervals, multiplying market periods by four. Separating operational and analytical systems creates two versions of truth, stale risk controls, duplicated governance, and extra synchronization. Databricks addresses this with a unified platform: Spark Structured Streaming Real-Time Mode streams market data with millisecond latency into Lakebase, a serverless Postgres serving as the operational database. The same governed data supports real-time trading apps in Databricks Apps, machine learning models for price forecasts, and historical analysis via Genie One, all under Unity Catalog governance. This eliminates separate data copies and synchronization pipelines, enabling risk monitoring and analytics to work from a single consistent data foundation.
For most of the last decade, API calls were transactions, but streaming has become essential for AI model responses, agent progress updates, and live dashboards, forcing a split between governed and ungoverned endpoints. Until now, developers had to make an uncomfortable choice: put streaming endpoints through the gateway and give up streaming, or route them around the gateway and give up governance. This announcement adds native streaming support for SSE, WebSockets, gRPC streaming, and chunked encoding, with no changes to your API specification and streams open for up to one hour. During Public Preview, streaming is enabled by a single flag at gateway creation; existing gateways must be recreated to enable streaming. A deterministic hostname that can be predicted before the gateway exists, along with model routing integration for streaming responses from Gemini, Claude, and OpenAI models, unifies governance for all traffic types.
Voice agents that block on slow tool calls produce dead air, causing users to assume the call dropped and hang up. The open-source Agent Development Kit (ADK) with gemini-3.8-live addresses this with two non-blocking patterns. Streaming tools use Python async generators that yield progress updates, enabling the agent to narrate stages like connecting, scanning records, and aggregating revenue while the task runs in the background. Background execution uses single-yield generators or FunctionTool with response_scheduling to deliver results when idle, allowing users to ask unrelated questions without cancellation, and benchmark sales-report workflows show first words appearing in 1.2 seconds instead of 14.4. Scheduling modes WHEN_IDLE, INTERRUPT, and SILENT control when the model reacts to incoming tool results, ensuring the agent remains conversational throughout complex operations, with production features for cancellation and idempotency.
Airbnb’s guest sequence recommender previously refreshed Transformer-based embeddings in a daily batch, leaving activity from earlier the same day unavailable until the following run and creating up to nearly two days of staleness. To close this gap, Airbnb added Push Mode, which emits notifications when streaming feature values commit, and Near-real-time Model Transform, which invokes the deployed sequence encoder inside that streaming pipeline. Each page view or search is merged with the guest’s long-term and short-term sequence data, triggers inference, and writes a fresh embedding to the same low-latency store used by batch serving. The resulting system typically updates embeddings in under a minute, often within 10–30 seconds, improved offline NDCG by 1.67%, and increased uncancelled bookings by approximately one-third of a percent in online A/B tests.
The benchmark compares ClickHouse Cloud with Snowflake under a continuous real-time workload, asking whether ingested data becomes query-ready quickly enough for interactive analytics. Both systems received the same 113.2-billion-row NBBO dataset at a target of 1 million rows per second, with matched sorting or clustering keys, pre-aggregations, query schedules, and approximately 16 CPUs of query-serving compute. ClickHouse used native asynchronous inserts and maintained ordering and pre-aggregation during ingestion, while Snowflake used Snowpipe Streaming and Interactive MV refresh as separately metered services. In the end-to-end CostBench comparison, ClickHouse Cloud delivered 412× better performance per dollar: Snowflake’s path cost 3.32× more and its matched queries took 124× longer in total. The comparison attributes the gap to query-readiness work, refresh lag, reconciliation, and growing drill-down latency.
CostBench measures real-time performance per dollar by evaluating the full path from continuously arriving rows to query-ready data and query results. Its end-to-end workload streams more than 100 billion stock-market quotes at a target rate of 1 million rows per second while aggregate and drill-down queries run, comparing ClickHouse Cloud, Snowflake, BigQuery, and Redshift Serverless through their recommended push-based ingestion paths. The benchmark accounts for fresh-data-path work—columnar ingestion, pruning-friendly layouts, and current pre-aggregations—alongside query-serving cost and accumulated runtime. ClickHouse Cloud recorded the lowest fresh-data-path cost, query-serving cost, and accumulated runtime, while the alternatives showed 412–1,996× worse end-to-end performance per dollar; the source says it was the only tested system keeping both data representations current during ingestion. The post introduces follow-up architecture and billing analyses.
ClickHouse 26.8 can serve as a streaming HTTP API for controlled queries, using named handlers rather than requiring a separate pass-through layer. Using the UK property prices dataset, it sets up a MergeTree table with 30,452,463 transactions spanning 1995-01-01 to 2025-07-31 and occupying 339.08 MiB. The implementation covers named endpoints, typed query-string and URL-path parameters, result modification, direct table exposure, and framing formats that stream query data and progress in one response. It also uses an API user with a default JSONEachRow format and row limit, query logs for request visibility, and a SQL SECURITY DEFINER view to expose aggregates without granting access to source transactions. These features can replace a pass-through service for controlled queries, while business logic, orchestration, or application-specific validation still require an application layer.
IBM and Confluent are making IBM Granite Time Series foundation models available in Early Access on Confluent Cloud, bringing forecasting and other time-series capabilities into streaming workflows. The announcement addresses the cost and delay of bespoke models by offering models that generalize across previously unseen series and can be used for forecasting, anomaly detection, similarity search, classification, gap-filling and optimization. Native inference runs directly in Apache Flink through Confluent’s AI_FORECAST and AI_DETECT_ANOMALIES functions, with Flink maintaining keyed, fault-tolerant state for each series and results written to Kafka topics. Confluent manages serving, scaling and runtime operations while retaining schemas, lineage, access controls and replayable data within the platform. Early Access starts on Confluent Cloud on AWS at no charge, with Confluent Platform planned next for on-premises and hybrid environments.
Databricks previews its VLDB 2026 keynote, four accepted papers, a demo, and a sponsor talk covering database architecture, streaming, and Lakehouse optimization. Reynold Xin will introduce Lakebase, which separates serverless PostgreSQL compute from storage, and LTAP, a transactional-analytical model intended for AI-agent workloads; Lakebase stores data and write-ahead logs in cloud object storage and supports sub-second cold starts and copy-on-write branching. The papers describe a decade of Spark Structured Streaming evolution, including microbatch pipelining that improved throughput by up to 3x, stateful APIs, and fine-grained access control, alongside AutoLiquid’s CLUSTER BY AUTO and Ultron’s history-based query optimization. AutoLiquid outperformed customer-selected clustering keys on over 95% of evaluated workloads, while Ultron improved median join latency by 25% in production workloads. The program also includes an Enzyme demonstration of incremental materialized-view maintenance and a sponsor presentation on LakehouseRT and the Reyden engine.
Databricks is extending declarative ETL patterns into the Lakehouse SQL Editor so SQL practitioners can define recurring transformations without a dedicated pipelines-oriented environment. The initial operations cover append-only updates, change data capture through AUTO CDC, and targeted batch overwrites through REPLACE WHERE; flows can be scheduled, triggered by upstream updates, run on demand, or orchestrated through SQL tasks in Jobs. APPEND tracks processed source data, AUTO CDC handles keys, sequencing, deletes, and SCD Type 1 or Type 2 results, while Enzyme can incrementally process changed data for REPLACE WHERE. In Lakehouse benchmark testing, Enzyme-powered REPLACE WHERE ran 3.4x faster and 2.5x cheaper than traditional REPLACE WHERE, while users can retain procedural SQL and later move to the Lakeflow Pipelines Editor for multi-file development, dependencies, validation, and deployment.
Open table formats add metadata layers over Parquet or ORC files in object storage, enabling ACID transactions, schema evolution, time travel, and database-like consistency for data lakes. Apache Iceberg uses manifests and manifest lists in a metadata tree, supports partition evolution without rewriting existing files, and creates immutable snapshots for auditing, rollback, and reproducible queries. Delta records atomic writes in an ordered transaction log with checkpoints and is closely associated with Spark, while Hudi uses record-level indexes for frequent updates, change-data-capture, and near-real-time ingestion. All three share core capabilities but differ in partition evolution, update and delete strategies, and multi-engine support; Parquet and ORC remain file formats rather than table formats. The overview recommends scheduled compaction, metadata maintenance, health monitoring, and a production-volume proof of concept when selecting a format.
Netflix operates over 30,000 Apache Flink jobs across multiple AWS regions, ranging from managed pipelines to complex stateful DAGs. Its initial in-house autoscaler used external telemetry from Mantis and Atlas to scale TaskManagers as a single unit, cutting resource usage by 25–45% but failing on multi-operator stateful topologies. To address these limitations, Netflix adopted the Apache Flink Autoscaler library, which calculates True Processing Rate and per-vertex parallelism using internal metrics. The architecture uses Temporal workflows orchestrated within a Spring Boot application to evaluate jobs individually and prevent cross-job blast radiuses. Implementing the open-source autoscaler reduced annualized compute expenditures by 58% for client telemetry and logging, saving approximately $1.1 million.
Sony LIV’s legacy analytics environment combined batch pipelines, Elasticsearch, BigQuery, and other telemetry stores, creating slow, costly, fragmented analysis as streaming activity reached billions of events per day. During live sports, the platform needed sub-second queries, high ingestion throughput, cost-efficient long-term storage, and horizontal scaling for sudden traffic spikes. Sony LIV consolidated these workloads on ClickHouse Cloud: client, streaming, CDN, and advertising systems send events through Amazon Kinesis and ClickPipes into a ClickHouse cluster serving dashboards, product analytics, QoE, and SRE workflows. The source reports that queries previously taking tens of seconds to minutes now run in sub-second to low-single-digit seconds, improving operational responsiveness, engineering productivity, and the handling of major live-event traffic.
Databricks Feature Store addresses the lag between batch-computed machine-learning features and decisions that depend on events from seconds earlier. It lets a feature definition drive both offline batch processing and online streaming pipelines, orchestrating Kafka ingestion, Spark Real-Time Mode (RTM), Lakebase, and Model Serving. For a rolling 10-minute transaction sum, RTM updates per entity state in local RocksDB, expires contributions per event, and writes revised values to Lakebase through a streaming JDBC sink. The described path reports end-to-end p99 200ms latency from Kafka arrival to online feature availability, while Model Serving retrieves declared dependencies automatically at inference. Tumbling and sliding windows remain options when fewer, cheaper updates are acceptable.
Bosch Mobility Platform Solutions developed the Logistics Operating System on AWS to unify vehicle tracking across fragmented spot logistics markets. The system standardizes multiple telematics providers, disparate data formats, and diverse communication protocols into a centralized visibility layer. Orchestration is handled by a Tracking Connector running on Amazon ECS with AWS Fargate, while AWS Lambda functions act as provider-specific adapters for protocol translation. Event-driven message ingestion and streaming rely on Amazon MSK, complemented by Amazon ElastiCache for low-latency caching and Amazon DynamoDB for compliance policy enforcement. Currently operational in India with ten integrated ISVs, the platform reportedly reduces integration costs by 15–20% and lowers total tracking costs for small transporters by 25–30%.
This walkthrough presents a streaming data loop for Strands Robots that records robot demonstrations, stores them in Hugging Face Storage Buckets, trains from the growing dataset, and deploys a resulting policy back to hardware. It uses the LeRobot on-disk format throughout: Robot("so100") records through DatasetRecorder, sync_dataset_to_bucket writes changed bytes to a mutable bucket, and stream_dataset reads the dataset from the Hub without a full local download while decoding camera video on the fly. The agent can decide which episodes to keep and when to retrain, while the same Robot object records and streams data; deployment changes the robot mode keyword from simulation to real. The default simulation path runs with a mock policy that produces a valid dataset but not a useful one, while hardware, bucket, and training paths require additional dependencies.
The best engineering reads, once a week.