How to Ingest Web & RSS Feeds into Delta Lake Without Spark (Using Acero & Python)

Why skip Spark for RSS and web feed ingestion

You can ingest RSS (Really Simple Syndication) and web feeds into Delta Lake on a single node with Python, PyArrow Acero, and delta-rs. You do not need a JVM Spark cluster.

Small and medium scheduled jobs fit cheap containers: AWS Lambda, AWS Fargate, or a low-cost VPS. Paying for Spark capacity for a few feeds and a few megabytes per run wastes money and ops time. This proof of concept also extracts actors and roles from each article so you can analyze who appears in the news and what role they play.

Dashboard Screenshot

The full code example is on GitHub.

Apache Arrow: columnar memory for fast transforms

Apache Arrow is a language-agnostic columnar in-memory format. It stores values by column, not by row, so filters and aggregates scan less memory and run vectorized operations. Arrow also ships libraries to move that data across languages (Python, Rust, C++, Go, and others).

This project uses PyArrow, the Python API for Arrow. Most compute runs in the C++ core. That keeps Python orchestration thin and the transforms fast.

Loading...

Acero: low-latency single-node streaming execution

Acero is the PyArrow streaming execution engine. It processes batches with stream-like semantics on one machine. For many small RSS or scrape payloads, that design keeps memory and CPU low.

Acero is not a distributed cluster engine. Scale out by running many single-node jobs under an orchestrator such as Dagster or Apache Airflow, not by turning Acero into Spark.

Loading...

Delta Lake: ACID appends for scraper reliability

Treat RSS and web scrape output as append-only lakehouse tables. Delta Lake stores Parquet data plus a transaction log so tables support ACID (Atomicity, Consistency, Isolation, Durability) writes, schema evolution, and time travel.

ACID matters for scrapers: if a run crashes mid-write, you do not leave a half-written corrupt table. Databricks open-sourced the format; it works on cloud object storage (for example AWS S3) and on local paths.

This proof of concept uses delta-rs: a Python API with a Rust core. You read and write Delta tables from Python without a Spark cluster.

Build the ingestion pipeline with Acero

Call create_press_releases_sources to pull each RSS feed into an Arrow table and wrap it as an Acero table source.

Iterate over those sources. curate_news applies an Acero project so Acero reads batches from the in-memory Arrow table. Here the project only sets the order of columns. You can also drop or add columns, or transform values with PyArrow compute functions.

Call store to append each table to Delta Lake. The same loop extracts actors from the curated news and appends that table as well.

Loading...

Download and normalize RSS feed entries

download_entries parses one feed, skips IDs already stored in state, and builds a typed PyArrow table. Columns are title, published time, description, link, id, thumbnail URL, and category (the feed id).

Loading...

Analyze the curated Delta tables

Visualize the curated tables with a Streamlit dashboard. The example shows a news timeline, detected entities and roles, category distribution, and a detail view for one article. Launch it with:

Loading...
Dashboard News Detailed Screenshot

For ad hoc analysis, open the Delta tables and convert them to Pandas:

Loading...

Inspect the curated news:

Loading...

Inspect actors and roles:

Loading...

Deploy, limits, and next steps

Hardening this proof of concept means fixing state, concurrency, and ops around the core append path:

  • Store RSS item IDs in a store with fast lookups.
  • Enrich articles with named entities through an LLM (large language model) or a NER (named entity recognition) library.
  • Add fail-over so a failed run can restart without breaking table consistency.
  • Define how you parallelize pipelines and keep them running continuously.
  • Reduce high-cardinality actor roles from the model output.
  • Run Acero jobs under an orchestrator (Dagster, Prefect, or Airflow) that loops, schedules, and monitors tasks.
  • Extract entities concurrently; the current path is sequential and transforms the same data more than once.

When you deploy this pipeline on AWS, store Delta or Parquet output on S3. Serve related static assets with a low-cost S3 + CloudFront setup; see Deploy a low-cost static website on AWS with Terraform.