Cloud storage is storage of data in digital form. Its structure consists of multiple servers that are located at different locations. This physical structure of storage is governed by the hosting company that provides the cloud services. Organisations have to access their data stored in the cloud, through the Internet, independent of where they are located.
An overview of Riak S2
Riak is a NoSQL database which is designed to deliver the maximum amount of data by distributing it across multiple users. It is also known as a distributed database because of its capability to deliver across distributed networks. It offers various features such as fault tolerance, high availability, scalability and simplicity. It is available in open source, enterprise and cloud storage versions.
Riak S2, also known as Riak Cloud Storage (Riak CS), is built on top of Riak. It is an object storage system, which stores objects in Riak and provides compatibility for an S3 interface.
In this era of ubiquitous social media and multiple sources of data, we now have to manage unstructured data along with structured data. Thus, to manage such a huge volume of data, we need to have scalability, high availability, fault tolerance, easy access, cost benefits, and robustness in order to utilise the data to gain business advantages. RiaK CS is one such solution. We can access the Riak S2 admin interface via HTTP.
RiaK CS is compatible with any client or library that implements the S3 API such as s3cmd, s3curl, boto, erlcloud, the AWS Java SDK, the AWS Ruby SDK, and Fog.
Features of Riak S2
Riak S2 or Riak CS provides the flexibility to install and configure the entire set-up on premise and, hence, it is secured based on an organisations defined policy. Figure 3 shows a few important features of Riak CS.
Use cases of Riak S2
The use cases of Riak S2 are illustrated in Figure 4.
How Riak S2 works
1. Riak S2 is built on the Riak NoSQL database.
2. Try to upload a database to Riak S2. This is what happens:
a. Riak S2 breaks the object into smaller chunks or blocks so they can be streamed, stored and replicated in the underlying Riak cluster.
b. Each block has meta data associated with it.
c. Meta data is used for retrieval purposes.
d. Data is replicated across nodes.
e. Nodes automatically take over the responsibilities of nodes that go offline.
f. Hence, data remains available even in failure.
3. Any node is capable of responding to client requests.
4. Theres no master node architecture here, and each node has the same responsibilities.
5. Three replicas per object (data) are created, by default.
6. For failed or non-communicative nodes, other nodes automatically take over the responsibility to make data available and, hence, high availability and fault tolerance is achieved.
Installation of Riak S2
Riak S2 or Riak CS is not supported on Microsoft Windows operating systems. However, it can be installed on operating systems such as CentOS, Ubuntu, FreeBSD, Fedora, SmartOS, Solaris and OS X. It can be installed on a single node for environment development purposes.