This page contains basic information on how to write client applications that use the RAMCloud storage system.

An example application

The file src/ClientMain.cc in the RAMCloud source directory contains a simple RAMCloud application. Here are a few general hints about writing applications:

How to compile an application

Here is an example command for compiling a RAMCloud client application:

g++ -Lobj.master -lramcloud -Isrc -Iobj.master -o TestClient TestClient.cc

This assumes the following:

If the application is in a different directory, or if the RAMCloud sources are not using the master branch, you will need to adjust the command line accordingly.