- Apache Ignite Quick Start Guide
- Sujoy Acharya
- 270字
- 2021-06-10 18:52:26
Compute Grid
Apache Ignite Compute Grid is a distributed in-memory MapReduce/ForkJoin or Splitter-Aggregator platform. It enables the parallel processing of data to reduce the overall processing time. You can offload your computational tasks onto multiple nodes to improve the overall performance of the system and make it scalable. Suppose you need to generate the monthly student dues of a class. This includes accommodation charges, electricity usage, internet bills, food and canteen dues, library fees, and so on. You can split the processing into multiple chunks; each task computes a student due and finally the parent job sums up the dues of all students. If we have 10 nodes/threads and 100 students, then we can do 10 parallel processing.
Compute grid sends the tasks onto different worker nodes; each node performs a series of expansive calculations such as joining caches/tables using SQL queries. As a result, if we add more nodes the job will scale more.
The following diagram explains the compute grid architecture. We have to calculate bills for M students and already have N Apache Ignite nodes. Provided M > N, we can split the job into M/N chunks (if M = 101 and N=10, then we will end up with 101/10=10 + 1= 11 chunks) and send each chunk to a worker node. Finally, we aggregate the M/N chunks and send the result back to the job. It will reduce the overall computational time by N * number of loops times:
Ignite compute grid supports distributed closure and SQL joins. We will cover them in Chapter 4, Exploring the Compute Grid and Query API.
- 數(shù)據(jù)展現(xiàn)的藝術(shù)
- 大數(shù)據(jù)導(dǎo)論:思維、技術(shù)與應(yīng)用
- JavaScript實(shí)例自學(xué)手冊
- Managing Mission:Critical Domains and DNS
- Drupal 7 Multilingual Sites
- MicroPython Projects
- Apache Spark Deep Learning Cookbook
- Implementing Oracle API Platform Cloud Service
- 單片機(jī)C語言應(yīng)用100例
- Silverlight 2完美征程
- Mastering Exploratory Analysis with pandas
- FreeCAD [How-to]
- Hands-On Microservices with C#
- R Statistics Cookbook
- 人工智能產(chǎn)品經(jīng)理:從零開始玩轉(zhuǎn)AI產(chǎn)品