Google Developers2.4 млн
Опубликовано 2 июня 2009, 19:51
Google I/O 2009 - A Design for a Distributed Transaction Layer for Google App Engine
Daniel Wilkerson
Massively scalable web applications encounter a fundamental tension in computing between performance and correctness: whereas performance is often addressed by using a large and therefore distributed machine, correctness, especially of an interruptible and multi-threaded program, requires data invariants to be maintained with the assistance of an underlying transaction layer. We provide a Distributed Transaction algorithm assuming a strongly consistent layer providing Local Transactions. We give most of the detail for operation in optimistic mode; however the same infrastructure could be used for pessimistic transactions as well, even at the same time. The algorithm is general but we express it in the particular instance of Google App Engine.
For presentation slides and all I/O sessions, please go to: code.google.com/events/io/sessions.html
Daniel Wilkerson
Massively scalable web applications encounter a fundamental tension in computing between performance and correctness: whereas performance is often addressed by using a large and therefore distributed machine, correctness, especially of an interruptible and multi-threaded program, requires data invariants to be maintained with the assistance of an underlying transaction layer. We provide a Distributed Transaction algorithm assuming a strongly consistent layer providing Local Transactions. We give most of the detail for operation in optimistic mode; however the same infrastructure could be used for pessimistic transactions as well, even at the same time. The algorithm is general but we express it in the particular instance of Google App Engine.
For presentation slides and all I/O sessions, please go to: code.google.com/events/io/sessions.html
Свежие видео
Случайные видео