HNHacker News
TopNewBestAskShowJobs

derekperkins

190 karma · joined March 7, 2015

53bb639f815a4e96ab5a94bbfc627ba5
submissionscomments
derekperkins··on The Great Migration from MongoDB to PostgreSQL
Postgres does several things better than MySQL, but tooling isn't among them.
derekperkins··on Postgres is eating the database world
You have been able to do that with DuckDB for 18 months. https://duckdb.org/2022/09/30/postgres-scanner.html

Clickhouse supports it too https://clickhouse.com/docs/en/sql-reference/table-functions...

derekperkins··on Postgres is eating the database world
At often 10x the latency and significant query compatibility issues. That's a hard pill to swallow
derekperkins··on Postgres is eating the database world
It finally supports them, which is nice. It doesn't support deferred checks to the commit, like postgres, but are otherwise good. I've appreciated using it to enforce json schema at the db level
derekperkins··on More powerful Go execution traces
We do both and it works great
derekperkins··on How Figma's databases team lived to tell the scale
They have since migrated to Vitess
derekperkins··on Go Enums Suck
That's clearly not true, and one of the primary design choices Go makes. It trades concise code for more readable code.
derekperkins··on Flexible schemas are the mindkiller
Let's call him another name...
derekperkins··on Pingora: build fast, reliable and programmable networked systems
I'm surprised Envoy isn't mentioned anywhere
derekperkins··on We Have to Start Over: From Atom to Zed
I've never seen that functionality in JetBrains, which has been my main driver for years. I hope it's there
derekperkins··on Multi-database support in DuckDB
You're probably thinking of Spanner, not BigQuery
derekperkins··on Error handling in Go web apps shouldn't be so awkward
I wouldn't classify type assertion as reflection. It's a super fast type check of the object header, not dynamic reflection.
derekperkins··on Did the cloud made us over-engineer some systems that could have been simpler?
Even Cloudflare isn't building their own datacenters
derekperkins··on The challenges of supporting foreign key constraints
If you don't need recursive CTEs on sharded databases, they'll work today. We're actively using them
derekperkins··on Why people in Google hate Go?
Easily handled by adding a linter. Like you pointed out, that's an easy place to make mistakes, and this regularly catches them for us https://github.com/nishanths/exhaustive
derekperkins··on Fructose is the main culprit of the obesity epidemic: study
"show me your fat fruit friend" https://youtube.com/shorts/EL4LY1WPEes
derekperkins··on RAG at scale: Synchronizing and ingesting billions of text embeddings
GCP also has a hosted vector db https://cloud.google.com/vertex-ai/docs/vector-search/overvi...
derekperkins··on Grouping digits in SQL
Very interested in the details
derekperkins··on Real-time messaging
That's true for any database at that scale
derekperkins··on Observable Plot: A JavaScript library for exploratory data visualization
Thanks, and we're very excited!
derekperkins··on Observable Plot: A JavaScript library for exploratory data visualization
That PR was created 15 months ago. Any rough idea when we might expect tooltips to be available?
derekperkins··on Comparing static website hosts (2022)
The activation process uses freemius, which is a joke. I've been trying to activate for 2 weeks and still haven't been able to get it working, and their support is a joke. No shade on the plugin itself, just the third party licensing provider. The free Simply Static has worked great.
derekperkins··on Show HN: Open-source OAuth service for 40+ APIs
Your argument is that they own it despite courts denying it?
derekperkins··on Just use a monorepo
It already does that. Click on the individual commit to only see those changes, then click next to continue. That's the only way I review commits, and it has been available for at least a few years
derekperkins··on One Million Database Connections
Setting MaxIdleConns to be the same as MaxOpenConns isn't sufficient?

https://pkg.go.dev/database/sql#DB.SetMaxIdleConns

Otherwise, I guess you'd have to poll DBStats and run dummy queries to keep the pool full. https://pkg.go.dev/database/sql#DBStats

derekperkins··on Ask HN: Real-world anecdotes of MySQL at scale?
If not most
derekperkins··on Ask HN: Real-world anecdotes of MySQL at scale?
GitHub is using Vitess internally to avoid applications needing to be shard aware
derekperkins··on One million queries per second with MySQL
And Vitess supports shard local foreign key constraints, even if Planetscale disallows them. They don't work with all the cool online ddl tech.
derekperkins··on One million queries per second with MySQL
That matches many, if not most most real world workloads. When hotspots happen, you just continue to shard, as they don't have to be equally sized, even if you shard a single warehouse id to a dedicated node and vertically scale it up.
derekperkins··on PlanetScale Prevents MySQL Downtime
Vitess runs on actual MySQL, it's not just MySQL protocol compatible, so it's definitely closer. There aren't many queries you can't run on Vitess for a single shard, though distributed / multi-shard queries have more limitations
← PreviousPage 2 of 6Next →