Better HN
topnewbestaskshowjobs
Log inSign up

cauchyk

60 karma · joined Dec 26, 2013 (12y ago) · 34 submissions

Founded PeerDB acq by ClickHouse. ex - Google, Palantir, ICPC World Finalist

meet.hn/city/27.7635302,-97.4033191/Corpus-Christi

Socials: - github.com/iskakaushik - x.com/iskakaushik

---

Submissions

1.

What's New with Monitoring in PostgreSQL 19(clickhouse.com ↗)

2 points · by cauchyk · 3mo ago · discuss

comment 3mo ago · link · parent

as someone who loves postgres, this take is getting pretty old. yes we can do quite a bit with extensions but extensions often need to interface with external systems and even then managed providers don't consistently support all extensions. some gaps: bm25 indexes, olap support, also extensions also run into licensing restrictions.

3.

PostgreSQL 19: What's New in Monitoring(clickhouse.com ↗)

4 points · by cauchyk · 3mo ago · discuss

4.

Postgres on NVMe Benchmarks(clickhouse.com ↗)

4 points · by cauchyk · 3mo ago · discuss

5.

We Scale PgBouncer in ClickHouse Managed Postgres(clickhouse.com ↗)

1 points · by cauchyk · 4mo ago · discuss

6.

Scaling PgBouncer across every core with SO_REUSEPORT and peering(clickhouse.com ↗)

4 points · by cauchyk · 4mo ago · discuss

7.

Query Insights for Postgres, Powered by ClickHouse(clickhouse.com ↗)

1 points · by cauchyk · 6mo ago · discuss

8.

Pg_stat_ch: We built low-overhead Postgres metrics exporter to ClickHouse(clickhouse.com ↗)

2 points · by cauchyk · 9mo ago · discuss

9.

ClickHouse: How we made our internal data warehouse AI-first(clickhouse.com ↗)

3 points · by cauchyk · 1y ago · discuss

10.

Show HN: A modern C++20 AI SDK (GPT‑4o, Claude 3.5, tool‑calling)

56 points · by cauchyk · 1y ago · 6 comments

11.

Show HN: AI-SDK-Cpp – Unified C++ SDK for OpenAI, Anthropic, and More(github.com ↗)

5 points · by cauchyk · 1y ago · discuss

12.

Why Every PeerDB Cloud Tenant Still Gets a Private Postgres(substack.com ↗)

1 points · by cauchyk · 1y ago · discuss

13.

Why Every PeerDB Cloud Tenant Still Gets a Private Postgres(substack.com ↗)

1 points · by cauchyk · 1y ago · discuss

14.

Building MySQL Change Data Capture for ClickHouse(clickhouse.com ↗)

1 points · by cauchyk · 1y ago · discuss

15.

Show HN: Model Context Protocol (MCP) Server for ClickHouse(github.com ↗)

1 points · by cauchyk · 1y ago · discuss

16.

Postgres to ClickHouse: Data Modeling Tips(clickhouse.com ↗)

2 points · by cauchyk · 2y ago · discuss

17.

Change Data Capture (CDC) Tools should be database specialized not generalized

1 points · by cauchyk · 2y ago · 1 comment

18.

Reducing BigQuery Costs(blog.peerdb.io ↗)

76 points · by cauchyk · 2y ago · 38 comments

comment 2y ago · link · parent

We've been using the Ubicloud runner for a while at PeerDB[1]. Great value and specially the ARM runners have been helpful to get our CI costs down. The team is really responsive and added the arm runner support within a few weeks of us requesting it.

[1] https://github.com/PeerDB-io/peerdb

20.

Five tips on Postgres logical decoding(blog.peerdb.io ↗)

5 points · by cauchyk · 2y ago · discuss

comment 3y ago · link · parent

Author of the blog here: I'm a huge proponent of Rust, but in this project while interfacing with BigQuery and Snowflake go proved to be the right choice. There weren't official drivers for these in Rust and also generally onboarding new devs in Go was easier. I also personally think async in rust has a few more releases to go before I would consider it stable.

comment 3y ago · link · parent

To get higher throughput we would need one goroutine to pull from the replication slot while the other is pushing to the target. The idea is to keep the Postgres connection useful and reading the slot while also pushing to the target asynchronously.

comment 3y ago · link · parent

Not all of our code is in Go. PeerDB has multiple components: the workers, the UI and the query layer. Some of which is in Rust, Go and Typescript.

While it would certainly be possible to package them into individual binaries, I found it significantly easier to define the stack in a docker compose file with the requisite environment setup.

comment 3y ago · link · parent

Author of the blog here, curious what a better alternative would be in this context. The channel has to be passed around for the producer and consumer to interface with each other. Are there better patterns for this?

comment 3y ago · link · parent

At my previous job there were multiple use-cases where we used RabbitMQ in conjunction with Postgres. This would've made life so much easier.

Are there any instructions on installing? It'd be great if the `.so`s are released as part of GH releases.

comment 3y ago · link · parent

Hi there, I’m Kaushik, one of the co-founders of PeerDB. PeerDB doesn’t handle schema changes today.

For CDC, change stream does give us events in case of schema changes, we would have to replay them on the destination. Schema changes on the destination are not supported, the general recommendation is to build new tables / views and let PeerDB manage the destination table.

For streaming the results of a query, as long as the query itself can execute (say a few columns were added or untouched columns were edited) mirror job will continue to execute. In case this is not the case, there will be some manual intervention needed to account for the schema changes.

Thanks for the question, this is a requested feature and on our roadmap.

27.

Sunset from “The Fighting Temeraire” in GLSL(iska.is ↗)

2 points · by cauchyk · 6y ago · discuss

28.

Ask HN: What are some of the best written macOS apps?

4 points · by cauchyk · 6y ago · 2 comments

comment 6y ago · link · parent

A lot of the power that flutter has comes from hot-reload. Dart + JIT powers this. I noticed that SwiftUI does this too. I wonder if SwiftUI composits and paints onto an underlying CALayer just like flutter does.

30.

Exploring IR curves: Fitness outlasts fatigue(iska.is ↗)

2 points · by cauchyk · 6y ago · discuss

12