HN user

vira28

916 karma

https://viggy28.dev

admin@viggy28.dev

Posts81
Comments263
View on HN
news.ycombinator.com 1mo ago

Ask HN: Do you use Apache Iceberg in Production?

vira28
2pts0
news.ycombinator.com 1mo ago

Ask HN: Want to build something open source on nights and weekends together?

vira28
39pts18
github.com 1mo ago

Show HN: Streambed – Stream Postgres to Iceberg on S3, Supports Postgres Wire

vira28
129pts40
github.com 2mo ago

Show HN: pg_savior: a seatbelt for Postgres – blocks accidental DELETE/UPDATE

vira28
3pts0
viggy28.dev 2mo ago

I asked my local LLM to add 23 numbers and got seven wrong answers

vira28
6pts4
news.ycombinator.com 3mo ago

Ask HN: Is giving AI agents DB access the new BI-tool problem?

vira28
6pts2
viggy28.dev 4mo ago

Postgres Is the Gateway Drug

vira28
8pts3
www.myclone.is 4mo ago

Show HN: Prompt template for solo and small law firms

vira28
1pts0
www.myclone.is 5mo ago

Show HN: AI that replaces the first 15 minutes of every client call

vira28
3pts0
news.ycombinator.com 7mo ago

Tell HN: Even LinkedIn is running on Cloudflare and not Azure

vira28
2pts2
www.myclone.is 7mo ago

Show HN: We cut RAG latency ~2× by switching embedding model

vira28
27pts4
rootventures.coffee 8mo ago

Root Ventures

vira28
11pts3
blog.buildrappo.com 1y ago

Figuring out ICP is half the battle in early stage GTM

vira28
1pts0
blog.buildrappo.com 1y ago

Observability in the Age of AI

vira28
1pts0
github.com 2y ago

Show HN: A simple demo of Postgres wire protocol and SQLite as storage engine

vira28
14pts0
github.com 2y ago

Show HN: A Postgres extension to save you from accidental mistake(s)

vira28
3pts0
www.infoq.com 2y ago

Cloudflare's set up of Distributed Postgres

vira28
2pts0
viggy28.dev 2y ago

How much markup does RDS makes on top of EC2?

vira28
13pts3
www.infoq.com 2y ago

The cost of using managed database services

vira28
8pts1
www.brentozar.com 2y ago

The problem with SQL servers licensing costs

vira28
5pts1
media.amazonwebservices.com 2y ago

Whitepaper for running Postgres on EC2 [pdf]

vira28
2pts0
news.ycombinator.com 2y ago

Ask HN: Tips to hire Database Kernel engineers for an early stage startup?

vira28
1pts0
viggy28.dev 2y ago

Postgres at the Edge Cloudflare

vira28
21pts2
github.com 2y ago

Show HN: Interesting companies that are running on-prem

vira28
20pts13
yrashk.medium.com 2y ago

Repeating yourself thrice doesn’t turn you into a 3x developer

vira28
122pts118
twitter.com 2y ago

Postgres setup at Cloudflare

vira28
13pts2
github.com 3y ago

List of companies that use onprem heavily

vira28
3pts0
news.ycombinator.com 3y ago

Ask HN: Do you use CDC for database accidental mistakes?

vira28
1pts1
viggy28.dev 3y ago

Show HN: Understand Postgres wire protocol by writing a simple program

vira28
11pts2
aws.amazon.com 3y ago

Manage Collation Changes in PostgreSQL

vira28
2pts0

Tomas Vondra, a major Postgres contributor recently revived a thread on using Bloom filters - https://www.postgresql.org/message-id/flat/5cd8c20c-14b5-4b0...

So there is more core work happening on support OLAP but I do think it will take some time.

In the meantime, I think we have all the pieces (storage, query engine, table format) to set up a true OLAP. For instance, I created https://github.com/viggy28/streambed to pressure test this idea.

Thanks for the kind words!

Short answer: yes, column-level schema changes sync to Iceberg automatically[0].

Logical replication (pgoutput in v1) doesn't actually stream DDL statements. Instead, Postgres emits a fresh Relation message describing the table's current column layout right before the next change to that table. So we diff that against the last layout we knew and infer what changed.

From there we evolve the Iceberg schema in place: flush any buffered rows under the old schema first, then write a new metadata version with the change. What's handled today:

  - ADD COLUMN — new field ID allocated; the column's Postgres DEFAULT is carried into Iceberg's initial-default/write-default, so existing rows read back correctly
  - DROP COLUMN — removed from the current schema, existing data files untouched
  - Type widening — int4→int8, float4→float8 (the changes Iceberg considers compatible)
  - REPLICA IDENTITY changes
[0] https://github.com/viggy28/streambed/pull/21

Author here. For context, I was the tech lead for the Postgres team at Cloudflare, and this came directly out of a challenge I kept hitting there: BI and dashboard teams needed to run long-running analytical queries, and the answer was always to spin up another bespoke read replica or stand up an ETL dump into an analytical database and query that.

So the question I started with was: what's the fewest components I could get away with? That led to the architecture here — Streambed connects to Postgres as a logical replication subscriber (same mechanism as a read replica) and streams WAL changes straight into Apache Iceberg on S3, queryable from psql via an embedded DuckDB. There are a lot of edge cases to handle, and it's very much early days.

Welcome any feedback.

Cursor 3 4 months ago

Curious, why cursor for this? VSCode or pretty much pure open source IDE's have CC integration. Or am i missing something?

Rappo | https://buildrappo.com | Founding Fullstack Engineers | Remote (Preferably India) Hi, I am the founder of Rappo (agentic GTM Chief of Staff). We observed that technical startups spend way too much time in the early stages figuring out GTM.

Everyone says early PMF is crucial, but there is no streamlined support there.

Learn more about the role: https://wellfound.com/jobs/3133503-lead-founding-full-stack-...

PS: I am a solo founder, and we allocated generous equity for advisors and early hires.

Rappo | https://buildrappo.com | Founding Fullstack Engineers | Remote (Preferably India)

Hi, I am the founder of Rappo (a network for GTM). We observed that technical startups spend way too much time in the early stages figuring out GTM.

Everyone is like PMF is crucial, but there is little support/help around in getting there.

Learn more about the role: https://wellfound.com/jobs/3133503-lead-founding-full-stack-...

PS: I am a solo founder, and we allocated generous equity for advisors and early hires.

This is amazing overview of the current challenges.

As a database practitioner and a founder of a database startup, I would be curious to see how you approach these challenges and address them. Also, how you make it economically sustainable too.