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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Amazon DynamoDB Transactions

173 点作者 leef超过 6 年前

10 条评论

abalone超过 6 年前
Any experience with using Aurora in place of DynamoDB?<p>A couple years ago there was an interesting tidbit at re:Invent about customers moving from DynamoDB to Aurora to save significant costs.[1] The Aurora team made the point that DynamoDB suffers from hotspots despite your best efforts to evenly distribute keys, so you end up overprovisioning. Whereas with Aurora you just pay for I&#x2F;O. And the scalability is great. Plus you get other nice stuff with Aurora like, you know, traditional SQL multi-operation transactions.<p>It was kind of buried in a preso from the Aurora team and the high-level messaging from Amazon was still, NoSQL is the most scalable thing. Aurora was and is still seemingly positioned against other solutions within the SQL realm. I sort of get it in theory that NoSQL is still <i>theoretically</i> infinitely scalable whereas Aurora is bounded by 15 read replicas and one write master.. but in practice these days those limits are huge. I think one write master can handle like 100K transactions a second or something.<p>So, I&#x27;m really curious where this has gone in the past couple years if anywhere. Is NoSQL still the best approach?<p>[1] <a href="https:&#x2F;&#x2F;youtu.be&#x2F;60QumD2QsF0?t=1021" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;60QumD2QsF0?t=1021</a>
评论 #18548722 未加载
评论 #18548650 未加载
评论 #18548551 未加载
评论 #18548763 未加载
评论 #18548696 未加载
评论 #18549909 未加载
piinbinary超过 6 年前
My wishlist for DynamoDB is now down to:<p>* Fast one-time data import without permanently creating a lot of shards (important if you are restoring from a backup)<p>* Better visibility into what causes throttling (e.g. was it a hot shard? Was it a brief but large burst of traffic?)<p>* Lower p99.9 latency. It occasionally has huge latency spikes.<p>* Indexes of more than 2 columns<p>* A solution for streaming out updates that is better than dynamodb streams
评论 #18548062 未加载
评论 #18548133 未加载
评论 #18550959 未加载
评论 #18548709 未加载
jchrisa超过 6 年前
Congrats to the DynamoDB team for going beyond the traditional limits of NoSQL.<p>There is a new breed of databases that use consensus algorithms to enable global multi-region consistency. Google Spanner and FaunaDB where I work are part of this group. I didn’t catch anything about the implementation details of DynamoDB transactions in the article. If they are using a consensus approach, expect them to add multi-region consistency soon. If they are using a traditional active&#x2F;active replication approach, they’ll be limited to regional replication.
评论 #18548162 未加载
ryanworl超过 6 年前
“DynamoDB is the only non-relational database that supports transactions across multiple partitions and tables.”<p>Uh... this is just not true.
评论 #18548787 未加载
jedberg超过 6 年前
This is cool, it lifts the burden of having to bake &quot;atomicity&quot; into your app if you&#x27;re using a key&#x2F;value store like DynamoDB. I can see a nice balance of combining this with some built in error checking in the app itself.
jared2501超过 6 年前
I&#x27;d be interested to see comparisons&#x2F;benchmarks against FoundationDB. DynamoDB transactions make dynamo a serious alternative to FDB now. I can see the two manage advantages for FDB being: 1) you can deploy it on premise (which is potentially important for some B2B companies), 2) it shuffles data around so that hot-spotting of a cluster is eliminated (which dynamo appears to still suffer from).
评论 #18549506 未加载
评论 #18549660 未加载
psankar超过 6 年前
Postgresql gets native JSON support (at least since 9.2 onwards) to store schemaless free flowing text. Dynamodb gets transaction guarantees.<p>There is globalization and intermingling happening on technology too.<p>On a similar thought, a few years back, C# and Java got `Any` generic types, while Python&#x2F;JS got static types (via python3 typings, typescript)
评论 #18550284 未加载
asien超过 6 年前
&gt;If an item is modified outside of a transaction while the transaction is in progress, the transaction is canceled and an exception is thrown<p>You are still responsible to implements a Queue or a Lock on the Items you want to mutate.<p>That said this is a huge milestone for DynamoDB, we can now safely mutate multiples items while remaining ACID.
grogers超过 6 年前
Max 10 items per transaction, that&#x27;s quite a restriction! I guess you have to plan all the transactions you would perform and make sure they meet the bounds.
Thaxll超过 6 年前
Is the heat map available to customers now or is it still a request you have to do?
评论 #18548138 未加载