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.

CockroachDB beta-20161013

309 pointsby aphyrover 8 years ago

13 comments

ysleepyover 8 years ago
So I assume this means cockroachDB currently (probably) meets its promised consistency levels. How does it compare to the usual default settings of PostgreSQL for example? - I think you get SERIALIZABLE, so the behaviour should be very reasonable.<p>I understand the txn&#x2F;s numbers are in a pathological scenario, but will these transactions block the whole db from moving faster or have unrelated transactions still normal throughput?<p>I&#x27;m just glad we get linearizable single keys, I had to switch to HBase because it was the only choice at the time. Cassandra did not even give me read-your-own-writes. HBase also had issues while testing on the same host, delete+write lead to deletes being reordered after the writes because they had the same timestamp.<p>I&#x27;m a bit disappointed from HN in this post, everyone only talks about the name. But 90% probably did not even read the article. Aaanyway, heres my 2cents: <a href="https:&#x2F;&#x2F;cr.yp.to&#x2F;cdb.html" rel="nofollow">https:&#x2F;&#x2F;cr.yp.to&#x2F;cdb.html</a> is CDB for me :P - so better choose another acronym!
评论 #13665596 未加载
评论 #13668337 未加载
评论 #13664604 未加载
BrentOzarover 8 years ago
&quot;For instance, on a cluster of five m3.large nodes, an even mixture of processes performing single-row inserts and selects over a few hundred rows pushed ~40 inserts and ~20 reads per second (steady-state).&quot;<p>Wow, that&#x27;s...not fast.
评论 #13661735 未加载
评论 #13661349 未加载
评论 #13662135 未加载
评论 #13661435 未加载
exhilarationover 8 years ago
<i>Like Spanner, Cockroach’s correctness depends on the strength of its clocks... Unlike Spanner, CockroachDB users are likely deploying on commodity hardware or the cloud, without GPS and atomic clocks for reference.</i><p>I&#x27;m curious, do any of the cloud providers offer instances with high-precision clocks? Maybe this is something one of the smaller cloud providers might want to offer to differentiate themselves - instances with GSP clocks.
评论 #13661300 未加载
评论 #13661301 未加载
评论 #13662589 未加载
评论 #13661288 未加载
vonklausover 8 years ago
Wow. Probably fundraising and getting out front of googles new consumer spanner service. I just started experimenting w&#x2F; cockroachdb and it sounds&#x2F;seems great. They def are campaigning hard, landing a Jepsen test and a lot of posts&#x2F;articles last couple.<p>I am pulling for them over G on principle. I infer they know people at Stripe where the Rethink team &amp; Aphyr are so hopefully they can learn from them and build an awesome product. G has lost a lot of battles on UX, Docs, attitude and just general product. They have won a lot of battles on sheer size &amp; resources. Be nice to have this stick around.
评论 #13661383 未加载
AsyncAwaitover 8 years ago
I&#x27;d be interested in any comparisons of CockroachDB vs TIDB[1], especially when it comes to speed.<p>1 - <a href="https:&#x2F;&#x2F;github.com&#x2F;pingcap&#x2F;tidb" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pingcap&#x2F;tidb</a>
评论 #13664625 未加载
ohstopituover 8 years ago
CDB is a really cool db for the time I&#x27;ve been playing with it (just a few months I think).<p>That said, I&#x27;d really appreciate if they&#x27;d launch a hosted DBaaS. By that I mean, more in line with dynamodb or documentdb instead of say MySQL on AWS for example.<p>I know it&#x27;s on their timeline, but dbs generally get selected during the start of the projects and unless absolutely necessary, companies don&#x27;t want to change dbs.
评论 #13662383 未加载
bluejekyllover 8 years ago
&gt; Should the clock offset between two nodes grow too large, transactions will no longer be consistent and all bets are off.<p>A concern I have is that there could be datacorruption in this context, no? It sounds like on a per cluster basis, i.e. Same Raft cluster, there is a strict serializability guarantee. But without linearalizability system wide, you could end up with data corruption on multi-keyspace writes.
评论 #13661839 未加载
评论 #13661591 未加载
WhitneyLandover 8 years ago
Could the name actually slow the project&#x27;s momentum?<p>I only recently read some cool things about CDB and wondered if I could have been subconsciously skipping articles about it for deep seeded reasons like <a href="http:&#x2F;&#x2F;bbc.com&#x2F;future&#x2F;story&#x2F;20140918-the-reality-about-roaches" rel="nofollow">http:&#x2F;&#x2F;bbc.com&#x2F;future&#x2F;story&#x2F;20140918-the-reality-about-roach...</a><p>Of course anything good may eventually rise to success on its merits, but in case I&#x27;m not the only one with a subconscious aversion maybe the info below will help put some people one less click away. How about SurvivalDB? :)<p><i>CDB is a distributed SQL database built on a transactional and strongly-consistent key-value store. Scales horizontally; survives disk, machine, rack, and datacenter failures with low latency disruption and no intervention; strongly-consistent ACID transactions; SQL API for querying data. Inspired by Google’s Spanner and F1. Completely open source.</i><p><a href="https:&#x2F;&#x2F;cockroachlabs.com&#x2F;docs&#x2F;frequently-asked-questions.html" rel="nofollow">https:&#x2F;&#x2F;cockroachlabs.com&#x2F;docs&#x2F;frequently-asked-questions.ht...</a>
评论 #13663037 未加载
评论 #13661532 未加载
评论 #13663130 未加载
评论 #13663824 未加载
评论 #13661986 未加载
评论 #13661708 未加载
评论 #13661913 未加载
评论 #13661575 未加载
评论 #13664659 未加载
评论 #13661955 未加载
评论 #13663572 未加载
评论 #13662890 未加载
评论 #13663179 未加载
评论 #13662262 未加载
评论 #13664650 未加载
评论 #13662601 未加载
评论 #13661681 未加载
评论 #13663532 未加载
评论 #13664270 未加载
dijitover 8 years ago
I wish everyone would stop bikeshedding the damn name.<p>From my perspective I&#x27;m glad something that&#x27;s trying to do this is coming into existence. a couple years ago I was given the arduous task of ensuring that we never lost data. One of the requirements was that: At any time, any server can (and will) fail.. if you acknowledge that you have data then you MUST never lose it.<p>You cannot imagine how many database solutions that ruled out. Including basically _all_ noSQL data stores.<p>We settled on postgresql, because, despite going into toast tables and having to implement sharding on top- it was not only the most sane it could be wrangled into basically doing the right thing in regards to fsyncing and ensuring data wasn&#x27;t in VFS.<p>So, Kudos to these guys, who, in a world of people who don&#x27;t give a shit about consistency (except eventual consistency) are actually trying to further it.
评论 #13664303 未加载
评论 #13664348 未加载
评论 #13663884 未加载
评论 #13663744 未加载
评论 #13665526 未加载
irfansharifover 8 years ago
I&#x27;m disappointed with the commentary here, I for one would think the discussions around building a distributed system with the consistency guarantees claimed here would be far more interesting than the name of said system.
评论 #13662903 未加载
评论 #13663279 未加载
will_pseudonymover 8 years ago
CockroachDB might be the worst product name I&#x27;ve come across. I get it; cockroaches are extremely hardy, but they&#x27;re also much more strongly associated with uncleanliness and disease.<p>EDIT: Also, cockroaches are BUGS! Bugs cause problems in computer systems.
评论 #13661758 未加载
评论 #13661433 未加载
评论 #13661503 未加载
评论 #13664058 未加载
评论 #13663686 未加载
srousseyover 8 years ago
How does this compare to gundb.io?
评论 #13661473 未加载
throwawasiudyover 8 years ago
May I suggest renaming the thing already? 90% of the business world can&#x27;t touch it with a name like that.<p>How about Duradero ... Spanish for durable. The name doesn&#x27;t seem to be taken by any other database type software
评论 #13663619 未加载
评论 #13663732 未加载
评论 #13664030 未加载