TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

183 点作者 truth_seeker超过 2 年前

16 条评论

insanitybit超过 2 年前
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 未加载
lukeqsee超过 2 年前
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 未加载
pornel超过 2 年前
This is a dare to get people rewrite their Rust driver for performance.
评论 #33189612 未加载
psaux超过 2 年前
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 未加载
habibur超过 2 年前
&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 未加载
metadat超过 2 年前
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 未加载
wejick超过 2 年前
Will this be compatible with other DB using CQL? Like Cassandra itself or Yugabyte for example.
评论 #33193049 未加载
usrusr超过 2 年前
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 未加载
bborud超过 2 年前
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. :-)
pjmlp超过 2 年前
Very good write up how performance can be improved without the typical rewrite in X.
评论 #33190532 未加载
hintymad超过 2 年前
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.
pengaru超过 2 年前
Sounds like GoCQL and its Rust counterpart are poorly implemented.
Sin2x超过 2 年前
How does it compare to Clickhouse regarding speed?
评论 #33192321 未加载
midislack超过 2 年前
Go d-driver? What the heck? What&#x27;s this even mean?
neoyagami超过 2 年前
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 未加载
henrydark超过 2 年前
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 未加载