50 karma · joined Nov 1, 2023 (3y ago) · 32 submissions
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
Perhaps it is the highest-performing in-memory DB in the world, but it's a competitive space and the claim is extremely grandiose. If I were hiring my assumption would be it's BS. I would recommend the OP collapse the resume to a single-page PDF and ensure it contains only supportable claims.
comment 2y ago · link · parent
As your example shows, there is no benefit in index size (e.g for supporting FKs) in going from int to bigint for a single key. You end up with the same index size no matter what, not twice the size which was what I took your original post to mean.
comment 2y ago · link · parent
Differences can appear in multicolumn indexes because two ints takes 8 bytes while two bigints takes 16, however the right layout of columns for an index is not always the layout that minimizes padding.
comment 2y ago · link · parent
However, that's strictly better than the natural PK situation, where you would need to not only add new columns to the key, but also add those columns to all referencing tables.
comment 2y ago · link · parent
So probably if you would be turned off enough by the name not to use the software, you don't actually need a distributed SQL database and are not the target customer.
comment 2y ago · link · parent
My experience is you can usually write the application with no dependencies on customer data, and do local development entirely with synthetic data.
For debugging specific customer escalations or understanding data distributions for your synthetic data modeling, you can use a replica of production. No need to extract just a subset or have devs host it themselves. All access can be controlled and logged this way.
Better than a replica would be something like [1] but that isn't available everywhere.
I agree the problem of "dump a DB sample that respects FK constraints" comes up sometimes and is interesting but I'm not sure I'd use it for the problem you describe.
[1] https://devcenter.heroku.com/articles/heroku-postgres-fork
comment 2y ago · link · parent
IMO it is fine to run for president, and to vote for whoever you want. But running a campaign that is really intended to just give the edge to another guy, is dirty politics intended to fool voters with an illusion of choice.
When the richest people in the country engage in those tactics, isn't democratic, it's plainly oligarchic.
comment 2y ago · link · parent
My understanding is that to make that work, he would need to switch parties pretty soon in order not to be affected by sore loser laws in many states that would prevent him from switching parties after the primary.
To me he appears to be an obvious Republican spoiler effort pushed by some of the wealthiest people in tech including Musk and Altman. If it were my boss pushing this I would be incensed.
comment 2y ago · link · parent
In contrast to SDCs, the delivery robots I have seen are bulky and take up a lot of sidewalk space. In contrast to delivery people, they don't climb stairs. If they did climb stairs, I don't want to be stuck behind one. As with SDCs, most people hate these things.
I think if they were humanoid-shaped it would help with some issues (take less space, climb stairs) but introduce other issues (less carrying capacity, far more complex/expensive). The only consumer-facing robot I've seen so far that solves a problem in my life, is the Roomba+competitors. I'm pretty skeptical that consumer robotics will be a big part of the future.
comment 2y ago · link · parent
* The immutability, lambda architecture points I agree with. I think the separation of the immutable log from the views is important. Databases are frequently used in ways that go against these principles.
* I am not sold that being unable to express the domain model correctly is really a fair criticism of databases. Most businesses in my experience have a domain that is modeled pretty well in a relational DB. I haven't seen a better general solution yet, though I haven't checked out Rama.
At the low end of the scale, there are a lot of companies (or projects) for which the entire dataset fits in a single managed Postgres instance, without any DBA or scalability needs. They still suffer from complexity due to mutable state, but the architectural separation of source of truth vs "views" can be implemented inside the one database, using an append only table and materialized views. There are some kinds of data that are poorly modeled this way (e.g images) but many kinds that work well.
So I don't really view the architectural ideas as repudiating databases in general, more as repudiating a mutable approach to data management.
comment 2y ago · link · parent
There is no option to just "put it all in a database". You need to compose a number of different systems. You use your individual databases as indexes, not as primary storage, and the primary storage is probably S3. The post is interesting and the author has been working on this stuff for a while. He wrote Apache Storm and used to promote some of these concepts as the "Lambda architecture" though I haven't seen that term in a while.