What Does 'Real Time' in 'Real Time Big Data' Mean?
Join the DZone community and get the full member experience.Join For Free
although low latencies are very important, they only cover one side of what "real time" really means. the part that is usually not covered is how current the analyzed data is, and in case of hdfs it is as current as the last snapshot copied into it. the need for snapshotting comes from the fact that most businesses are still running on traditional rdbms systems (with nosql gaining momentum where it fits), and data has to be at some point migrated into hdfs in order to be processed. such snapshotting is currently part of most hadoop deployments and it usually happens once or twice a day.
so how can your business run in "real time" if most of the decisions are actually made based on yesterday's data? the architecture needs to be augmented to work with live data, the data which has just been changed or created - not the data that is days old. this is where in-memory data grids (a.k.a. distributed partitioned caches) come in.
by putting a data grid in front of hdfs we can store recent or more relevant state in memory which allows instant access and fast queries on it. when the data is properly partitioned, you can treat your whole data grid as one huge memory space - you can literally cache terabytes of data in memory. but even in this case, the memory space is still limited and when the data becomes less relevant, or simply old, it should still be offloaded onto rdbms, hdfs, or any other storage. however, with this architecture, businesses can now do processing of both, current and historic data - and this is very powerful . now financial companies can quickly react to latest ticks in market data, gaming applications can react to latest player updates, businesses can analyze latest performance of ad campaigns, etc.
here are some of the important benefits our customers get when deploying gridgain in-memorycompute and data grid in the above architecture:
- partitioning of data
- real time mapreduce
- integration between compute and data grids and ability to collocate your computations with data (a.k.a. data affinity)
- in-memory data indexing and ability to run complex sql queries, including ability to execute "sql joins" between different types of data
- native affinity-aware clients for java, .net, c++, android (with objective-c client right around the corner)
- tight integration with various storage systems, including any type of rdbms, hadoop hdfs, hbase, etc...
Published at DZone with permission of Dmitriy Setrakyan, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.