Menu

What Building a Postgres CDC Pipeline Taught Me About Feeding Snowflake
πŸ“°

What Building a Postgres CDC Pipeline Taught Me About Feeding Snowflake

#hackernoon#technology#change#every#warehouse
Long article (1758 words) β€” no AI summary yet.
Reading 0:00
15s threshold

Our warehouse used to refresh once a night. A job woke up after hours, exported every customer's data from the application, loaded it into Snowflake, and left every dashboard a day behind. On a normal night it ran for 64 to 84 minutes.

That worked until users started editing records in the web app and expecting the analytics to agree with what they had just saved. The application's own reports, served from Postgres, showed the edit straight away. The Snowflake dashboards showed it the next day.

This article covers the two things I built along the way and what each one taught me. The first was the obvious fix: running the batch far more often. The second was a change data capture (CDC) pipeline that turns Postgres row changes into ordered, replayable change records.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.