back
user profile

levkk

2,540karma·349submissions·February 9, 2022
about
Sharding Postgres. <https://pgdog.dev>

lev@pgdog.dev

recent activity (349 total)
comment
2026 is the year of the Postgres queue! (DBOS[0], pgQue[1]) It's awesome that the community is contributing this and giving us the option to use it. As an ex-app engineer though, I kind of prefer…
2mo ago·view thread
comment
I don't understand this obsession with SQLite for real, production apps. SQLite is an embedded database, completely unsuitable for managing concurrency. This is what database _servers_ are for, e…
2mo ago·view thread
comment
It wouldn't, at least not directly. That's why it wasn't done pre-AI.
2mo ago·view thread
comment
I'm getting to a point in my life (age) where I want to put my money into things I care about. Netflix? 25$/mo, 3 hours a day. Search 10$/mo? 8 hours a day. Easy.
2mo ago·view thread
comment
DigitalOcean. Seriously. They have been around a long long time and built a lot of the core infrastructure you rely on every day (e.g. Ceph).
2mo ago·view thread
comment
I'm using GitHub for my business and so do millions more. Might be time to prioritize paying customers, historically popular open source repos and PRs created by known human actors. Agents can wa…
3mo ago·view thread
comment
Last time I checked, Barman didn't support backups to S3. That's why (for us) pgBackRest was such a big deal: it could offload full and incremental backups to a basically limitless and relia…
3mo ago·view thread
comment
Shameless plug[0]. [0] https://pgdog.dev
3mo ago·view thread
comment
This is just a language server problem. I'm sure you can configure whatever language server PHP is using to disable specific warnings, etc.
3mo ago·view thread
comment
Amazing project that spawned entire companies. We used it to build postgresml[0] and most Postgres extensions are built on top of it these days. [0] https://github.com/postgresml/…
3mo ago·view thread
comment
On top of it, intel chips are not competitive with apple silicon. Why buy a laptop that's 30% slower and uses more energy for the same price?
3mo ago·view thread
comment
I'm paying for Netflix to do that as a feature. Instagram uses that to drive engagement to sell ads. Disabling personalized content on Netflix is a revenue-neutral choice. On Instagram, that woul…
5mo ago·view thread
comment
Lobsters is like that, basically a ghost town compared to Reddit. If you block engagement, you will succeed.
5mo ago·view thread
comment
It's not clear to me how this is verifiable without constant hardware supervision. Even that'll get cracked, just like DVD encryption back in the day. You almost need dedicated hardware that…
5mo ago·view thread
comment
As the tool gets better, people trust it more. It's like Tesla's self-driving: "almost" works, and that's good enough for people to take their hands off the wheel, for better …
5mo ago·view thread
comment
All queries run inside transactions, and a slow lane like S3 will cause delays, which will in turn block vacuum and cause more problems than it will solve. Most deployments of Postgres (e.g., RDS) won…
5mo ago·view thread
comment
See prepared statements.
5mo ago·view thread
comment
Models don't learn. They retrain them periodically, but junior engineers learn much faster and constantly improve. If you stop learning, you will only be as good as the model. I've been codi…
5mo ago·view thread
comment
Yeah! Take a look at our Docker demo in GitHub: https://github.com/pgdogdev/pgdog
5mo ago·view thread
comment
You can I believe. We only support BIGINT, VARCHAR and UUID for sharding, but all other data types are completely fine for passthrough, i.e. to be included and used in your queries.
5mo ago·view thread
comment
General statement about adoption. Last time we made a Show HN (9 months ago), it was a POC, running on my local. Now we're used in production by some pretty big companies, which is exciting!
5mo ago·view thread
comment
> Are there some specific standard Postgres test suites you run PgDog through to ensure it's compliant with Postgres standards? That's right. We have many levels of testing: unit, integra…
5mo ago·view thread
comment
That's exactly right, it's both of those. More containers / services means more connections to the DB, which themselves need to be pooled. More requests to the app require more connecti…
5mo ago·view thread
comment
Technically yes. We only support BIGINT (and all other integers), VARCHAR and UUID for sharding keys, but we'll happily pass through any other data. If we need to process it, we'll need to p…
5mo ago·view thread
comment
A couple options come to mind: 1. Replicate shards into one beefy database and use that. Replication is cheaper than individual statements, so this can work for a while. The sink can be Postgres or an…
5mo ago·view thread