HNHacker News
TopNewBestAskShowJobs

cauchyk

60 karma · joined December 26, 2013

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

---

submissionscomments
cauchyk··on PostgreSQL for Everything
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.
cauchyk··on Show HN: Open-source x64 and Arm GitHub runners
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

cauchyk··on Building a Streaming Platform in Go for Postgres
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.
cauchyk··on Building a Streaming Platform in Go for Postgres
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.
cauchyk··on Building a Streaming Platform in Go for Postgres
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.

cauchyk··on Building a Streaming Platform in Go for Postgres
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?
cauchyk··on Introducing PGMQ: Simple Message Queues Built on Postgres
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.

cauchyk··on Launch HN: PeerDB (YC S23) – Fast, Native ETL/ELT for Postgres
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.

cauchyk··on Flutter vs. Other Mobile Development Frameworks: A UI and Performance Experiment
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.
cauchyk··on Ask HN: Have you noticed that Google search links are less clickable lately?
Yes, i've been experiencing these rather frequently. I disabled all the extensions and it's still happening.