关键词:异步远程方法;数据库调用
摘 要:Today’s highly scalable Internet applications are largely bound by speed-of-light communication delays between geographically disparate data centers. This latency is particularly problematic when writing to distributed database systems because waiting for messages to travel halfway around the world is often unacceptable, and maintaining any notion of consistency is exceedingly difficult when using modern asynchronous architectures. We present a novel architecture, based on asynchronous remote method invocation, that achieves interesting consistency guarantees, even when performing write operations asynchronously. An analysis of our implementation demonstrates that this solution can provide an intuitive interface to developers, and doesn’t require any specialized knowledge of databases, SQL (Standard Query Language), or transactions.