apache-ignite

Форк
0
45 строк · 2.4 Кб
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.
15
= Clustering
16

17
== Overview
18

19
In this chapter, we discuss different ways nodes can discover each other to form a cluster.
20

21
On start-up, a node is assigned either one of the two roles: _server node_ or _client node_.
22
Server nodes are the workhorses of the cluster; they cache data, execute compute tasks, etc.
23
Client nodes join the topology as regular nodes but they do not store data. Client nodes are used to stream data into the cluster and execute user queries.
24

25
To form a cluster, each node must be able to connect to all other nodes. To ensure that, a proper <<Discovery Mechanisms,discovery mechanism>> must be configured.
26

27

28
NOTE: In addition to client nodes, you can use Thin Clients to define and manipulate data in the cluster.
29
Learn more about the thin clients in the link:thin-clients/getting-started-with-thin-clients[Thin Clients] section.
30

31

32
image::images/ignite_clustering.png[Ignite Cluster]
33

34

35

36
== Discovery Mechanisms
37

38
Nodes can automatically discover each other and form a cluster.
39
This allows you to scale out when needed without having to restart the whole cluster.
40
Developers can also leverage Ignite's hybrid cloud support that allows establishing connection between private and public clouds such as Amazon Web Services, providing them with the best of both worlds.
41

42
Ignite provides two implementations of the discovery mechanism intended for different usage scenarios:
43

44
* link:clustering/tcp-ip-discovery[TCP/IP Discovery] is designed and optimized for 100s of nodes.
45
* link:clustering/zookeeper-discovery[ZooKeeper Discovery] that allows scaling Ignite clusters to 100s and 1000s of nodes preserving linear scalability and performance.
46

47

48

49

50

51

52

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.