vault backup: 2023-09-24 13:12:33

This commit is contained in:
Alice 2023-09-24 13:12:33 +01:00
parent 9fbb97b41c
commit 326f5982bb
3 changed files with 929 additions and 1 deletions

View file

@ -5,11 +5,11 @@
- Performance. - Performance.
- Dependability - Dependability
## How to distribute? ## How to distribute?
### 1. Monolythic system ### 1. Monolythic system
- Architecture: [[Monolithic system.excalidraw]] - Architecture: [[Monolithic system.excalidraw]]
- Multiple services for multiple targets in the same server - Multiple services for multiple targets in the same server
## 2. Distributed system ## 2. Distributed system
- Main distribution concerns: - Main distribution concerns:
1. Replication 1. Replication
@ -19,3 +19,12 @@
- Not mutually exclusive, can be combined. - Not mutually exclusive, can be combined.
### 2.1 Replication ### 2.1 Replication
- Architecture: [[Replication.excalidraw]]
- Multiple copies of the same data and functionality
- Addresses resilience and scale-out
### 2.2 Partitioning
- Architecture: [[Partitioning.excalidraw]]
- A server is split horizontally (Sharding).
- Addresses scale-out.
- Can be applied to computation, data, ...
-

View file

@ -0,0 +1,919 @@
---
excalidraw-plugin: parsed
tags: [excalidraw]
---
==⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠==
# Text Elements
A ^mE8QZ6CE
A ^utJnthcp
A ^w7okAgPH
Server 1 ^im9ZRduJ
B ^J5qosxsp
B ^jkLB85lW
B ^gtvkiGSB
Server 2 ^lxq47CZK
C ^2Dlrew0Z
C ^bSAC4G9P
C ^O6Es3NQy
Server 3 ^S6ULO117
%%
# Drawing
```json
{
"type": "excalidraw",
"version": 2,
"source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/1.9.19",
"elements": [
{
"type": "rectangle",
"version": 180,
"versionNonce": 398265427,
"isDeleted": false,
"id": "ANTP3g9GOwbvU_UeadMO0",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -293.5,
"y": -352.2421875,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 343,
"height": 139.00000000000003,
"seed": 1063635613,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 3
},
"boundElements": [],
"updated": 1695557384916,
"link": null,
"locked": false
},
{
"type": "ellipse",
"version": 117,
"versionNonce": 464729565,
"isDeleted": false,
"id": "0WEEHi-55A0ADmjSaSA00",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -250.5,
"y": -292.40885416666674,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 50,
"height": 51,
"seed": 1357672189,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"boundElements": [
{
"id": "mE8QZ6CE",
"type": "text"
}
],
"updated": 1695557235422,
"link": null,
"locked": false
},
{
"type": "text",
"version": 50,
"versionNonce": 346645107,
"isDeleted": false,
"id": "mE8QZ6CE",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -232.23766708825744,
"y": -279.4400770869237,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 13.1199951171875,
"height": 25,
"seed": 1457489757,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1695557235422,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "A",
"rawText": "A",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": "0WEEHi-55A0ADmjSaSA00",
"originalText": "A",
"lineHeight": 1.25,
"baseline": 18
},
{
"type": "diamond",
"version": 161,
"versionNonce": 1373030141,
"isDeleted": false,
"id": "K_K2CdaFsM4at-Yjh34zf",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -158.5,
"y": -302.40885416666674,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 69,
"height": 70,
"seed": 1569606973,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"boundElements": [
{
"id": "utJnthcp",
"type": "text"
}
],
"updated": 1695557235422,
"link": null,
"locked": false
},
{
"type": "text",
"version": 92,
"versionNonce": 1897591635,
"isDeleted": false,
"id": "utJnthcp",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -130.30999755859375,
"y": -279.90885416666674,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 13.1199951171875,
"height": 25,
"seed": 673947037,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1695557235422,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "A",
"rawText": "A",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": "K_K2CdaFsM4at-Yjh34zf",
"originalText": "A",
"lineHeight": 1.25,
"baseline": 18
},
{
"type": "rectangle",
"version": 108,
"versionNonce": 2025774941,
"isDeleted": false,
"id": "1lXhXnXN613GOBG7a4TDr",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -43.16666666666674,
"y": -286.40885416666674,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 51,
"height": 48,
"seed": 1736434173,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 3
},
"boundElements": [
{
"id": "w7okAgPH",
"type": "text"
}
],
"updated": 1695557235422,
"link": null,
"locked": false
},
{
"type": "text",
"version": 42,
"versionNonce": 514265331,
"isDeleted": false,
"id": "w7okAgPH",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -24.226664225260492,
"y": -274.90885416666674,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 13.1199951171875,
"height": 25,
"seed": 1351391837,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1695557235422,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "A",
"rawText": "A",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": "1lXhXnXN613GOBG7a4TDr",
"originalText": "A",
"lineHeight": 1.25,
"baseline": 18
},
{
"type": "text",
"version": 78,
"versionNonce": 819373373,
"isDeleted": false,
"id": "im9ZRduJ",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -156.95088009215158,
"y": -345.61067708333326,
"strokeColor": "#1e1e1e",
"backgroundColor": "#b2f2bb",
"width": 77.11991882324219,
"height": 25,
"seed": 278067645,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1695557235423,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "Server 1",
"rawText": "Server 1",
"textAlign": "center",
"verticalAlign": "top",
"containerId": null,
"originalText": "Server 1",
"lineHeight": 1.25,
"baseline": 18
},
{
"type": "rectangle",
"version": 494,
"versionNonce": 1483195187,
"isDeleted": false,
"id": "Q7MlY-Fh1YKKVtZNJqryM",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -291.85714285714283,
"y": -181.2008928571429,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 343,
"height": 139.00000000000003,
"seed": 265713811,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 3
},
"boundElements": [],
"updated": 1695557447868,
"link": null,
"locked": false
},
{
"type": "ellipse",
"version": 438,
"versionNonce": 1200547027,
"isDeleted": false,
"id": "xcRtmTKVdZuUjApitBYJs",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -247.42857142857142,
"y": -120.65327380952397,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 50,
"height": 51,
"seed": 2118118963,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"boundElements": [
{
"id": "J5qosxsp",
"type": "text"
}
],
"updated": 1695557447868,
"link": null,
"locked": false
},
{
"type": "text",
"version": 374,
"versionNonce": 882954867,
"isDeleted": false,
"id": "J5qosxsp",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -229.8762376013015,
"y": -107.68449672978093,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 14.539993286132812,
"height": 25,
"seed": 1999220691,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1695557447868,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "B",
"rawText": "B",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": "xcRtmTKVdZuUjApitBYJs",
"originalText": "B",
"lineHeight": 1.25,
"baseline": 18
},
{
"type": "diamond",
"version": 475,
"versionNonce": 811863059,
"isDeleted": false,
"id": "AvdERKBPQSC9fVh-Xj-i8",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -156.85714285714283,
"y": -131.36755952380963,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 69,
"height": 70,
"seed": 1554660723,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"boundElements": [
{
"id": "jkLB85lW",
"type": "text"
}
],
"updated": 1695557447868,
"link": null,
"locked": false
},
{
"type": "text",
"version": 407,
"versionNonce": 1859064243,
"isDeleted": false,
"id": "jkLB85lW",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -129.37713950020924,
"y": -108.86755952380963,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 14.539993286132812,
"height": 25,
"seed": 168302355,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1695557447868,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "B",
"rawText": "B",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": "AvdERKBPQSC9fVh-Xj-i8",
"originalText": "B",
"lineHeight": 1.25,
"baseline": 18
},
{
"type": "rectangle",
"version": 422,
"versionNonce": 1627939667,
"isDeleted": false,
"id": "g7zzkxbsh7e2sHZfhCrzi",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -41.523809523809575,
"y": -115.36755952380963,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 51,
"height": 48,
"seed": 767147187,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 3
},
"boundElements": [
{
"id": "gtvkiGSB",
"type": "text"
}
],
"updated": 1695557447868,
"link": null,
"locked": false
},
{
"type": "text",
"version": 357,
"versionNonce": 258375923,
"isDeleted": false,
"id": "gtvkiGSB",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -23.29380616687598,
"y": -103.86755952380963,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 14.539993286132812,
"height": 25,
"seed": 1667608147,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1695557447868,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "B",
"rawText": "B",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": "g7zzkxbsh7e2sHZfhCrzi",
"originalText": "B",
"lineHeight": 1.25,
"baseline": 18
},
{
"type": "text",
"version": 394,
"versionNonce": 862972563,
"isDeleted": false,
"id": "lxq47CZK",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -159.71801898200926,
"y": -174.56938244047615,
"strokeColor": "#1e1e1e",
"backgroundColor": "#b2f2bb",
"width": 85.93991088867188,
"height": 25,
"seed": 232942579,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1695557447868,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "Server 2",
"rawText": "Server 2",
"textAlign": "center",
"verticalAlign": "top",
"containerId": null,
"originalText": "Server 2",
"lineHeight": 1.25,
"baseline": 18
},
{
"type": "rectangle",
"version": 599,
"versionNonce": 350712285,
"isDeleted": false,
"id": "ugKWuZ8KiYRfnvVyHkGCF",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -290.4285714285714,
"y": -4.058035714285779,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 343,
"height": 139.00000000000003,
"seed": 1617186429,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 3
},
"boundElements": [],
"updated": 1695557461521,
"link": null,
"locked": false
},
{
"type": "ellipse",
"version": 543,
"versionNonce": 775368253,
"isDeleted": false,
"id": "JX9zxCFMDftKwyLP1Fc4x",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -246.00000000000006,
"y": 56.489583333333144,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 50,
"height": 51,
"seed": 2066708189,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"boundElements": [
{
"id": "2Dlrew0Z",
"type": "text"
}
],
"updated": 1695557461521,
"link": null,
"locked": false
},
{
"type": "text",
"version": 482,
"versionNonce": 319839901,
"isDeleted": false,
"id": "2Dlrew0Z",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -227.61766434167546,
"y": 69.45836041307618,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 12.879989624023438,
"height": 25,
"seed": 2000065341,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1695557461521,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "C",
"rawText": "C",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": "JX9zxCFMDftKwyLP1Fc4x",
"originalText": "C",
"lineHeight": 1.25,
"baseline": 18
},
{
"type": "diamond",
"version": 580,
"versionNonce": 2049213181,
"isDeleted": false,
"id": "_lCy6vYwT0T6f1oA0LQYy",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -155.4285714285714,
"y": 45.77529761904748,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 69,
"height": 70,
"seed": 819667869,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"boundElements": [
{
"id": "bSAC4G9P",
"type": "text"
}
],
"updated": 1695557461521,
"link": null,
"locked": false
},
{
"type": "text",
"version": 513,
"versionNonce": 1207245661,
"isDeleted": false,
"id": "bSAC4G9P",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -127.1185662405831,
"y": 68.27529761904748,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 12.879989624023438,
"height": 25,
"seed": 2085529597,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1695557461521,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "C",
"rawText": "C",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": "_lCy6vYwT0T6f1oA0LQYy",
"originalText": "C",
"lineHeight": 1.25,
"baseline": 18
},
{
"type": "rectangle",
"version": 527,
"versionNonce": 1423157181,
"isDeleted": false,
"id": "HHBJGLBV-qC68rCr7u1ui",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -40.09523809523819,
"y": 61.77529761904748,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 51,
"height": 48,
"seed": 731029597,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 3
},
"boundElements": [
{
"id": "O6Es3NQy",
"type": "text"
}
],
"updated": 1695557461521,
"link": null,
"locked": false
},
{
"type": "text",
"version": 463,
"versionNonce": 1927391261,
"isDeleted": false,
"id": "O6Es3NQy",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -21.035232907249906,
"y": 73.27529761904748,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 12.879989624023438,
"height": 25,
"seed": 1417186493,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1695557461521,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "C",
"rawText": "C",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": "HHBJGLBV-qC68rCr7u1ui",
"originalText": "C",
"lineHeight": 1.25,
"baseline": 18
},
{
"type": "text",
"version": 501,
"versionNonce": 873503869,
"isDeleted": false,
"id": "S6ULO117",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": -157.97944236544964,
"y": 2.573474702380963,
"strokeColor": "#1e1e1e",
"backgroundColor": "#b2f2bb",
"width": 85.31990051269531,
"height": 25,
"seed": 1453452573,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1695557461521,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "Server 3",
"rawText": "Server 3",
"textAlign": "center",
"verticalAlign": "top",
"containerId": null,
"originalText": "Server 3",
"lineHeight": 1.25,
"baseline": 18
}
],
"appState": {
"theme": "light",
"viewBackgroundColor": "#ffffff",
"currentItemStrokeColor": "#1e1e1e",
"currentItemBackgroundColor": "transparent",
"currentItemFillStyle": "hachure",
"currentItemStrokeWidth": 1,
"currentItemStrokeStyle": "solid",
"currentItemRoughness": 1,
"currentItemOpacity": 100,
"currentItemFontFamily": 1,
"currentItemFontSize": 20,
"currentItemTextAlign": "left",
"currentItemStartArrowhead": null,
"currentItemEndArrowhead": "arrow",
"scrollX": 336.7857142857143,
"scrollY": 458.49776785714283,
"zoom": {
"value": 1.4000000000000001
},
"currentItemRoundness": "round",
"gridSize": null,
"gridColor": {
"Bold": "#C9C9C9FF",
"Regular": "#EDEDEDFF"
},
"currentStrokeOptions": null,
"previousGridSize": null,
"frameRendering": {
"enabled": true,
"clip": true,
"name": true,
"outline": true
}
},
"files": {}
}
```
%%