apache-ignite
33 строки · 2.0 Кб
1// Licensed to the Apache Software Foundation (ASF) under one or more
2// contributor license agreements. See the NOTICE file distributed with
3// this work for additional information regarding copyright ownership.
4// The ASF licenses this file to You under the Apache License, Version 2.0
5// (the "License"); you may not use this file except in compliance with
6// the License. You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15There are two types of nodes: servers and clients.
16
17A _server node_ is the base computational and data storage unit. Typically, you start a single server
18node per machine or container and it will scale vertically by utilizing all of the CPU, RAM, and other resources
19available unless specified differently. Those resources are pooled and become available to Ignite applications
20once the server node joins a cluster of other server nodes.
21
22image::images/ignite_clustering.png[Ignite Deployment]
23
24A _cluster_ is a group of server nodes interconnected together in order to provide shared resources like RAM and
25CPU to your applications.
26
27Operations executed by applications (key-value queries, SQL, computations, etc.) are directed to and performed by
28server nodes. If you need more computational power or data storage, scale out your cluster by adding more server
29nodes to it.
30
31_Client nodes_ are your connection endpoints and gateways from the application layer to the cluster of
32server nodes. You always embed a client into your application code and execute required APIs. The clients shield all
33the complexity of Ignite's distributed nature from application developers who will see the cluster as a single unit. It's as simple as connecting to an RDBMS via a JDBC driver or Spring Data framework.
34