Introduction to Riak S2

What is Cloud Storage?

In simple terms, cloud storage is storage of data in digital form. Its structure is comprised of multiple servers that are located at different locations. This physical structure of storage is governed by the hosting company which provides the cloud services. This physical structure of storage is governed by the hosting company which provides the cloud services. Organizations just have to access the cloud storage through the Internet independent of the locations. 

Benefits of Cloud storage

Figure 1 Benefits of Cloud storage

Overview of Riak S2

Let's understand what Riak is! Riak is a NOSQL database which is designed to deliver maximum of data by distributing across multiple users. It is also known as distributed database because of its capability to deliver across distributed networks. It offers various features such as fault tolerance, high availability, scalability, simplicity. It is available in open source, enterprise and cloud storage version.
Riak S2 also known as Riak Cloud Storage (Riak CS) is built on top of Riak. It is object storage system which store objects in Riak and provides compatibility for S3 interface.
RIAK S2 OPEN SOURCE

Figure 2 RIAK S2 OPEN SOURCE

In the era of social media and multiple sources of data, we now have to manage unstructured data along with structured data. Thus to manage such huge volume of data, we need to have scalability, high availability, fault tolerance, easy access, cost benefits, and robustness to utilize the data to gain business advantages. RiaK CS is one such solution that helps. We can access 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, AWS Java SDK, AWS Ruby SDK, and Fog.

Features Riak S2

Riak CS provides flexibility to install and configure the entire setup on premise and hence it is secured based on organization’s defined policy. Following are some of the important features:
Features of Riak S2

Figure 3 Features of Riak S2


Use cases of Riak S2

Use cases of Riak S2

 Figure 4 Use cases of Riak S2


How Riak S2 works?

Architecture

Figure 5 Architecture (Source: http://docs.basho.com/riakcs/latest/tutorials/fast-track/What-is-Riak-CS/)
1.       Riak S2 is built on Riak NOSQL database.
2.       Try to upload a database to Riak S2
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 purpose
d.      Data is replicated across nodes
e.      Nodes automatically take over responsibilities of nodes that go offline
f.        Hence, data remains available even in fault
3.       Any node is capable to respond to client requests
4.       No master node architecture here and each node  possess 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 single node for development environment purpose.

Installation of Riak S2

Figure 6 Installation of Riak S2

Originally Posted on OSFY 2016

Labels: ,