Data and analytics

Data lakes and lakehouses

One governed copy of your data in open formats, readable by each engine you use.

How we do it

Overview

A data lake begins with a reasonable idea, which is to put everything in inexpensive object storage in open file formats and decide later how it will be used. By the time that later point arrives, the lake usually holds thousands of folders named by whoever created them, files that cannot be dated and three copies of the same export with no way to tell which one is current. The data has not been lost, but it can neither be found nor trusted, and access can only be granted or refused for a whole bucket at once.

Open table formats such as Apache Iceberg and Delta Lake changed what a lake can do. They add a transaction log over the files, which gives a table in object storage atomic commits, schema evolution and the ability to read an earlier snapshot, and this combination of warehouse behavior on lake storage, readable by several engines, is what is meant by a lakehouse. It comes with running costs, because tables need compaction and snapshot cleanup, the catalog becomes a system that everything else depends on, and engines differ in how fully they support each format.

We design lakes and lakehouses for the workloads that need them, such as large volumes of events and sensor readings, semi-structured records, documents and images, and the machine learning and AI work that reads all of these. The storage layout, table format, catalog and access model are designed together, since a decision about any one of them constrains the others, and when a conventional warehouse would serve you better we will recommend that.

Challenges we address

The failures we are usually called in to fix
  1. A lake nobody can search

    Years of files sit in object storage under folder names that meant something to the person who created them, with no catalog, no owner for each dataset and no record of where any file came from. Analysts end up asking a colleague or exporting the data again.

  2. Millions of small files

    A streaming job writes a new file every few seconds, and a year later a single table consists of millions of tiny objects. Planning a query now takes longer than running it and the storage requests cost more than the storage, because the table had no owner to schedule compaction.

  3. Each engine sees a different table

    Spark writes through one catalog, the SQL engine reads through another and a notebook reads the files directly by path, so a schema change appears in one place and is missing from the others. Two teams can query the same table and get different row counts.

  4. Access granted by the bucket

    Permissions are storage policies on paths, so a data scientist who needs one column of one table is given the whole prefix with its personal data included. Masking and row filters exist in one engine, and any tool that reads the files directly bypasses them.

  5. Documents dumped in for AI

    Contracts, emails and scans are copied into the lake to feed a model, and the copy loses the permissions, the retention date and the link to the source record. As a result it is no longer possible to say who is allowed to see a file or when it has to be deleted.

Our approach

How the work runs, in order
  1. Start from the workloads

    We list who will read and write the data, with which engines, at what volume and how fresh it has to be. Reporting on a few structured sources points toward a warehouse, while event streams, nested records, files and model training point toward a lake, and many organizations need both on a shared storage layer.

  2. Choose format and catalog together

    We compare table formats against the engines you run now and expect to run later, testing in each engine the features you need, such as row-level deletes or streaming writes. The catalog is chosen at the same time, because it determines which tools can find a table and where access rules are enforced.

  3. Lay out zones and ownership

    Storage is organized into raw, cleaned and curated zones, with a naming convention, a lifecycle rule and a named owner for each dataset. Raw data is kept immutable in its original form, and the only way to write to a curated zone is through a registered table.

  4. Enforce access at the catalog

    Permissions on tables, columns and rows are defined in the catalog and issued to engines as short-lived, scoped credentials, and direct path access to the governed zones is closed. Files and documents are given classification, source and retention metadata from the moment they land.

  5. Automate table maintenance

    Compaction, snapshot expiry, orphan file removal and statistics collection run on a schedule for every table, and file counts and metadata size are monitored. For the cases that need a person, such as a failed commit, a rollback to an earlier snapshot or an erasure request, your team gets runbooks.

Technical capabilities

What we design, build and operate
  • Open table formats

    We set up Apache Iceberg, Delta Lake or Apache Hudi tables with schema evolution, partition design, snapshot isolation and time travel, choosing the format for each workload by what its engines support.

  • Storage layout and lifecycle

    We define the bucket and prefix structure, zones, naming, encryption, replication and tiering rules, so that cold data moves to cheaper storage classes without breaking the tables that refer to it.

  • Catalog design

    One catalog serves as the record for tables, and engines connect to it through open interfaces such as the Iceberg REST catalog protocol where they support it, so that every tool resolves to the same table.

  • Fine-grained access control

    Policies at table, column and row level, masking of sensitive fields and credential vending, which together mean that query engines never hold broad, long-lived storage keys.

  • Semi-structured data handling

    We ingest and model JSON, Avro and nested Parquet, check inferred schemas against rules, and detect drift when a producer adds a field or changes its type.

  • Unstructured data management

    Documents, images and audio are stored alongside metadata tables recording source, owner, classification, permissions and retention, which makes it possible to search, govern and delete them.

  • Data for machine learning

    Training datasets are versioned and read from table snapshots, feature tables are shared between training and scoring, and Spark, Python and SQL engines all have direct access to the same files.

  • Table maintenance automation

    Compaction, snapshot expiry and cleanup run on a schedule, and deletes physically remove the data whenever a privacy erasure request requires it.

Where it applies

Business applications
  • Event, log and sensor data

    Clickstreams, device telemetry, application logs and other high-volume, append-heavy data, kept in full at a storage cost that a warehouse could not match.

  • Training data for models

    Datasets for machine learning that can be reproduced, so that any model can be traced back to the exact snapshot of the tables it was trained on.

  • A corpus for retrieval and AI

    Documents and transcripts are stored once together with their permissions and retention, ready for a search service to chunk, embed and index them.

  • Sharing data across engines

    A single copy of large tables is read by a warehouse engine for reporting, by Spark for heavy processing and by notebooks for exploration.

  • Long-term, low-cost retention

    Years of history stay queryable in open formats for audit or analysis, so you avoid paying warehouse rates to store data that is rarely read.

  • Cleaning up an existing lake

    We catalog and classify what is already in object storage, assign owners to it, and delete whatever cannot be accounted for.

In practice

Two situations this service is built for, and what we would do in each.

Energy and utilities

Smart meter readings a utility cannot afford to query

The situation
A utility collects interval readings from its smart meters, and a streaming job writes them as small files into object storage. The forecasting and network planning teams each need several years of this data, but a query over a single year takes hours, so each team has built its own cleaned copy to get around the problem.
What we would build
We would move the readings into an open table format partitioned by date, schedule compaction daily and expire snapshots on a set policy. One catalog would register the table both for the SQL engine the planners use and for the forecasters' Spark jobs. Late and corrected readings would be merged by meter and interval, and the two private copies retired once they had been reconciled.
What it is designed to change
Both teams would read one table, and a query over a long period would plan and run in a time people are prepared to wait for. We would track file counts and query duration on a fixed set of benchmark queries, along with the amount of storage taken up by duplicate copies.
Healthcare

Clinical documents collected for AI without their permissions

The situation
A hospital group copies discharge summaries and referral letters into a lake so that data science teams can build models on them. The copies carry the text but lose who may see each document, what each patient consented to and when the document has to be deleted, so the privacy officer halts the project until those questions are answered.
What we would build
We would land each document with a metadata row holding its source record, patient identifier, document type, sensitivity class and retention date. Access would be granted through the catalog by purpose and role, with a de-identified zone set aside for model development. An erasure request would remove the document, its metadata and any derived text, and expire the snapshots that still refer to them.
What it is designed to change
Data science teams would work only on documents they are permitted to use, and the privacy officer could see who has access to what and why. Progress would be measured by the share of documents with complete metadata, the time to complete an erasure request and the number of access reviews passed without findings.

Technologies

We work in your stack and recommend on fit. We resell nothing.
Table and file formats
Apache Iceberg · Delta Lake · Apache Hudi · Apache Parquet
Object storage
Amazon S3 · Azure Data Lake Storage · Google Cloud Storage · MinIO
Catalogs and governance
Unity Catalog · Apache Polaris · AWS Glue Data Catalog · Project Nessie · Microsoft Purview · Apache Ranger
Query and processing engines
Apache Spark · Trino · Databricks · Snowflake · Amazon Athena · Google BigQuery · DuckDB
Machine learning workloads
MLflow · Ray · Feast · Apache Arrow

Business outcomes

What changes for the organization
  • One copy, many engines

    Reporting, heavy processing and data science all read the same tables through one catalog, which means teams no longer need to export data and maintain private copies.

  • Data that can be found

    Each dataset has an owner, a description, a classification and a known source, so people find data by searching the catalog and do not have to ask around.

  • Access you can show an auditor

    Permissions on tables, columns and rows are set in one place and apply to every engine, and they produce a log of who read what.

  • A lake that stays fast and affordable

    Scheduled jobs manage file counts, metadata size and storage tiers, so that query times and costs stay level as the tables grow.

What you hold at the end

  • A storage layout with zones, naming and lifecycle rules
  • A table format and catalog decision record with test results
  • Governed tables registered in one catalog
  • Access policies at table, column and row level
  • Scheduled maintenance jobs with monitoring on every table
  • Metadata tables for documents and other unstructured files
  • Runbooks for rollback, failed commits and erasure requests

Questions buyers ask

If your data is mostly structured, comes from business systems and is used for reporting, a warehouse is simpler to run and is usually enough. A lake or lakehouse is worth its cost when you have very large event volumes, nested records or records whose schema keeps changing, files such as documents and images, or machine learning teams who need to read data with Spark or Python rather than through SQL. Plenty of organizations run a warehouse for finance with a lakehouse alongside it.

That depends on your engines. Both provide transactions, schema evolution and time travel over Parquet files, but Delta Lake is most complete on Databricks and Spark, while Iceberg was designed to be engine-neutral and is supported by a wide range of warehouse and query engines. Interoperability layers now allow one format's tables to be read as the other, within limits. We test the specific features you need in the engines you actually run, because support for writes and deletes varies much more than support for reads.

It removes one kind of lock-in. Your data sits in your own storage in a documented format that several engines can read, so changing query engine does not require exporting everything. The dependency shifts elsewhere, to the catalog, to proprietary features layered on top of the format, to access policies written in one platform's language and to the pipelines themselves. We keep the catalog and the policies as portable as the products allow, and we record where they are not.

It has to be done deliberately, because table formats keep old snapshots so that readers get a consistent view and you can roll back. A deleted row therefore remains in older data files until those snapshots are expired and the files removed. An erasure process needs three steps, which are the row-level delete, a rewrite or compaction of the affected files, and snapshot expiry with cleanup. The raw zones and any copies, extracts and embeddings derived from the record need the same treatment.

We make registration the only way in. Each dataset in a governed zone must have an owner, a schema, a classification and a retention rule before anyone can read it, and writes go through tables registered in the catalog rather than arriving as loose files. Experiments happen in a sandbox zone that is emptied on a schedule. Most swamps come from one missing rule, which is that a dataset stops having anyone responsible for it once the project that created it ends.

Discuss data lakes and lakehouses with the people who would do the work.

Tell us what you are trying to do and where it is stuck. A principal reads every message and replies within one working day.

How we engage

Start a conversation.

A short paragraph is enough. A principal reads every message and replies within one working day.

Or email hello@farside.works. We use what you send only to reply. Privacy