TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

New ScyllaDB Go Driver: Faster Than GoCQL and Its Rust Counterpart

183 pointsby truth_seekerover 2 years ago

16 comments

insanitybitover 2 years ago
Are there simple benchmarks that I can run for the Rust counterpart? I&#x27;ve worked a bit on the scylla rust code and I see plenty of room for improving efficiency (there&#x27;s a lot of unnecessary allocation imo, and the hashing algorithm is 10x slower than it needs to be), but I don&#x27;t want to make a PR for improvements without evidence.<p>&gt; The big difference between our Rust and Go drivers comes from coalescing; however, even with this optimization disabled in the Go driver, it’s still a bit faster.<p>For anyone who&#x27;s wondering, the Rust driver has coalescing support as of 9 days ago.
评论 #33190138 未加载
评论 #33188822 未加载
评论 #33188725 未加载
评论 #33192113 未加载
lukeqseeover 2 years ago
ScyllaDB&#x27;s obsession with performance by working closely with deep understanding of hardware and software and not simply adding more machines is really impressive.<p>They consistently demonstrate that we are under using our CPUs compared to potential.
评论 #33189507 未加载
pornelover 2 years ago
This is a dare to get people rewrite their Rust driver for performance.
评论 #33189612 未加载
psauxover 2 years ago
One of my fav companies! Dor is an amazing person, highly recommend working with them. We started to move to ScyllaDB at my last engineering job. Doing 100TB’s a day in IoT Data.
评论 #33189185 未加载
评论 #33189066 未加载
habiburover 2 years ago
&gt; We also paid close attention to proper memory management, producing as little garbage as possible.<p>The key.<p>And I was wondering how can a tracing GC outperform a non-tracing-GC memory manager.
评论 #33188716 未加载
评论 #33188553 未加载
评论 #33188539 未加载
metadatover 2 years ago
Clever ideas to optimize this baby. Nice work.<p>Hadn&#x27;t heard of the pre-coalesce millisecond pile up technique.<p>Favorited, thank you, sincerely!
评论 #33188384 未加载
评论 #33188344 未加载
wejickover 2 years ago
Will this be compatible with other DB using CQL? Like Cassandra itself or Yugabyte for example.
评论 #33193049 未加载
usrusrover 2 years ago
Almost reads like a case where an initial implementation in rust forced a clear mental image of ownership that could then be transferred into another language much easier than it would have been to reach the same clarity outside of pedantic reign of the rust compiler.
评论 #33193225 未加载
bborudover 2 years ago
Somewhat unrelated observation: I have never looked at SchyllaDB so I went to the web page. In the most prominent space they take a dump on the competition. Normally that would be a red flag for me, but in this case it made me curious.<p>Now I want to know more. :-)
pjmlpover 2 years ago
Very good write up how performance can be improved without the typical rewrite in X.
评论 #33190532 未加载
hintymadover 2 years ago
Is DB driver a bottleneck in applications? Somehow I usually see bottlenecks in other places in a service, and the db bottlenecks are usually on the database-side instead on the driver side.
pengaruover 2 years ago
Sounds like GoCQL and its Rust counterpart are poorly implemented.
Sin2xover 2 years ago
How does it compare to Clickhouse regarding speed?
评论 #33192321 未加载
midislackover 2 years ago
Go d-driver? What the heck? What&#x27;s this even mean?
neoyagamiover 2 years ago
Is anyone using scyllaDB in production nowdays? I tried some years ago with dataloss and kinda spooked the bejesus out of me(and went to cassandra)
评论 #33192978 未加载
henrydarkover 2 years ago
With all this work to remove allocations I get the feeling that what really is needed is C++ with Go&#x27;s concurrency syntax and runtime
评论 #33188933 未加载
评论 #33188650 未加载
评论 #33189073 未加载