TechCrunch News 2024年12月04日
AWS announces Aurora DSQL, a new distributed SQL database that promises virtually unlimited scalability
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

亚马逊AWS云计算单元在re:Invent大会上宣布推出Amazon Aurora DSQL,这是一种新的无服务器分布式SQL数据库,具有高可用性、强一致性、PostgreSQL兼容性,读写速度比其他流行分布式SQL数据库快4倍,且强调无数据库分片,采用主动-主动架构等。

🎈Amazon Aurora DSQL是无服务器分布式SQL数据库,具高可用性等特性

💻强调无数据库分片,可独立扩展读写,采用主动-主动架构

⏱使用Amazon Time Sync Service解决数据一致性问题并加速处理

At its re:Invent conference, Amazon’s AWS cloud computing unit today announced Amazon Aurora DSQL, a new serverless, distributed SQL database that promises high availability (99.999% for multi-region availability), strong consistency, PostgreSQL compatibility, and, the company says, “4x faster reads and writes compared to other popular distributed SQL databases.”

AWS argues that Aurora DSQL will offer significantly lower latency than Google Spanner, its closest competitor.

Image Credits:TechCrunch

Interestingly, AWS stresses that there is no database sharding involved here to scale the service — and that it can scale reads and writes independently. The company also highlights that Aurora DSQL will offer strong consistency, ensuring that if users opt for a multi-region approach, all regions will always show the same data at the same time.

AWS notes that to ensure resiliency, Aurora DSQL uses an active-active architecture, meaning there is always a standby server ready to take over, which guarantees “that a customer’s application is always available by enabling an application to read and write to any Aurora DSQL endpoint.” Since this is a fully managed service, AWS handles all of the security updates and manages the overall infrastructure.

Image Credits:TechCrunch

To make all of this happen, the AWS team says it had to “reinvent relational database transaction processing.” Typically, ensuring strong consistency across multiple regions and having those globally distributed servers sync with what AWS describes as “microsecond accuracy” is a rather difficult feat to achieve. AWS says it can do this because it decoupled the transaction processing from the storage. Traditional methods, the company explains, would be bottlenecked by having to pass information back and forth multiple times. Aurora, however, only checks each transaction when it’s time to commit the changes and then, when the commit happens, it parallelizes those writes across regions.

One nifty twist here: to make sure that each region sees the commits in the right order, Aurora DSQL uses the Amazon Time Sync Service, which adds very precise reference clocks to every EC2 instance and synchronizes them using the atomic clocks on GPS satellites.

Image Credits:TechCrunch

Having this exact time helps solve a number of data consistency issues and speeds up the processing. And while using a time-based approach may seem like a no-brainer, it takes very precise — and well-synchronized — clocks to do so. Synchronizing clocks, and doing so on a global scale, is a surprisingly difficult problem. That’s why traditionally, database haven’t been able to use time in this way. Startups like Clockwork specialize in this. For a long time, that wasn’t actually possible, but now that these systems are available, they enable database innovations like this.

Image Credits:AWS

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

Amazon Aurora DSQL 分布式SQL数据库 数据一致性 高可用性
相关文章