NoSQL Databases




CS257

Chris Pollett

Sep 21, 2020

Outline

NoSQL Databases

Key Value Store

From Keys to Hashing

Quiz

Which of the following is true?

  1. Variables in XQuery must be proceeded with a question mark.
  2. The typical format of a SparkQL query is a FLWOR expression.
  3. A WSDL page might be read by a user agent to find out how to use a web service.

Horizontal Scaling

Scaling a Web-site

Example Web-site Architecture (medium-large site ~5000 hits/sec)

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

Remarks on Architecture

Memcached

Running memcached

Demo of connecting to memcached as a human - set

Demo of connecting to memcached as a human - get

Some Remarks on Memcached

Java Memcached Example

Request Coordination