Tech, ExplainedData platforms and AI
Part

Data connectors

Pre-built pipes into every app's data.

INSIDE: ETL AND ELTHOW IT WORKS · COPYING A SKINCARE BRAND'S ONLINE ORDERSThe connectorlogs in to thestore's APIwith a tokenthe brandapproved onceIt copies1,20,000 pastorders, 250per page, in480 requestsAt two requestsa second, thefirst copytakes aboutfour minutesAt 11:00 a.m. itasks only fororders changedsince 10:45 a.m.It loads 85 neworders and 12refunds into thewarehouse tableWhen the storeadds a gift-wrapfield, it adds agift-wrap columnALSO TALKS TOEmbedded iPaaSBusiness intelligence (BI) dashboards↗ BUSINESS INTELLIGENCEAnalytics automation↗ BUSINESS INTELLIGENCEINSIDE: ETL AND ELTHOW IT WORKS · COPYING ASKINCARE BRAND'S ONLINE ORDERSThe connector logsin to the store'sAPI with a token thebrand approved onceIt copies 1,20,000 pastorders, 250 per page, in480 requestsAt two requests a second,the first copy takesabout four minutesAt 11:00 a.m. it asksonly for orders changedsince 10:45 a.m.It loads 85 new ordersand 12 refunds into thewarehouse tableWhen the store adds agift-wrap field, it addsa gift-wrap columnALSO TALKS TOEmbedded iPaaSBusiness intelligence(BI) dashboards↗ BUSINESS INTELLIGENCEAnalytics automation↗ BUSINESS INTELLIGENCEINSIDE: ETL AND ELT · COPYING A SKINCAREBRAND'S ONLINE ORDERSThe connector logs in to the store's APIwith a token the brand approved once↓It copies 1,20,000 past orders, 250 perpage, in 480 requests↓At two requests a second, the first copytakes about four minutes↓At 11:00 a.m. it asks only for orderschanged since 10:45 a.m.↓It loads 85 new orders and 12 refundsinto the warehouse table↓When the store adds a gift-wrap field, itadds a gift-wrap columnALSO TALKS TOEmbedded iPaaSBusiness intelligence (BI) dashboards↗ BUSINESS INTELLIGENCEAnalytics automation↗ BUSINESS INTELLIGENCE
A data connector copies a skincare brand's 1,20,000 past orders in 480 requests, then every 15 minutes picks up only the new and changed orders, and adds a column when the store adds a field.
opens a page inside this one a page in the same scene a page in another scene a concept page a label only, with no page

Data connectors are ready-made pieces of code, each of which knows how to pull data out of one particular app or database and load it somewhere else, usually a data warehouse. With a connector, nobody has to write that part of a pipeline by hand. They are the extract and load steps of ETL and ELT.

Why is pulling data out hard? Every app exposes its data differently. Most do it through an API, a set of requests that the app accepts from other programs. Each app's API has its own way of logging in. It returns data a page at a time. It limits how many requests a program may send each second. And it changes from time to time, when the app adds or renames a field. A data team that copies data from 30 apps would have to write and maintain 30 pieces of code. A connector seller writes each one once, keeps it working, and sells it to every customer.

A connector handles five jobs. It logs in, usually with a token that the app's owner approves once. It reads the data page by page, and waits when the app says too many requests have been sent. It turns the app's records into rows and columns. It remembers when it last ran, and next time asks only for records changed since then. This is called an incremental sync. And when the app adds a field, it adds a matching column to the table in the warehouse.

Say a skincare brand in Delhi sells through its own online store, and wants its orders in the warehouse. The first time, the connector copies the store's whole history of 1,20,000 orders. The store's API returns 250 orders per page, so the connector sends 480 requests. The API allows two requests a second, so the first copy takes about four minutes. After that, the connector runs every 15 minutes. At 11:00 a.m., it asks only for orders changed since its last run at 10:45 a.m. It receives 85 new orders and 12 changed ones, which are refunds. A week later, the store adds a gift-wrap field to its orders, and the connector adds a gift-wrap column on its own.

Connectors are used beyond ELT tools. Business intelligence (BI) dashboards use them to read an app's data directly. Analytics automation tools use them as the first step of an analyst's workflow. And software companies use them through embedded iPaaS, to connect their product to their customers' apps.

Some sellers go one step further. Their connectors make every source look like a database, so that a program can read an app with ordinary SQL, as if the app were a table in the data warehouse.

Tech, Explained is a part of ingrid.fyi. Every page explains one piece of technology in plain words.