Many interesting things, for instance, I've been hearing a lot about how fast Java is, that it can be as fast as C++, and then I see this:<p>> But after a few weeks, it compiled and the results surprised us. The code was 10x faster than our carefully tuned Kotlin implementation – despite no attempt to make it faster. To put this in perspective, we had spent years incrementally improving the Kotlin version from 2,000 to 3,000 transactions per second (TPS). The Rust version, written by Java developers who were new to the language, clocked 30,000 TPS.<p>I feel like there is more to this, like some kind of a bottleneck, memory footprint, some IO overhead?<p>> Our conclusion was to rewrite our data plane entirely in Rust.<p>The point is well taken, figuring it out is not worth it, if you can just "rewrote" or have green field projects.<p>> These extension points are part of Postgres’ public API, allowing you to modify behavior without changing core code<p>Also, interesting. So PostgreSQL evolved to the point that it has a stable API for extensibility? This great for the project, maintain a modular design, and some stable APIs and, you can let people mix and match and reduce duplication of effort.
It would be really great to get more context on what a DPU is for pricing: <a href="https://aws.amazon.com/rds/aurora/pricing/" rel="nofollow">https://aws.amazon.com/rds/aurora/pricing/</a><p>I understand that AWS did one TPC-C 95/5 read/write benchmark and got 700k transactions for 100k DPUs, but that’s not nearly enough context.<p>There either needs to be a selection of other benchmark-based pricing (especially for a primarily 50/50 read/write load), actual information on how a DPU is calculated or a way to return DPU per query executed, not just an aggregate CloudWatch figure.<p>We were promised DSQL pricing similar to DynamoDB and insofar as it’s truly serverless (i.e. no committed pricing) they’ve succeeded, but one of the best parts of DynamoDB is absolute certainty on cost, even if that can sometimes be high.
Good read. I like the part that both writing low level as well as high level component in Rust was proven worthwhile.<p>Maybe one can transform slow code from high level languages to low level language via LLMs in future. That can be nice performance boost for those who don't have Amazon engineers and budgets
Where can I go to read about distributed SQL and big JOINs or WHERE IN clauses? I was hoping this article would cover that elephant in the room, rather than Rust being significantly more performant than JVM languages.