diff --git a/content/ASCN/T - Aula 2.md b/content/ASCN/T - Aula 2.md index f4f087b..19c6778 100644 --- a/content/ASCN/T - Aula 2.md +++ b/content/ASCN/T - Aula 2.md @@ -10,7 +10,7 @@ ### 1. Monolythic system - Architecture: [[Monolithic system.excalidraw]] - Multiple services for multiple targets in the same server -## 2. Distributed system +## 2. Distributed systems - Main distribution concerns: 1. Replication 2. Partitioning @@ -31,4 +31,14 @@ - Architecture: [[SOA.excalidraw]] - Addresses scale-out and modularity. - Example: micro-services. +#### 2.3.1 Microservices +- Each service implements specific functionality. +- Services can scale independently. +- Decomposition may be troublesome: how micro is micro? +- Consistency. +- Complex deployment and testing + + +## Distributed architectures +### 1. Client-server diff --git a/content/Excalidraw/ASCN/Drawing 2023-09-24 13.21.24.excalidraw.md b/content/Excalidraw/ASCN/Drawing 2023-09-24 13.21.24.excalidraw.md new file mode 100644 index 0000000..31afd53 --- /dev/null +++ b/content/Excalidraw/ASCN/Drawing 2023-09-24 13.21.24.excalidraw.md @@ -0,0 +1,429 @@ +--- + +excalidraw-plugin: parsed +tags: [excalidraw] + +--- +==⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠== + + +# Text Elements +Client ^OVq2P4Xf + +stub ^RS24oSel + +Server ^P3etBY3i + +%% +# Drawing +```json +{ + "type": "excalidraw", + "version": 2, + "source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/1.9.19", + "elements": [ + { + "id": "IqRrpywMDTbCoXqM4byEv", + "type": "rectangle", + "x": -268, + "y": -335.2421875, + "width": 179, + "height": 180, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": { + "type": 3 + }, + "seed": 1351013213, + "version": 56, + "versionNonce": 52584445, + "isDeleted": false, + "boundElements": null, + "updated": 1695558088379, + "link": null, + "locked": false + }, + { + "id": "OVq2P4Xf", + "type": "text", + "x": -204, + "y": -299.2421875, + "width": 54.099945068359375, + "height": 25, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": null, + "seed": 331236541, + "version": 55, + "versionNonce": 1653703347, + "isDeleted": false, + "boundElements": null, + "updated": 1695558108604, + "link": null, + "locked": false, + "text": "Client", + "rawText": "Client", + "fontSize": 20, + "fontFamily": 1, + "textAlign": "left", + "verticalAlign": "top", + "baseline": 18, + "containerId": null, + "originalText": "Client", + "lineHeight": 1.25 + }, + { + "id": "G_5UrTpFYz6LoUKroLQNH", + "type": "rectangle", + "x": -240, + "y": -216.2421875, + "width": 124, + "height": 47, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": { + "type": 3 + }, + "seed": 737915197, + "version": 58, + "versionNonce": 129944659, + "isDeleted": false, + "boundElements": [ + { + "type": "text", + "id": "RS24oSel" + } + ], + "updated": 1695558100672, + "link": null, + "locked": false + }, + { + "id": "RS24oSel", + "type": "text", + "x": -199.83997344970703, + "y": -205.2421875, + "width": 43.67994689941406, + "height": 25, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": null, + "seed": 1349770749, + "version": 7, + "versionNonce": 2044884915, + "isDeleted": false, + "boundElements": null, + "updated": 1695558103533, + "link": null, + "locked": false, + "text": "stub", + "rawText": "stub", + "fontSize": 20, + "fontFamily": 1, + "textAlign": "center", + "verticalAlign": "middle", + "baseline": 18, + "containerId": "G_5UrTpFYz6LoUKroLQNH", + "originalText": "stub", + "lineHeight": 1.25 + }, + { + "id": "vdEoEaujOxQ3Pg1WvHWir", + "type": "rectangle", + "x": -0.2073465217773105, + "y": -326.48452569352884, + "width": 206.8615888615924, + "height": 171.67379281812566, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": { + "type": 3 + }, + "seed": 744296755, + "version": 76, + "versionNonce": 5930771, + "isDeleted": false, + "boundElements": null, + "updated": 1695558119225, + "link": null, + "locked": false + }, + { + "id": "P3etBY3i", + "type": "text", + "x": 47.776011719313715, + "y": -292.3630264998641, + "width": 61.69993591308594, + "height": 25, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": null, + "seed": 1715344979, + "version": 9, + "versionNonce": 13336413, + "isDeleted": false, + "boundElements": null, + "updated": 1695558122587, + "link": null, + "locked": false, + "text": "Server", + "rawText": "Server", + "fontSize": 20, + "fontFamily": 1, + "textAlign": "left", + "verticalAlign": "top", + "baseline": 18, + "containerId": null, + "originalText": "Server", + "lineHeight": 1.25 + }, + { + "id": "HdmLiBzCDAszPSanayBmD", + "type": "arrow", + "x": -129.229265347822, + "y": -205.99298166590023, + "width": 165.27601171931352, + "height": 5.684341886080802e-14, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": { + "type": 2 + }, + "seed": 1426100829, + "version": 76, + "versionNonce": 269263037, + "isDeleted": false, + "boundElements": null, + "updated": 1695558143294, + "link": null, + "locked": false, + "points": [ + [ + 0, + 0 + ], + [ + 165.27601171931352, + -5.684341886080802e-14 + ] + ], + "lastCommittedPoint": null, + "startBinding": null, + "endBinding": null, + "startArrowhead": null, + "endArrowhead": "arrow" + }, + { + "id": "mLGydzme1zjjJCzgvgsfI", + "type": "arrow", + "x": 32.84785582208542, + "y": -181.4681541204538, + "width": 158.87823062050137, + "height": 0, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": { + "type": 2 + }, + "seed": 956698685, + "version": 97, + "versionNonce": 1283344637, + "isDeleted": false, + "boundElements": null, + "updated": 1695558140657, + "link": null, + "locked": false, + "points": [ + [ + 0, + 0 + ], + [ + -158.87823062050137, + 0 + ] + ], + "lastCommittedPoint": null, + "startBinding": null, + "endBinding": null, + "startArrowhead": null, + "endArrowhead": "arrow" + }, + { + "id": "0Uei72xq", + "type": "text", + "x": -171, + "y": -275.2421875, + "width": 9.999984741210938, + "height": 25, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": null, + "seed": 681370675, + "version": 2, + "versionNonce": 968905949, + "isDeleted": true, + "boundElements": null, + "updated": 1695558094594, + "link": null, + "locked": false, + "text": "", + "rawText": "", + "fontSize": 20, + "fontFamily": 1, + "textAlign": "left", + "verticalAlign": "top", + "baseline": 18, + "containerId": null, + "originalText": "", + "lineHeight": 1.25 + }, + { + "id": "Va2tDaNp", + "type": "text", + "x": -139, + "y": -193.2421875, + "width": 44.979949951171875, + "height": 25, + "angle": 0, + "strokeColor": "#1e1e1e", + "backgroundColor": "transparent", + "fillStyle": "hachure", + "strokeWidth": 1, + "strokeStyle": "solid", + "roughness": 1, + "opacity": 100, + "groupIds": [], + "frameId": null, + "roundness": null, + "seed": 1878101843, + "version": 8, + "versionNonce": 268266109, + "isDeleted": true, + "boundElements": null, + "updated": 1695558105473, + "link": null, + "locked": false, + "text": "Stub", + "rawText": "Stub", + "fontSize": 20, + "fontFamily": 1, + "textAlign": "left", + "verticalAlign": "top", + "baseline": 18, + "containerId": null, + "originalText": "Stub", + "lineHeight": 1.25 + } + ], + "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": 300.90305816594764, + "scrollY": 613.868187603452, + "zoom": { + "value": 0.9378251470832614 + }, + "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