From 28dada29be49e40efe7b19787cfdf2027b551250 Mon Sep 17 00:00:00 2001 From: Alice Date: Sun, 24 Sep 2023 13:42:33 +0100 Subject: [PATCH] vault backup: 2023-09-24 13:42:33 --- content/ASCN/T - Aula 2.md | 22 +- .../ASCN/server-group.excalidraw 1.md | 686 ++++++++++++++++++ 2 files changed, 703 insertions(+), 5 deletions(-) create mode 100644 content/Excalidraw/ASCN/server-group.excalidraw 1.md diff --git a/content/ASCN/T - Aula 2.md b/content/ASCN/T - Aula 2.md index 2144f7c..34e10a8 100644 --- a/content/ASCN/T - Aula 2.md +++ b/content/ASCN/T - Aula 2.md @@ -54,9 +54,21 @@ - The proxy is a performance and availability bottleneck. - E.g. MongoDB - ### 3. Master Server -- Architecture: [[mas]] -- Proxy functions split between stub and master server -- The proxy is a performance and availability bottleneck. - - E.g. MongoDB +- Architecture: [[master.excalidraw]] +- Scale out! + - E.g. HDFS + +### 4. Server Group +- Architecture: [[server-group.excalidraw 1]] +- All servers can process requests. +- Coordination may be necessary. +- Resiliency! + - E.g. ZooKeeper + +### 5. Bus +- Architecture: [[server-group.excalidraw 1]] +- All servers can process requests. +- Coordination may be necessary. +- Resiliency! + - E.g. ZooKeeper \ No newline at end of file diff --git a/content/Excalidraw/ASCN/server-group.excalidraw 1.md b/content/Excalidraw/ASCN/server-group.excalidraw 1.md new file mode 100644 index 0000000..2db2cc2 --- /dev/null +++ b/content/Excalidraw/ASCN/server-group.excalidraw 1.md @@ -0,0 +1,686 @@ +--- + +excalidraw-plugin: parsed +tags: [excalidraw] + +--- +==⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠== + + +# Text Elements +Server n ^P3etBY3i + +Server 1 ^nddvAoYh + +Client ^2H5iI5Ji + +stub ^mUIeGtgi + +protocol ^W6C0Zxfe + +synchronization +protocol ^mIzzFwpR + +%% +# Drawing +```json +{ + "type": "excalidraw", + "version": 2, + "source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/1.9.19", + "elements": [ + { + "type": "rectangle", + "version": 184, + "versionNonce": 422135955, + "isDeleted": false, + "id": "vdEoEaujOxQ3Pg1WvHWir", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": -13.435832332064479, + "y": -332.57148221526796, + "strokeColor": "#1971c2", + "backgroundColor": "transparent", + "width": 206.8615888615924, + "height": 171.67379281812566, + "seed": 744296755, + "groupIds": [], + "frameId": null, + "roundness": { + "type": 3 + }, + "boundElements": [], + "updated": 1695558813128, + "link": null, + "locked": false + }, + { + "type": "text", + "version": 250, + "versionNonce": 1599831581, + "isDeleted": false, + "id": "P3etBY3i", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 51.451578242244864, + "y": -259.9059155509628, + "strokeColor": "#1971c2", + "backgroundColor": "transparent", + "width": 81.0399169921875, + "height": 25, + "seed": 1715344979, + "groupIds": [], + "frameId": null, + "roundness": null, + "boundElements": [], + "updated": 1695558813128, + "link": null, + "locked": false, + "fontSize": 20, + "fontFamily": 1, + "text": "Server n", + "rawText": "Server n", + "textAlign": "left", + "verticalAlign": "top", + "containerId": null, + "originalText": "Server n", + "lineHeight": 1.25, + "baseline": 18 + }, + { + "type": "arrow", + "version": 420, + "versionNonce": 1958264371, + "isDeleted": false, + "id": "HdmLiBzCDAszPSanayBmD", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": -78.79448273912638, + "y": -321.6451555789437, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "width": 0.23562187345569896, + "height": 177.86740630039594, + "seed": 1426100829, + "groupIds": [], + "frameId": null, + "roundness": { + "type": 2 + }, + "boundElements": [], + "updated": 1695558813128, + "link": null, + "locked": false, + "startBinding": null, + "endBinding": null, + "lastCommittedPoint": null, + "startArrowhead": null, + "endArrowhead": "arrow", + "points": [ + [ + 0, + 0 + ], + [ + 0.23562187345569896, + -177.86740630039594 + ] + ] + }, + { + "type": "arrow", + "version": 410, + "versionNonce": 1591718525, + "isDeleted": false, + "id": "mLGydzme1zjjJCzgvgsfI", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 13.750866489327905, + "y": -314.70137417886434, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "width": 1.6857120147317346, + "height": 190.34595202321805, + "seed": 956698685, + "groupIds": [], + "frameId": null, + "roundness": { + "type": 2 + }, + "boundElements": [], + "updated": 1695558813128, + "link": null, + "locked": false, + "startBinding": null, + "endBinding": null, + "lastCommittedPoint": null, + "startArrowhead": null, + "endArrowhead": "arrow", + "points": [ + [ + 0, + 0 + ], + [ + 1.6857120147317346, + -190.34595202321805 + ] + ] + }, + { + "type": "rectangle", + "version": 342, + "versionNonce": 1553881821, + "isDeleted": false, + "id": "eurHx-BtbpuH7j40VPKcX", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": -232.02226399211912, + "y": -330.73753763036115, + "strokeColor": "#1971c2", + "backgroundColor": "transparent", + "width": 206.8615888615924, + "height": 171.67379281812566, + "seed": 531416093, + "groupIds": [], + "frameId": null, + "roundness": { + "type": 3 + }, + "boundElements": [], + "updated": 1695558813128, + "link": null, + "locked": false + }, + { + "type": "text", + "version": 366, + "versionNonce": 1830307133, + "isDeleted": false, + "id": "nddvAoYh", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": -162.51751298433152, + "y": -256.3887774887268, + "strokeColor": "#1971c2", + "backgroundColor": "transparent", + "width": 77.11991882324219, + "height": 25, + "seed": 1360541821, + "groupIds": [], + "frameId": null, + "roundness": null, + "boundElements": [], + "updated": 1695558946621, + "link": null, + "locked": false, + "fontSize": 20, + "fontFamily": 1, + "text": "Server 1", + "rawText": "Server 1", + "textAlign": "left", + "verticalAlign": "top", + "containerId": null, + "originalText": "Server 1", + "lineHeight": 1.25, + "baseline": 18 + }, + { + "type": "arrow", + "version": 95, + "versionNonce": 287897405, + "isDeleted": false, + "id": "QwuJNQZVVN0wR2TR89s0M", + "fillStyle": "cross-hatch", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": -55.54799130045339, + "y": -498.81368469955913, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "width": 0.8695652173913118, + "height": 182.60869565217388, + "seed": 2011584627, + "groupIds": [], + "frameId": null, + "roundness": { + "type": 2 + }, + "boundElements": [], + "updated": 1695558813128, + "link": null, + "locked": false, + "startBinding": null, + "endBinding": null, + "lastCommittedPoint": null, + "startArrowhead": null, + "endArrowhead": "arrow", + "points": [ + [ + 0, + 0 + ], + [ + 0.8695652173913118, + 182.60869565217388 + ] + ] + }, + { + "type": "arrow", + "version": 166, + "versionNonce": 728950547, + "isDeleted": false, + "id": "EqgZX0SA-1pgeu9Y-Z3t4", + "fillStyle": "cross-hatch", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": 36.62592174302489, + "y": -503.32254138232895, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "width": 2.6086956521739353, + "height": 193.91304347826087, + "seed": 1822241043, + "groupIds": [], + "frameId": null, + "roundness": { + "type": 2 + }, + "boundElements": [], + "updated": 1695558813128, + "link": null, + "locked": false, + "startBinding": null, + "endBinding": null, + "lastCommittedPoint": null, + "startArrowhead": null, + "endArrowhead": "arrow", + "points": [ + [ + 0, + 0 + ], + [ + -2.6086956521739353, + 193.91304347826087 + ] + ] + }, + { + "type": "rectangle", + "version": 239, + "versionNonce": 652281757, + "isDeleted": false, + "id": "wbbrmomWvI8_n-XSLx5BT", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": -108.79825373129555, + "y": -656.8398202915577, + "strokeColor": "#f08c00", + "backgroundColor": "#ffec99", + "width": 179, + "height": 180, + "seed": 1351328701, + "groupIds": [], + "frameId": null, + "roundness": { + "type": 3 + }, + "boundElements": [], + "updated": 1695558813128, + "link": null, + "locked": false + }, + { + "type": "text", + "version": 237, + "versionNonce": 2034928819, + "isDeleted": false, + "id": "2H5iI5Ji", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": -44.798253731295546, + "y": -619.7735234417556, + "strokeColor": "#f08c00", + "backgroundColor": "#ffec99", + "width": 54.099945068359375, + "height": 25, + "seed": 775562269, + "groupIds": [], + "frameId": null, + "roundness": null, + "boundElements": [], + "updated": 1695558813129, + "link": null, + "locked": false, + "fontSize": 20, + "fontFamily": 1, + "text": "Client", + "rawText": "Client", + "textAlign": "left", + "verticalAlign": "top", + "containerId": null, + "originalText": "Client", + "lineHeight": 1.25, + "baseline": 18 + }, + { + "type": "rectangle", + "version": 247, + "versionNonce": 2146962429, + "isDeleted": false, + "id": "TVMCY0hVjT-CpWvdTtXGS", + "fillStyle": "cross-hatch", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": -83.99714428070163, + "y": -537.8398202915577, + "strokeColor": "#e03131", + "backgroundColor": "#ffc9c9", + "width": 124, + "height": 47, + "seed": 1727633533, + "groupIds": [], + "frameId": null, + "roundness": { + "type": 3 + }, + "boundElements": [ + { + "type": "text", + "id": "mUIeGtgi" + } + ], + "updated": 1695558813129, + "link": null, + "locked": false + }, + { + "type": "text", + "version": 192, + "versionNonce": 610041427, + "isDeleted": false, + "id": "mUIeGtgi", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": -43.837117730408664, + "y": -526.8398202915577, + "strokeColor": "#e03131", + "backgroundColor": "transparent", + "width": 43.67994689941406, + "height": 25, + "seed": 1418428637, + "groupIds": [], + "frameId": null, + "roundness": null, + "boundElements": [], + "updated": 1695558813129, + "link": null, + "locked": false, + "fontSize": 20, + "fontFamily": 1, + "text": "stub", + "rawText": "stub", + "textAlign": "center", + "verticalAlign": "middle", + "containerId": "TVMCY0hVjT-CpWvdTtXGS", + "originalText": "stub", + "lineHeight": 1.25, + "baseline": 18 + }, + { + "type": "text", + "version": 146, + "versionNonce": 1757275891, + "isDeleted": false, + "id": "W6C0Zxfe", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": -50.61831446127607, + "y": -415.90895847782247, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "width": 62.64012145996094, + "height": 20, + "seed": 1610978643, + "groupIds": [], + "frameId": null, + "roundness": null, + "boundElements": [], + "updated": 1695559173269, + "link": null, + "locked": false, + "fontSize": 16, + "fontFamily": 1, + "text": "protocol", + "rawText": "protocol", + "textAlign": "left", + "verticalAlign": "top", + "containerId": null, + "originalText": "protocol", + "lineHeight": 1.25, + "baseline": 14 + }, + { + "id": "RXVyBaYztwnEN2gn2wrhV", + "type": "arrow", + "x": -88.18714262018449, + "y": -176.2793288481928, + "width": 156.29629629629628, + "height": 89.62962962962962, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#a5d8ff", + "fillStyle": "cross-hatch", + "strokeWidth": 0.5, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": { + "type": 2 + }, + "seed": 2098195069, + "version": 157, + "versionNonce": 2124425971, + "isDeleted": false, + "boundElements": null, + "updated": 1695559189059, + "link": null, + "locked": false, + "points": [ + [ + 0, + 0 + ], + [ + 72.59259259259258, + 87.40740740740739 + ], + [ + 156.29629629629628, + -2.2222222222222285 + ] + ], + "lastCommittedPoint": null, + "startBinding": null, + "endBinding": null, + "startArrowhead": null, + "endArrowhead": "arrow" + }, + { + "type": "arrow", + "version": 290, + "versionNonce": 872423827, + "isDeleted": false, + "id": "i9zlA1eM7r3W6W9EB6Sjt", + "fillStyle": "cross-hatch", + "strokeWidth": 0.5, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "angle": 0, + "x": -111.63533645505859, + "y": -169.16804961440675, + "strokeColor": "#1e1e1e", + "backgroundColor": "#a5d8ff", + "width": 205.18518518518516, + "height": 109.62962962962956, + "seed": 1620371069, + "groupIds": [], + "frameId": null, + "roundness": { + "type": 2 + }, + "boundElements": [], + "updated": 1695559200501, + "link": null, + "locked": false, + "startBinding": null, + "endBinding": null, + "lastCommittedPoint": null, + "startArrowhead": null, + "endArrowhead": "arrow", + "points": [ + [ + 0, + 0 + ], + [ + 92.59259259259258, + 108.8888888888888 + ], + [ + 205.18518518518516, + -0.7407407407407618 + ] + ] + }, + { + "id": "mIzzFwpR", + "type": "text", + "x": -83.84270664557678, + "y": -51.60605153503553, + "width": 143.77984619140625, + "height": 50, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "#a5d8ff", + "fillStyle": "cross-hatch", + "strokeWidth": 0.5, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": null, + "seed": 2042435795, + "version": 199, + "versionNonce": 1424323859, + "isDeleted": false, + "boundElements": null, + "updated": 1695559222107, + "link": null, + "locked": false, + "text": "synchronization\nprotocol", + "rawText": "synchronization\nprotocol", + "fontSize": 20, + "fontFamily": 1, + "textAlign": "center", + "verticalAlign": "top", + "baseline": 43, + "containerId": null, + "originalText": "synchronization\nprotocol", + "lineHeight": 1.25 + } + ], + "appState": { + "theme": "light", + "viewBackgroundColor": "#ffffff", + "currentItemStrokeColor": "#1e1e1e", + "currentItemBackgroundColor": "#a5d8ff", + "currentItemFillStyle": "cross-hatch", + "currentItemStrokeWidth": 0.5, + "currentItemStrokeStyle": "solid", + "currentItemRoughness": 1, + "currentItemOpacity": 100, + "currentItemFontFamily": 1, + "currentItemFontSize": 20, + "currentItemTextAlign": "center", + "currentItemStartArrowhead": null, + "currentItemEndArrowhead": "arrow", + "scrollX": 369.1649297299332, + "scrollY": 799.8772587806366, + "zoom": { + "value": 0.9797519347513614 + }, + "currentItemRoundness": "round", + "gridSize": null, + "gridColor": { + "Bold": "#C9C9C9FF", + "Regular": "#EDEDEDFF" + }, + "currentStrokeOptions": null, + "previousGridSize": null, + "frameRendering": { + "enabled": true, + "clip": true, + "name": true, + "outline": true + } + }, + "files": {} +} +``` +%% \ No newline at end of file