- Apache Ignite Quick Start Guide
- Sujoy Acharya
- 267字
- 2021-06-10 18:52:28
Achieving High Performance
In traditional web application architecture, we deploy our application into multiple nodes and each node connects to a relational database to store data. The following diagram depicts the traditional system architecture; different clients (desktop, mobile, tabs, laptops, smart devices, and so on) are communicating with the system. There are multiple JVMs/nodes to handle the traffic (the load balancer is removed for brevity), but there is only one database instance to store data. DB operations are relatively slow as they interact with the file IO, so this architecture may create a bottleneck if the client requests come faster than the DB prepossessing rate. The database ensures data atomicity, consistency, transaction isolation, and durability, we just cannot run multiple DB instances or replace it:
Adding a new Apache Ignite in-memory data grid layer to the existing N-tier architecture can improve the performance of the system many times over. The in-memory cluster can sit between the JVMs and the database. The JVMs/nodes will interact with the Ignite in-memory grid instead of the database, since the CRUD operations will be performed in-memory the performance will be way faster than direct database CRUDs. Data consistency, atomicity, isolation, and durability, and the transactional nature of operations, will be maintained by the Ignite cluster.
This new architectural style reduces the transaction time and system response time by moving the data closer to the application:
In Chapter 2, Understanding the Topologies and Caching Strategies, we will explore how to write code to interact with an in-memory data grid and then sync up data with a relational database.
- ABB工業機器人編程全集
- Practical Data Analysis
- 工業機器人產品應用實戰
- Hands-On Cybersecurity with Blockchain
- Data Wrangling with Python
- 永磁同步電動機變頻調速系統及其控制(第2版)
- 大數據技術與應用
- 21天學通C語言
- 工業自動化技術實訓指導
- 電氣控制與PLC原理及應用(歐姆龍機型)
- Mastering Text Mining with R
- Mastering Ceph
- 傳感器與自動檢測
- Mastering Predictive Analytics with scikit:learn and TensorFlow
- Windows 7故障與技巧200例