Chapter 5. Storage
In many cases, when we refer to Big Data, we usually relate it to a large storage infrastructure. In the past decade, when Hadoop-based architectures became popular, the challenge that they were solving was twofold: how to reliably store large amounts of data and how to process it. The Hadoop File System (HDFS), with its concept of replicated blocks, provided reliability in case of hardware failure, while MapReduce brought parallel computations to where the data was stored to remove the overhead of moving data over the network. That model is based on the premise that the data is already “at rest” in the storage system.
Storage as the Fast Data Borders
In the particular case of Fast Data architectures, storage usually demarks the transition boundaries between the Fast Data core and the traditional applications that might consume the produced data. The choice of storage technology is driven by the particular requirements of this transition between moving and resting data.
If we need to store the complete data stream as it comes in, and we need access to each individual record or sequential slices of them, we need a highly scalable backend with low-latency writes and key-based query capabilities. As we learned in Chapter 2, Apache Cassandra is a great choice in such a scenario, as it offers linear scalability and a limited but powerful query language (Cassandra Query Language, or CQL).
Data could also then be loaded into a traditional data warehouse or could be ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access