A Flavor of Transactions, Scaling Database Architectures




CS157a

Chris Pollett

Dec 2, 2019

Outline

Introduction

Concurrency Control

Distributed Databases

Quiz

Which of the following is true?

  1. An application server is another name for a DBMS.
  2. To connect to a database management system on another machine we would typically use the DBMS's application network layer interface.
  3. Queries encapsulated using PreparedStatement's are recompiled every time executeQuery is invoked.

Scaling a Web-site

Example Web-site Architecture

Organization of a website show squids, http servers, memcached server, databases.

Database Part of the Architecture

ORMCache Part of the Architecture

Reverse Proxy Part of the Architecture

Content Delivery Networks

C10k Problem and its Variants