2,571 karma · joined February 9, 2022
lev@pgdog.dev
Memcached works similarly (slabs of fixed size), except they are not pre-allocated.
If you're sharing hardware with multiple services, e.g. web, database, cache, the kind of performance this is targeting isn't a priority.
Also, a great incentive to start writing efficient software. Does Chrome really need 5GB to run a few tabs?
Are there any examples of Oracle using their JavaScript trademark to sue anyone? If they did, that petition would have merit.
Unless Demo was, this feels like a marketing project. And it's working, too, so kudos.
1. Reducing dependencies is a wrong success metric. You just end up doing more work yourself, except you can't be an expert in everything, so your code is often strictly worse.
2. Regenerating the same solutions with a probabilistic machine will produce bugs a certain percentage of the time. Dependencies are always the same code (when versioned).
3. Cognitive overhead for human review is higher with LLM-generated libs, for no additional benefit.
Otherwise, it's awesome and my default terminal everywhere.
Maybe back in the 90s, it was okay to wait 2-3 seconds for a button click, but today we just assume the thing is dead and reboot.
Mad props for building this. It's hard and it's fun!
As to other comments in the thread about the "why": why not. For the love of the craft.
> you can redesign your app/system
You generally don't want to do that if you can avoid it. Also, easy to make a mistake there while 2pc is pretty deterministic.
If we could have a DB that could do search and be a store of record, it would be amazing.
- Bash script from Internet requiring sudo, no way
- VSCode plugin? I don't use VSCode. I'm not switching from Zed (literally built in Rust for Rust development)
Help me out, what can I do to try this?
In my interpretation (and as the founder, I think that matters because I would be the only one who would have any enforcement interest) that means TCP. AGPL says "over network" and that means TCP/UDP. To me at least.
So if you're running a SaaS, the TCP connection is broken by the app layer and all the business logic in between. Your code and proprietary products are safe.
And just to restate my previous point: PgDog is a company. If you want to use the product, we'll make it work.
That being said, if sharding was natively supported and worked well, they would of done it ages ago.
All massive Pg deployments today are so because we just don't have another option.
But nobody looks at a 10TB table and doesn't worry about what tomorrow will look like.