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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Amazon Aurora Serverless

111 点作者 tiagobraw将近 7 年前

13 条评论

talawahdotnet将近 7 年前
I feel like the choice of the name &quot;serverless&quot; is unnecessarily confusing&#x2F;controversial, but I like the concept.<p>The ability to scale down to zero could certainly be useful for automated testing use cases.<p>As with anything on AWS it will take some testing to discover all the quirks and caveats, but I like the general direction this is headed.
评论 #17730550 未加载
评论 #17730867 未加载
评论 #17730695 未加载
评论 #17731039 未加载
评论 #17730408 未加载
pritambarhate将近 7 年前
This really is a new paradigm shift for relational databases. In general, on the DB side, you are not able to scale horizontally like application tier. So for the fear of degradation of service, most of us end up overprovisioning on the DB side. With Serverless, auto-scaling Aurora, I think things will change for the DB tier too.<p>The Serverless section in Aurora FAQ [1] is also worth reading. The main gotcha I think is:<p>&gt;&gt; Q: Why isn&#x27;t my Aurora Serverless DB Cluster automatically scaling?<p>&gt;&gt; Once a scaling operation is initiated, Aurora Serverless attempts to find a scaling point, which is is a point in time at which the database can safely complete scaling. Aurora Serverless might not be able to find a scaling point if you have long-running queries or transactions in progress, or temporary tables or table locks in use.<p>So I think one will need to focus on quick OLTP type queries.<p>Still, I am quite excited to see how this shapes up.<p>[1]: <a href="https:&#x2F;&#x2F;aws.amazon.com&#x2F;rds&#x2F;aurora&#x2F;faqs&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aws.amazon.com&#x2F;rds&#x2F;aurora&#x2F;faqs&#x2F;</a>
评论 #17736245 未加载
评论 #17734013 未加载
评论 #17739515 未加载
joecot将近 7 年前
This is extremely frustrating. One of the biggest use cases for wanting to use Aurora serverless is connecting to MySQL using lambda functions -- Function as a Service apps that can still use rdbms. The problem is that RDS endpoints only exist inside vpcs, and cold starting a lambda function with a vpc network interface can take 10+ seconds, making it useless for an API. I had hoped that, given they were making a serverless MySQL service, they&#x27;d make sure it actually plays well with lambda. Nope. Same problems regular RDS has. No better method of securing the connection beyond vpc firewall rules. Amazon, it&#x27;s been a problem since lambda was launched and it hasn&#x27;t been fixed. Either fix lambda vpc cold start times, or provide a better way to connect lambda to RDS. Just burying the problem only pisses off your customers when they try to buy into your hype.<p>And since it always comes up:<p>* Yes, there is plenty of reason to want to use MySQL with lambda. Wanting to run software on FaaS does not mean wanting to abandon rdbms. For a small app, dynamodb is overkill; for a small app that turns into a large app, dynamodb is a money pit.<p>* No, adding scheduled heartbeat requests to the lambda functions so they never have to cold start is not a real, long term, scalable solution. It&#x27;s a hack, it doesn&#x27;t solve the problem if your app actually scales up, and infrastructure shouldn&#x27;t depend on horrible hacks to function correctly.
评论 #17735620 未加载
评论 #17734727 未加载
red_dinosaur将近 7 年前
Assuming this hasn&#x27;t changed since the preview started:<p>&gt; The cool down period for scale-down is 15 minutes since the last scaling operation. The cool down period for scale-up is 5 minutes since the last scaling operation.
评论 #17730435 未加载
评论 #17730767 未加载
评论 #17730328 未加载
bastawhiz将近 7 年前
I have to say, it&#x27;s really frustrating that Postgres is a second class citizen in the AWS ecosystem. Aurora in general is often far behind on Postgres support relative to MySQL. I hope this changes going forward.
评论 #17748780 未加载
dev_dull将近 7 年前
&gt; <i>Pay only for the database resources you consume, on a per-second basis.</i><p>&gt; <i>You pay a flat rate per second of ACU usage, with a minimum of 5 minutes of usage each time the database is activated.</i><p>Cool idea, but an IO operation once every 5 minutes is considered (billing-wise) a full time service.<p>This could unlock a lot of cool potential if it had finer granularity. I can think of some IoT applications that have have infrequent operations which would be cost effective with less minimum time.
guru4consulting将近 7 年前
I had assumed that this would be a HTTPS service with a public end-point, available outside a VPC. But, looks like it is still deployed inside the VPC and accessible over JDBC. Did anyone find any configuration option to deploy it outside VPC? Overall, it looks like good old Aurora RDS with an auto start&#x2F;stop option, and costing based on that start&#x2F;stop duration.
评论 #17730605 未加载
评论 #17730800 未加载
paulddraper将近 7 年前
AWS, why not PostgreSQL?<p>The bare minimum cost for Aurora PostgreSQL is $200&#x2F;month. Aurora MySQL is an order of magnitude less.<p>Why not PostgreSQL?
评论 #17730955 未加载
ciferkey将近 7 年前
Very exciting! I made a simple bot to scrape lunch specials menus off Instagram and post them to my company&#x27;s slack (<a href="http:&#x2F;&#x2F;blog.matthewbrunelle.com&#x2F;projects&#x2F;2018&#x2F;05&#x2F;07&#x2F;Soup-Bot.html" rel="nofollow">http:&#x2F;&#x2F;blog.matthewbrunelle.com&#x2F;projects&#x2F;2018&#x2F;05&#x2F;07&#x2F;Soup-Bot...</a>).<p>One point point was making custom lambas to spin up&#x2F;down the DB and everything that was needed to use it (a NAT on EC2, and an elastic IP since the default NAT aww provides is pricey). The bot only needs to run for an hour on weekdays so there&#x27;s no point keeping everything running 24&#x2F;7. Excited to try replacing all of that with this!
tgp22将近 7 年前
This definitely works from a cost pov. We use a small instance of AWS Aurora which is mostly idle. If we go this route we will need to see how quick the cold-start is and how quick the ACU scaling is. Serverless SQL DB - definitely a nice way to to go.
oh_hello将近 7 年前
I&#x27;m excited for this. I have a few small, low budget projects that would either require expensive RDS instances or awkward data management to force the use of Dynamo. Now there appears to be a low cost SQL solution for serverless projects.
评论 #17734125 未加载
smokedmeat将近 7 年前
Is serverless Aurora available in a multi-az high availability form as well?
评论 #17734746 未加载
mooreds将近 7 年前
For testing and development databases, would prefer to scale to zero. Weird that they don&#x27;t offer that as an option.
评论 #17730524 未加载
评论 #17730404 未加载
评论 #17730801 未加载