Evolution of Data Pipeline Software Architecture at RIVET (2020 - 2025)
Note: this is an old post, ported from my old blog. I originally wrote it for a talk I gave at the Detroit Software Developers meetup on February 27, 2025. The company numbers, team sizes & "future" plans are all a snapshot of that moment.
Intent: A software architecture journey via a real-world case study on how a software startup grew & how the software architecture evolved to support the business' growth.
Method:
- What a data pipeline is & how it works at a high level
- What RIVET is & how a data pipeline helps solve problems at RIVET
- Evolutionary history of software architecture at RIVET
- A vision of what the future holds for RIVET's business & how the software architecture will evolve to meet the business' needs
Introduction
What is a data pipeline?
According to AI: A "data pipeline" is a series of automated processes that move data from its source to a destination, often involving transformation and cleaning steps along the way, to prepare it for analysis and further use, essentially acting like a conveyor belt for data within a system; it allows organizations to collect, process, and deliver data from various sources in a structured manner for insights and decision-making.
According to Phil: A "data pipeline" is a tool used to move data from one place to another place.
For a good visual overview of both the low-res (ETL) & high-res versions of a data pipeline, watch ByteByteGo's What is a Data Pipeline? | Why is it so popular? (there's also a 60-second version).
Why should I care?
Data pipelines allow you to achieve:
- Business-scale, high-speed decision making across multiple datasets.
- Functionality you just can't do without the data from multiple datasets.
- Venmo can't work without data from the sender & receiver's banks.
- RIVET can't work without data from your bidding system, project management system, employee system, employee certification system & accounting system.
If you have several systems that your business relies on (e.g., HubSpot, Salesforce, Jira, Notion, GitHub, QuickBooks, etc) & want to take action informed by data in more than one of these systems at a time, then you will probably benefit from a data pipeline.
This isn't just about having data on a screen that helps the [human | AI] operator make a choice somewhere else. The best case is the data is in the system where the decisions are being made.
RIVET's business model & why data pipelines are important
What is RIVET?
RIVET is a seed-stage, B2B SaaS startup in the construction tech industry, HQ'd in Detroit. Started in 2020. At the time of this talk we were at 42 employees with 15 in Product & Engineering:
- Engineers: 8
- Engineering Managers: 2
- CTO: 1
- PMs: 1
- Director of Product: 1
- Product Designers: 2
Our stack: TypeScript, Node, React, Azure, K8s, Docker, Terraform, BullMQ, Redis & Postgres.
Customer: Construction subcontractors involved in skilled trades (e.g., Electrical, Plumbing, Mechanical, etc). Specifically the "Labor Coordinator" & "Project Manager".
Customer problems
- Labor Coordinator: As a Labor Coordinator at a skilled-trade Subcontractor, you have to manage the daily-shifting schedules of 100s-1000s of workers across 100s of job sites. If (when) you make mistakes, the wrong people show up to the wrong job sites. This hurts the company's profitability (because the people are still paid) & turns the job site managers (Foremen) into your enemies. You currently use Excel, a whiteboard & your phone to do this job.
- Project Manager: As a Project Manager at a skilled-trade Subcontractor, you are responsible for the profitability of the jobs under your management. You ensure your jobs are profitable by planning how the job is executed & then reviewing performance against your plan (usually by looking at % complete vs total cost to date). You must review & revise your plan every week for every job (someone shows up to the wrong job site, someone is sick, someone quits or is fired, someone takes time off, the entire job schedule is pushed because of a delay with another subcontractor, etc). You use Excel, an ERP/Accounting report & some project management software to do this job.
Solution: A software tool that allows you to match the optimal worker to the job & communicate this match across your company.
Why does RIVET need a data pipeline?
Why use a data pipeline for anything?
- You need to get data from multiple systems into 1 system to help you make decisions
- You own the 1 system where decisions are made & you need to get your customers' data from multiple systems into your 1 system
RIVET is the platform where construction Labor Coordinators & PMs are making people & project scheduling decisions. In order to make these decisions, they need data on people & projects. This data usually lives in 3-5 separate places, half of which they may not have access to without RIVET.
In order to help our customers achieve the solution above, RIVET needs to provide information about the:
- Jobs: address, customer, financials, type of project
- Workers: address, emergency contact info, pay rate / cost to company (~2x pay rate), experience, trade, classification
- Worker Certifications: title, date attained, experience date, description, image/artifact
- Job Schedules: start & end dates, what type of work is needed on the job & when
- Worker Schedules: specifically who joins the job to fulfill the required work & when
🤯 Each type of data lives in a separate system:
| Source Systems | |
|---|---|
| Jobs | ERP, Accounting, Bidding Software |
| Workers | HRIS |
| Worker Certifications | Excel, Google Drive |
| Job Schedules | Excel, P6 |
| Worker Schedules | RIVET |
Because all of the data that RIVET needs to work is maintained in other systems, RIVET needs a way to ingest this data. Options:
- Manual data entry: Some customers will do this; most won't
- One-time import (& then manual data entry to maintain): Some customers will do this; most won't
- Automatic data updates: 💰💰💰
Past: Prologue
1. The Prototype: SFTP
Snapshot: Q2 2022
Company: Pre-seed · ~$2.6m raised · ~6 employees
Data: 100s of records going through the data pipeline · 1 integration
Data team: CTO: 1
Andy Lawrence, Co-founder & CTO, created the original data pipeline for our first "big" customer. We call this the "ETL Service" because it:
- Extracts files from our (or their) SFTP site
- Transforms the data based on customer business logic per customer
- Loads the data into our public API
System topology

Coded transformation configs

Example coded ETL config
How do RIVET transformation configs work? TS configuration files control how a series of functions processes data.
- Fetch Logic: How to get the data (SFTP server info, API endpoint auth info, fetch/poll frequency)
- Skip Logic: Callback with rules run for each record in the incoming data set. If the return value is
true, that record will be skipped from further processing - Field Ignore: Source of truth / create vs update
- Key Mapping:
hireDate, re_hire_date→hiredate - Formatters: Callback transforms the given field
2. The First Iteration: ODBC
Snapshot: Q4 2022
Company: Pre-seed · ~$2.6m raised · ~10 employees
Data: 1,000s of records going through the data pipeline · <5 integrations
Data team: CTO: 1
Another customer needs ODBC extraction, so Andy extends the SFTP prototype with three more components: the "Data Agent Client", "Data Agent Service" & "Data Agent Admin".
The Data Agent Client is a .NET application that can be installed on customer servers (for security or cost-saving purposes) or RIVET-hosted (for ease of use & lower customer maintenance burden) that runs SQL queries against customer databases on a configurable frequency.
The Data Agent Service is a Node application for managing Data Agent Clients installed on RIVET VMs & customer servers. The data available to be managed includes: SQL queries to be run, the SQL query frequency, the source database connection credentials, the destination URL & API token, and various other options relevant to the system.
The Data Agent Admin is an internal React application used to manage Data Agent Clients via the Data Agent Service.
System topology

ODBC connector: Data Agent Admin UI

Data Agent Admin UI
3. The Data Pipeline Team begins to form & tooling gets an upgrade
Snapshot: Q1 2023
Company: Pre-seed · ~$2.6m raised · ~12 employees
Data: 1,000s of records going through the data pipeline per day · ~10 integrations
Data team: CTO: 1 · Engineers: 1
I'm hired & promptly put in charge of onboarding new customers' data into RIVET as well as extending the data pipeline's capabilities. Over the next 24 months, a team of several engineers, a designer & a PM is built to help support this function (and other responsibilities).
- Creating & maintaining customer integrations mostly happens via
SQL queriesin the Data Agent Service &coded configsin the ETL Service - We deploy a
Data Agent Clienton a RIVET VM so we can connect to customer cloud-based databases without installing the Data Agent Client on their machines (which was often a time suck) - We start to invest in internal tooling to help us better monitor & manage customer integrations & our data pipeline
RIVET CLIfor ergonomic access to relevant data about a single "transaction" through the data pipelineMetabasefor dashboards & metric aggregation
System topology

Internal tooling
We found that building new integrations was simple, but debugging running integrations was difficult. We tried many approaches to this, such as making it easier to deploy them in a sandbox environment where customers could review them before promoting to production, & making local development easier. One solution we landed on was creating an internal CLI tool for viewing the data flow between the different system components (Data Agent Service → ETL → Public API), which helped us debug issues (see where data fell off / had an issue). In order to do this, we used a tracerId (uuid) that tied all of the data around the end-to-end transaction together.
Here's roughly what a trace looks like (anonymized & trimmed):
% rivet trace -u <tracerId>
PRODUCTION: Data Agent
---
Found: <tracerId>
[
{
"name": "rivet-hosted-agent",
"hasRequest": true,
"hasResponse": true,
"hasSent": true,
"status": 17
}
]
PRODUCTION: ETL Service
---
Found: <tracerId>
[
{
"name": "agent_customerName_StateCode",
"transactionStatus": 7,
"streamStatus": 5,
"recordsParsed": 250,
"recordsSent": 250,
"recordsSucceeded": 250
}
]
PRODUCTION: Integration API
---
Found: <tracerId>
[
{
"name": "Customer Name [PRODUCTION]",
"endpoint": "/v1/jobs",
"resStatusCode": 200,
"resTime": 30662,
"resDataSize": "393757"
}
]
We also built dashboards to help us visualize the health of the entire system & get more visibility into specific issues.

Metabase (customer config names redacted)
4. The Second Iteration: HTTP
Snapshot: Q3 2023
Company: Pre-seed · ~$2.6m raised · ~12 employees
Data: 10s of thousands of records going through the data pipeline per day · ~100 integrations
Data team: CTO: 1 · Engineers: 1 · PM / Engineer: 1
Louis Gelinas, Co-founder, First Developer & Director of Product @ RIVET, builds the first HTTP extraction using the "Not HTTP Service", aka the "HTTP Connector".
The HTTP Connector periodically polls external APIs to extract JSON data using a customer-provided API key. The first one was a coded, per-integration fetcher: authenticate with the 3rd party API, page through the results, transform them & hand them to the ETL Service.
System topology

5. GUI Tooling: CSSI
Snapshot: many iterations throughout 2024
Company: Seed · ~$9m raised · ~30 employees
Data: 100-300k records going through the data pipeline per day · 100 integrations at the start, 427 as of this talk
Data team: Engineering Manager: 1 · Engineers: 1 - 3 · PM: 1 · Designer: 1
We started to build a GUI tool for configuring integrations in Q1 2024. This tool is called "Customer Success Configured Integrations" (CSSI).
DB-based integration configurations: CSSI moves the transformation logic from code to the database, which unlocks a UI to customize transforms per customer.Manual file upload: CSSI also supports manual file upload, which allows for easier testing of data payloads & replaces our "bulk uploader" functionality.- We start to use manual file uploads for integrations that were SFTP, but were not automated exports & uploads to our SFTP server (so a customer had to upload using an SFTP client like FileZilla).
Dry Runs: The data pipeline now supports "dry runs", which allow testing an integration in production & getting a snapshot of changes without committing the changes.
CSSI UI

List of integrations in the CSSI UI

Configuring an integration in the CSSI UI
System topology

Present: Where we are today
6. RIVET Data Services
Snapshot: Q1 2025
Company: Seed + Bridge (mini A) · ~$15m raised · 42 employees
Data: 100s of thousands of records going through the data pipeline per day · 427 integrations
Data team: Engineering Manager: 1 · Engineers: 3 · PM: 1 · Designer: 1 · Director of Data Services: 1 · Integration Developers: 1
Data Services Team: CSSI enables integration specialization apart from engineering. Data technicians can now create & maintain integrations without needing to write & deploy code.
RIVET context

System topology
The topology is the same as the Q1 2024 diagram in the CSSI section above.
Infra hosting & setup
- Azure VMs, Application Gateway
- PM2
- Nginx
- Async jobs for messaging (SMS, email, in-app notifications) via BullMQ (Redis + TS)
Future: The RIVET data pipeline of the future™️
Problems: Reliability, Performance & Operations
- Acute Problem - Throughput (a performance issue leading to a reliability issue): The data pipeline would not process jobs (batches of data) as quickly as it was receiving jobs. This led to a theoretical processing time of infinity. Most customers had 1-hour SLAs, some had 5-minute SLAs. The data pipeline was slow, but for our customers it appeared down.
- Operations: As we migrate from "Engineers write integrations" to "Data Services Integration Developers write integrations", we need more robust tooling for debugging issues with integrations. Put another way: Engineers can dive into our prod SQL databases & ssh into VMs to discover issues; Integration Developers must use the tools provided by our Data Pipeline Engineering team.
- Long-tail Performance: With new customers & new data types, we plan to increase load on our data pipeline infra by 50-100x (quantity of records, not quantity of data) over the next 36 months.
- Tenant Isolation: Noisy tenants shouldn't affect their neighbors by clogging up the queue for everyone.
- etc, etc, etc - the list goes on
Solutions: Strategy Documents, BullMQ & Record-level Metrics - Oh My!
- ✅ Better Visibility: More clarity on service health & bottlenecks
- ✅ Horizontal Scaling: More workers to process data
- ✅ Strategy Docs: We wrote a Data Pipeline Technical Strategy for Q1 2025.
- Benefits: Helps us know what to do & in what order, builds trust with other teams & parts of the business, and gives us a framework for adjusting our plans over time.
- Pillars: Definition · KPIs · High-level Plan · Immediate Next Steps
- 🏗️ BullMQ: Queues help with reliability
- 🌄 Record-level Metrics: Metrics per record instead of per batch of 100s of records
Metabase

Closing
When I gave this talk, RIVET was raising its Series A, planning to grow the team from 40 → 80 over the following 24 months & moving to a larger office in downtown Detroit. If this kind of work sounds fun, check the RIVET careers page for what's open now.