Обновлена схема кластера

This commit is contained in:
ddadmin committed 2025-10-05 22:50:56 +03:00
1 parent 33d7b2b42d
commit 6971cec5d5
3 files changed
+5 -22

No files matched your search

+1 -22
View File
@@ -11,28 +11,6 @@
## 🏗️ Архитектура стенда ## 🏗️ Архитектура стенда
```
┌─────────────┐
│ HAProxy │
│ :8124/:9001 │
└──────┬──────┘
│
┌────────────────┼────────────────┐
│ │ │
┌──────▼──┐ ┌──────▼──┐ ┌──────▼──┐ ┌──────▼──┐
│ click1 │ │ click2 │ │ click3 │ │ click4 │
│ :9123 │ │ :9124 │ │ :9125 │ │ :9126 │
│ :8002 │ │ :8003 │ │ :8004 │ │ :8005 │
└─────────┘ └─────────┘ └─────────┘ └─────────┘
│ │ │ │
└────────────────┼────────────────┘ │
│ │
┌──────▼──┐ │
│ZooKeeper│ ◄─────────────────────────────┘
│ :2182 │
└─────────┘
```
### Состав инфраструктуры ### Состав инфраструктуры
- **4× ClickHouse Server** (версия 25.1) — основные узлы кластера - **4× ClickHouse Server** (версия 25.1) — основные узлы кластера
@@ -40,6 +18,7 @@
- **1× HAProxy** (3.1.7) — балансировщик нагрузки - **1× HAProxy** (3.1.7) — балансировщик нагрузки
- **3 типа кластерных конфигураций**: 1×4, 2×2, 4×1 (шарды×реплики) - **3 типа кластерных конфигураций**: 1×4, 2×2, 4×1 (шарды×реплики)
![Схема кластера](./Схема%20кластера.drawio.svg)
## 🚀 Быстрый старт ## 🚀 Быстрый старт
### Предварительные требования ### Предварительные требования
Binary file not shown.

Before

Width:  |  Height:  |  Size: 225 KiB

After

Width:  |  Height:  |  Size: 55 KiB

+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file with editors other than draw.io -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" style="background: transparent; background-color: transparent; color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="842px" height="572px" viewBox="-0.5 -0.5 842 572" content="&lt;mxfile host=&quot;Electron&quot; agent=&quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/28.1.2 Chrome/138.0.7204.243 Electron/37.4.0 Safari/537.36&quot; version=&quot;28.1.2&quot; scale=&quot;1&quot; border=&quot;0&quot;&gt;&#10; &lt;diagram name=&quot;Страница — 1&quot; id=&quot;FHKpafrjKkJkzZQU2sBS&quot;&gt;&#10; &lt;mxGraphModel dx=&quot;1235&quot; dy=&quot;694&quot; grid=&quot;1&quot; gridSize=&quot;10&quot; guides=&quot;1&quot; tooltips=&quot;1&quot; connect=&quot;1&quot; arrows=&quot;1&quot; fold=&quot;1&quot; page=&quot;1&quot; pageScale=&quot;1&quot; pageWidth=&quot;1169&quot; pageHeight=&quot;827&quot; math=&quot;0&quot; shadow=&quot;0&quot;&gt;&#10; &lt;root&gt;&#10; &lt;mxCell id=&quot;0&quot; /&gt;&#10; &lt;mxCell id=&quot;1&quot; parent=&quot;0&quot; /&gt;&#10; &lt;mxCell id=&quot;tSqiZl5FNUn8lHeOsgIg-36&quot; value=&quot;Внешний клиент (Client)&quot; style=&quot;rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=14;&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&#10; &lt;mxGeometry x=&quot;640&quot; y=&quot;30&quot; width=&quot;200&quot; height=&quot;60&quot; as=&quot;geometry&quot; /&gt;&#10; &lt;/mxCell&gt;&#10; &lt;mxCell id=&quot;tSqiZl5FNUn8lHeOsgIg-40&quot; value=&quot;Учебный кластер ClickHouse (Docker Compose)&quot; style=&quot;text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=16;&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&#10; &lt;mxGeometry x=&quot;40&quot; y=&quot;45&quot; width=&quot;520&quot; height=&quot;30&quot; as=&quot;geometry&quot; /&gt;&#10; &lt;/mxCell&gt;&#10; &lt;mxCell id=&quot;tSqiZl5FNUn8lHeOsgIg-41&quot; value=&quot;&quot; style=&quot;group&quot; vertex=&quot;1&quot; connectable=&quot;0&quot; parent=&quot;1&quot;&gt;&#10; &lt;mxGeometry x=&quot;40&quot; y=&quot;121&quot; width=&quot;840&quot; height=&quot;480&quot; as=&quot;geometry&quot; /&gt;&#10; &lt;/mxCell&gt;&#10; &lt;mxCell id=&quot;tSqiZl5FNUn8lHeOsgIg-34&quot; value=&quot;Хост-машина - Docker network&quot; style=&quot;rounded=1;whiteSpace=wrap;html=1;fillColor=#f5f5f5;arcSize=5;strokeColor=#666666;fontColor=#333333;align=left;verticalAlign=top;spacingLeft=12;spacingTop=6;fontSize=13;container=0;dashed=1;dashPattern=8 8;&quot; vertex=&quot;1&quot; parent=&quot;tSqiZl5FNUn8lHeOsgIg-41&quot;&gt;&#10; &lt;mxGeometry width=&quot;840&quot; height=&quot;480&quot; as=&quot;geometry&quot; /&gt;&#10; &lt;/mxCell&gt;&#10; &lt;mxCell id=&quot;tSqiZl5FNUn8lHeOsgIg-22&quot; value=&quot;&quot; style=&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fillColor=#0050ef;strokeColor=#001DBC;strokeWidth=1.5;&quot; edge=&quot;1&quot; parent=&quot;tSqiZl5FNUn8lHeOsgIg-41&quot; source=&quot;tSqiZl5FNUn8lHeOsgIg-15&quot; target=&quot;tSqiZl5FNUn8lHeOsgIg-5&quot;&gt;&#10; &lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot;&gt;&#10; &lt;mxPoint x=&quot;320&quot; y=&quot;188&quot; as=&quot;targetPoint&quot; /&gt;&#10; &lt;/mxGeometry&gt;&#10; &lt;/mxCell&gt;&#10; &lt;mxCell id=&quot;tSqiZl5FNUn8lHeOsgIg-23&quot; value=&quot;&quot; style=&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fillColor=#0050ef;strokeColor=#001DBC;strokeWidth=1.5;&quot; edge=&quot;1&quot; parent=&quot;tSqiZl5FNUn8lHeOsgIg-41&quot; source=&quot;tSqiZl5FNUn8lHeOsgIg-15&quot; target=&quot;tSqiZl5FNUn8lHeOsgIg-1&quot;&gt;&#10; &lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot;&gt;&#10; &lt;mxPoint x=&quot;450&quot; y=&quot;168&quot; as=&quot;sourcePoint&quot; /&gt;&#10; &lt;mxPoint x=&quot;370&quot; y=&quot;246&quot; as=&quot;targetPoint&quot; /&gt;&#10; &lt;/mxGeometry&gt;&#10; &lt;/mxCell&gt;&#10; &lt;mxCell id=&quot;tSqiZl5FNUn8lHeOsgIg-24&quot; value=&quot;&quot; style=&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fillColor=#0050ef;strokeColor=#001DBC;strokeWidth=1.5;&quot; edge=&quot;1&quot; parent=&quot;tSqiZl5FNUn8lHeOsgIg-41&quot; source=&quot;tSqiZl5FNUn8lHeOsgIg-15&quot; target=&quot;tSqiZl5FNUn8lHeOsgIg-8&quot;&gt;&#10; &lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot;&gt;&#10; &lt;mxPoint x=&quot;400&quot; y=&quot;168&quot; as=&quot;sourcePoint&quot; /&gt;&#10; &ltLine truncated

After

Width:  |  Height:  |  Size: 39 KiB