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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Amazon DocumentDB, with MongoDB compatibility

519 点作者 ifcologne超过 6 年前

40 条评论

ahachete超过 6 年前
My bet is that it is built on top of Aurora PostgreSQL. By looking at the &quot;Limits&quot; section (<a href="https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;documentdb&#x2F;latest&#x2F;developerguide&#x2F;limits.html" rel="nofollow">https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;documentdb&#x2F;latest&#x2F;developerguide...</a>), identifiers are limited to 63 characters and the same characters that PostgreSQL limits identifiers to; and a collection size limit of 32TB, coincidentally maximum PostgreSQL table size.<p>Edit: I can confirm: does not allow the UTF-8 null character in strings: <a href="https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;documentdb&#x2F;latest&#x2F;developerguide&#x2F;functional-differences.html" rel="nofollow">https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;documentdb&#x2F;latest&#x2F;developerguide...</a> ... It is written on top of PostgreSQL.
评论 #18871044 未加载
评论 #18870596 未加载
评论 #18870470 未加载
评论 #18870913 未加载
评论 #18873768 未加载
评论 #18870424 未加载
评论 #18870770 未加载
评论 #18871002 未加载
abrookewood超过 6 年前
I was reading a post [0] by Brian Cantrill that predicted this would be the result of licences like the SSPL. I instinctively disagreed with him, but it turns out he was right: &quot;The cloud services providers are currently reproprietarizing all of computing — they are making their own CPUs for crying out loud! — reimplementing the bits of your software that they need in the name of the service that their customers want (and will pay for!) won’t even move the needle in terms of their effort.&quot;<p>[0] <a href="http:&#x2F;&#x2F;dtrace.org&#x2F;blogs&#x2F;bmc&#x2F;2018&#x2F;12&#x2F;14&#x2F;open-source-confronts-its-midlife-crisis&#x2F;" rel="nofollow">http:&#x2F;&#x2F;dtrace.org&#x2F;blogs&#x2F;bmc&#x2F;2018&#x2F;12&#x2F;14&#x2F;open-source-confronts...</a>
评论 #18870839 未加载
评论 #18871469 未加载
评论 #18870583 未加载
ISV_Damocles超过 6 年前
Now I kinda hope Oracle decides to buy out MongoDB and integrate it into their own cloud. Then Oracle can decide to pull the same bullshit that they did with Google over the Java APIs with the MongoDB APIs but now against their current enemy Amazon (and Microsoft, too).<p>Then a combined Google + Amazon + Microsoft may finally be able to reverse the API Copyright insanity that is hovering ominously over the tech industry, and Oracle can continue to be a shining city upon a hill of shitty technologies you should never allow your business to adopt.
评论 #18870597 未加载
评论 #18872509 未加载
buremba超过 6 年前
I don&#x27;t understand why people are reacting to it so aggressively. That&#x27;s basically how AWS works, they did the same to Apach Kafka with Kinesis, Prestodb with Athena, PostgreSQL and MySQL with Aurora, Redis with ElastiCache and many others over the last 4 years so it&#x27;s not new.<p>It took too long for the open-source community to figure out that the cloud providers are killing them, now it&#x27;s too late. Well played, AWS.
评论 #18875374 未加载
评论 #18872576 未加载
评论 #18872552 未加载
dstaley超过 6 年前
If I&#x27;m reading the pricing page correctly, DocumentDB would run a _minimum_ of $200&#x2F;month. That&#x27;s for the smallest instance and no storage or I&#x2F;O. Kind of steep if you ask me.
评论 #18870313 未加载
评论 #18870283 未加载
评论 #18870310 未加载
评论 #18870439 未加载
评论 #18870238 未加载
vaer-k超过 6 年前
Finally an AWS service where the name makes sense and describes what it is. I hope this is the start of a trend.
评论 #18870937 未加载
评论 #18869987 未加载
评论 #18870131 未加载
bnjmn超过 6 年前
Looking through the supported APIs (<a href="https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;documentdb&#x2F;latest&#x2F;developerguide&#x2F;mongo-apis.html" rel="nofollow">https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;documentdb&#x2F;latest&#x2F;developerguide...</a>), it appears DocumentDB has no support for Mongo&#x27;s oplog (<a href="https:&#x2F;&#x2F;docs.mongodb.com&#x2F;manual&#x2F;core&#x2F;replica-set-oplog&#x2F;" rel="nofollow">https:&#x2F;&#x2F;docs.mongodb.com&#x2F;manual&#x2F;core&#x2F;replica-set-oplog&#x2F;</a>), or change streams (<a href="https:&#x2F;&#x2F;docs.mongodb.com&#x2F;manual&#x2F;changeStreams" rel="nofollow">https:&#x2F;&#x2F;docs.mongodb.com&#x2F;manual&#x2F;changeStreams</a>), which I guess is no surprise because change streams were introduced in Mongo 4, whereas DocumentDB copied the 3.6 API. So DocumentDB seems much less useful as a reactive data store than MongoDB.<p>In other words, DocumentDB is only a drop-in replacement for MongoDB if you weren&#x27;t using any of the features Amazon decided not to support.<p>Happy to be corrected if I&#x27;m misreading the documentation!
评论 #18874734 未加载
评论 #18874568 未加载
评论 #18874683 未加载
0xFFFF0000超过 6 年前
Weird question: Could Microsoft sue Amazon here for infringing on the DocumentDB name? I mean Microsoft&#x27;s DocumentDB was among the first to even have such a MongoDB layer also) and that was like 3 years ago.<p>Given that current Amazon leaders actually came from Microsoft&#x27;s data platform group this leaves a bit of a bad taste behind.<p>I&#x27;m not working for either company.
评论 #18872489 未加载
评论 #18875521 未加载
misframer超过 6 年前
Sounds like this runs on the same storage service as Aurora.
评论 #18870244 未加载
评论 #18870810 未加载
XorNot超过 6 年前
I&#x27;m pretty sure this is going to kill Mongo as a company dead. With this in existence there&#x27;s literally no reason to use Atlas.<p>If they wanted to twist the knife they should get to work implementing a pass through migration option.
评论 #18870572 未加载
评论 #18870715 未加载
codepopacy超过 6 年前
Dj from MongoDB here. We have, obviously, been keeping up with this and other threads, but we&#x27;ve also been busy testing out Amazon DocumentDB&#x27;s correctness and performance. While we&#x27;re getting that together to bring you an official response in a few days, complete with test results and methodology, I&#x27;d like to pick up on a couple of points and some inaccuracies that have been repeated in various threads:<p>This move shows MongoDB’s approach to document databases is compelling. We’ve thought so for a long time.<p>A cloud-hosted, truly global and managed MongoDB, MongoDB Atlas, has existed for the last two and a half years and has been serving more and more satisfied users every day with some massive workloads.<p>MongoDB Atlas runs the full implementation of MongoDB in the cloud.<p>Many features of MongoDB are documented as not being implemented by DocumentDB: these include change streams, many aggregation operators including $lookup and $graphlookup. But beyond that, well let’s just say we’ve been staggered by how many tests DocumentDB has failed (no spoilers!).<p>The MongoDB API is not under an Apache license.<p>MongoDB drivers are still under the Apache license. The MongoDB server used to be licensed under AGPL and is now licensed under SSPL. The source code is open to all, as it has always been, at <a href="https:&#x2F;&#x2F;github.com&#x2F;mongodb&#x2F;mongo" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mongodb&#x2F;mongo</a><p>DocumentDB is not cheaper than MongoDB Atlas. Preliminary estimates show this to only be the case with very large collections and very, very high read&#x2F;write workloads.<p>There’ll be more next week over on the MongoDB blogs.<p>Dj
评论 #18887156 未加载
评论 #18886063 未加载
keepper超过 6 年前
The current biggest threat to Free and Open Source software is cloud computing. Plain and simple.[0]<p>I know this is a blunt and harsh statement to make, but when you sell a service, you have zero native incentives to Open Source the way your system works. It just opens up Competition. This is not unique to AWS&#x2F;Amazon. But their success gives them the power to have wide OSS damage.<p>This is, to me, the biggest reason why cloud portability should be something that every customer of a cloud service should have in their plans. Amazon as a company has shown no timidness in both &quot;embracing, extending, extinguishing&quot; their competition.<p>OSS literally built the internet and opened up the wold wild communication age, let&#x27;s not be so short sighted that we don&#x27;t see proliferation of cloud services ( specifically one having so much dominance), for what it really is.<p>[0] <a href="http:&#x2F;&#x2F;dtrace.org&#x2F;blogs&#x2F;bmc&#x2F;2018&#x2F;12&#x2F;14&#x2F;open-source-confronts-its-midlife-crisis&#x2F;" rel="nofollow">http:&#x2F;&#x2F;dtrace.org&#x2F;blogs&#x2F;bmc&#x2F;2018&#x2F;12&#x2F;14&#x2F;open-source-confronts...</a>
评论 #18885545 未加载
评论 #18876377 未加载
luhn超过 6 年前
Why is it so expensive? Not only is the entry point $200&#x2F;m, the instances are twice the price of their EC2 equivalents. (At first I thought perhaps the price included multi-AZ, but it doesn&#x27;t.)
jchw超过 6 年前
Seems like this is likely to be the real result of licenses like the SSPL. Not even a terrible outcome if the different implementations remain relatively compatible.
评论 #18870049 未加载
评论 #18871873 未加载
manigandham超过 6 年前
So now AWS DocumentDB, Azure CosmosDB, and even Apple&#x27;s FoundationDB have a MongoDB compatible API. I expect other multimodal databases to offer the same soon enough.<p>Strange turn of events for MongoDB but I guess that&#x27;s what happens when the interface is open and anyone can build a backend to it, especially a relatively simple document-store.
评论 #18870817 未加载
social_quotient超过 6 年前
I really wish this were priced more along the lines of <a href="https:&#x2F;&#x2F;www.compose.com&#x2F;pricing" rel="nofollow">https:&#x2F;&#x2F;www.compose.com&#x2F;pricing</a> - a $200&#x2F;m floor is a tough dB cost to absorb on smaller yet important projects. Suppose an app has a few mb of data and maybe one day hits 100mb of awesomeness I really have to pay $200&#x2F;m here?<p>I get it, I love Aws, just wish this was priced differently.
评论 #18871567 未加载
评论 #18873121 未加载
notmyname超过 6 年前
seems an obvious response to <a href="https:&#x2F;&#x2F;www.mongodb.com&#x2F;press&#x2F;mongodb-issues-new-server-side-public-license-for-mongodb-community-server" rel="nofollow">https:&#x2F;&#x2F;www.mongodb.com&#x2F;press&#x2F;mongodb-issues-new-server-side...</a>
评论 #18870189 未加载
评论 #18870141 未加载
评论 #18870289 未加载
morpheuskafka超过 6 年前
I really wish this was serverless. Azure CosmosDB offers SQL and MariaDB interface against a serverless, pay for what you use database and DynamoDB is the only product of that class Amazon has. Even Aurora &quot;serverless&quot; appears to be little more than autoscale, and it requires an elastic IP which slows launch of lambdas since they have to connect to VPC.
评论 #18871116 未加载
markwolfe超过 6 年前
This looks great for teams getting started in AWS, being able to reuse idioms, libraries and knowledge in managed services to remove some of the operational load.<p>A note this is also nothing new, Azure Cosmos DB has had this for a while.
whalesalad超过 6 年前
Serious question: is there any real reason to use Mongo over Elasticsearch?
评论 #18870250 未加载
评论 #18870228 未加载
评论 #18870160 未加载
评论 #18870235 未加载
评论 #18870198 未加载
评论 #18870815 未加载
christkv超过 6 年前
There is a serious amount of weasel words in that statement. Implementing the Apache 2.0 API I think is just weasel words for &quot;Works more or less with the MongoDB drivers&quot; which is the only thing Apache 2.0 licensed that I know off and is obviously not the API which is the combination of the MongoDB wireprotocol and the commands supported by the MongoDB server.
mark_l_watson超过 6 年前
Looks good. I used to use both MongoDB and CouchDB (for very different use cases) a lot but haven’t touched them in a long while.
评论 #18870051 未加载
koolba超过 6 年前
Jeff Bezos continues his quest to eat all open lunch boxes.
评论 #18871568 未加载
评论 #18870969 未加载
borplk超过 6 年前
While we are on the topic, are there cloud providers out there that provide &quot;hosted FoundationDB as a service&quot;?<p>And if you are curious, no I don&#x27;t have any special need or use case for it, just wondering.
anonytrary超过 6 年前
AWS lacked something like this before, which is why I used MongoDB Atlas (MongoDB&#x27;s own managed mongo service). How is this different than DynamoDB (other than the obvious API differences)?
评论 #18870088 未加载
talawahdotnet超过 6 年前
I am pretty frustrated that DB services like Aurora, and now DocumentDB are still limited to last-gen instance types like r4 instead of the latest instances like r5 and t3 which have marked improvements in terms of CPU and networking performance.<p>I wonder if it is that they just have a so much r4 inventory left that they are forcing us to use it or if they haven&#x27;t fully integrated&#x2F;validated the latest instance types with their custom storage backend.
sauravt超过 6 年前
How is it better than buying a MongoDb subscription from the AWS marketplace? <a href="https:&#x2F;&#x2F;aws.amazon.com&#x2F;marketplace&#x2F;search&#x2F;results?x=0&amp;y=0&amp;searchTerms=mongodb" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;marketplace&#x2F;search&#x2F;results?x=0&amp;y=0&amp;se...</a>
0xfffff超过 6 年前
Wasn&#x27;t DocumentDB the old name of Azure Cosmos DB? just marketing wise this seems like a bad choice for a name.
vemv超过 6 年前
I hope AWS realises that harming OSS authors, even indirectly, is counterproductive to AWS&#x27; interests.<p>If Mongo dies, so does its userbase, and so does DocumentDB.<p>How to fix it classily? Contribute back with code maintenance or whatever customizations were developed in-house.<p>Also you get to save face - you are not perceived as a leech anymore.
StreamBright超过 6 年前
I hope MongoDB&#x27;s users are really keen on on-prem otherwise this might be a challenging moment for them.
评论 #18870442 未加载
orestes910超过 6 年前
Is it really THAT hard to to run on prem&#x2F;cloud because of the &quot;complexity that comes with setting up and managing MongoDB clusters at scale&quot;?<p>The documentation is strong, it was built with horizontal scalability in mind. I don&#x27;t see the struggle.
评论 #18870476 未加载
评论 #18870347 未加载
craig_peacock超过 6 年前
I would actually like to thank AWS for focusing on supporting Open APIs. Let the community design the standards and operations and let the vendors compete to implement them, open source included.
hendry超过 6 年前
Atlas is $0.03 per server hour, Amazon starts at $0.277<p>Do I have that right?
评论 #18872169 未加载
jonplackett超过 6 年前
Shame there isn’t a free tier equivalent. I’d like to try some projects using mongo but $200 a month minimum does not work for Indy projects.
评论 #18876686 未加载
KaoruAoiShiho超过 6 年前
Can someone do a comparison on pricing vs Atlas and vs DynamoDB and Amazon&#x27;s managed postgresql?
LoSboccacc超过 6 年前
&gt; Text Index: No<p>as MS Cosmo DB prior, the compatibility list leaves quite a bit out.
miaklesp超过 6 年前
Of all possible names they managed to choose already obsolete name for a similar product from Azure?<p>Azure in 2017: forget DocumentDB, Cosmos DB is the new thing now!<p>AWS in 2019: We just released DocumentDB!<p>Are they so geniuses or so idiots?
评论 #18871571 未加载
评论 #18872515 未加载
hguhghuff超过 6 年前
Is this serverless?<p>Pricing?
swoorup超过 6 年前
I cant use this crap locally?
outworlder超过 6 年前
How the heck was this approved by legal? AWS is linking to MongoDB&#x27;s own documentation.<p><a href="https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;documentdb&#x2F;latest&#x2F;developerguide&#x2F;mongo-apis.html" rel="nofollow">https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;documentdb&#x2F;latest&#x2F;developerguide...</a><p>Go to any operation, it links to docs.mongodb.com !
评论 #18870598 未加载
评论 #18870693 未加载
评论 #18870948 未加载