This covers the implementation of database clustering through Open Source technologies. It is designed to teach the students on how to get, install and configure the required software and eventually set-up the cluster. It also provides an example on how a web application connects randomly to any database server in the cluster and still gets the same data. Through this example, high data availability solution is clearly demonstrated in the sense that if and when one database server in the cluster is down, the other database server can continue providing the needed data.
The purpose of this text is to provide a reference for University level assembly language and systems programming courses. Specifically, this text addresses the x86-64 instruction set for the popular x86-64 class of processors using the Ubuntu 64-bit Operating System (OS). While the provided code and various examples should work under any Linux-based 64-bit OS, they have only been tested under Ubuntu 14/16/18 LTS (64-bit).