Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Removed the "cc-catalog" references from the system-architecure diagram. (#771)

Raghuvar arora5d1eaed58e7d
diff --git a/README.md b/README.md
index 1465cf694..e7862ba49 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ Our API documentation can also be found at [https://api.openverse.engineering](h
## System architecture
-![System architecture](readme_assets/system_architecture.png)
+![System architecture](readme_assets/system_diagram/system_architecture.png)
### Basic flow of data
diff --git a/readme_assets/system_architecture.png b/readme_assets/system_architecture.png
deleted file mode 100644
index 5a882b76f..000000000
Binary files a/readme_assets/system_architecture.png and /dev/null differ
diff --git a/readme_assets/system_diagram/README.md b/readme_assets/system_diagram/README.md
new file mode 100644
index 000000000..f9e5b9a61
--- /dev/null
+++ b/readme_assets/system_diagram/README.md
@@ -0,0 +1,3 @@
+The diagram was made using [draw.io](https://app.diagrams.net/).
+
+The [system_architecure.xml](system_architecture.xml) file will allow you to restore, and edit it on the above-mentioned platform.
diff --git a/readme_assets/system_diagram/system_architecture.png b/readme_assets/system_diagram/system_architecture.png
new file mode 100644
index 000000000..bbe8b7b46
Binary files /dev/null and b/readme_assets/system_diagram/system_architecture.png differ
diff --git a/readme_assets/system_diagram/system_architecture.xml b/readme_assets/system_diagram/system_architecture.xml
new file mode 100644
index 000000000..f4a8f1ab4
--- /dev/null
+++ b/readme_assets/system_diagram/system_architecture.xml
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mxfile host="app.diagrams.net" modified="2022-07-01T20:40:43.435Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36" etag="zcaZSKVHq6j-Br3mmc8P" version="20.0.3" type="google">
+ <diagram id="sl2x0e_TDbJIdWYE920b" name="Page-1">
+ <mxGraphModel dx="1438" dy="592" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="850" pageHeight="1100" background="#ffffff" math="0" shadow="0">
+ <root>
+ <mxCell id="0" />
+ <mxCell id="1" parent="0" />
+ <mxCell id="JVIGxF9oKAkimninJbSp-79" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;labelBackgroundColor=#F8CECC;startArrow=none;startFill=0;endArrow=classic;endFill=1;dashed=1;" parent="1" source="JVIGxF9oKAkimninJbSp-4" target="JVIGxF9oKAkimninJbSp-77" edge="1">
+ <mxGeometry relative="1" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-4" value="Ingestion Server" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="1" vertex="1">
+ <mxGeometry x="420" y="70" width="270" height="70" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;startArrow=classic;startFill=1;endArrow=classic;endFill=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;" parent="1" source="JVIGxF9oKAkimninJbSp-7" target="JVIGxF9oKAkimninJbSp-10" edge="1">
+ <mxGeometry relative="1" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-70" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;startArrow=none;startFill=0;endArrow=classic;endFill=1;" parent="1" source="JVIGxF9oKAkimninJbSp-5" target="JVIGxF9oKAkimninJbSp-7" edge="1">
+ <mxGeometry relative="1" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-5" value="Upstream/Intermediary" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.database;whiteSpace=wrap;fillColor=#f8cecc;strokeColor=#b85450;" parent="1" vertex="1">
+ <mxGeometry x="122" y="210" width="130" height="70" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-6" value="&lt;span style=&quot;background-color: rgb(248, 206, 204);&quot;&gt;Data Pipeline&lt;/span&gt;" style="shape=flexArrow;endArrow=classic;html=1;rounded=0;width=21;endSize=5.71;fillColor=#f8cecc;strokeColor=#b85450;" parent="1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="-8" y="245" as="sourcePoint" />
+ <mxPoint x="122" y="244.5" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="102" y="244.5" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-22" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;startArrow=none;startFill=0;" parent="1" source="JVIGxF9oKAkimninJbSp-7" target="JVIGxF9oKAkimninJbSp-4" edge="1">
+ <mxGeometry relative="1" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-7" value="API Database" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.database;whiteSpace=wrap;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
+ <mxGeometry x="350" y="210" width="130" height="70" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-23" style="edgeStyle=none;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;startArrow=classic;startFill=1;endArrow=none;endFill=0;" parent="1" source="JVIGxF9oKAkimninJbSp-9" target="JVIGxF9oKAkimninJbSp-4" edge="1">
+ <mxGeometry relative="1" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-9" value="ElasticSearch" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.database;whiteSpace=wrap;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
+ <mxGeometry x="690" y="210" width="130" height="70" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-25" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;startArrow=classic;startFill=1;endArrow=none;endFill=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="JVIGxF9oKAkimninJbSp-10" target="JVIGxF9oKAkimninJbSp-9" edge="1">
+ <mxGeometry relative="1" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-10" value="API Server Group&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;" style="rounded=0;whiteSpace=wrap;html=1;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
+ <mxGeometry x="435" y="430" width="300" height="130" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-12" value="Django API" style="rounded=0;whiteSpace=wrap;html=1;strokeWidth=1;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="1" vertex="1">
+ <mxGeometry x="455" y="480" width="80" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-13" value="Django API" style="rounded=0;whiteSpace=wrap;html=1;strokeWidth=1;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="1" vertex="1">
+ <mxGeometry x="545" y="480" width="80" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-14" value="Django API" style="rounded=0;whiteSpace=wrap;html=1;strokeWidth=1;fillColor=#ffe6cc;strokeColor=#d79b00;" parent="1" vertex="1">
+ <mxGeometry x="635" y="480" width="80" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;startArrow=classic;startFill=1;" parent="1" source="JVIGxF9oKAkimninJbSp-15" target="JVIGxF9oKAkimninJbSp-10" edge="1">
+ <mxGeometry relative="1" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-15" value="Load Balancer" style="rounded=0;whiteSpace=wrap;html=1;strokeWidth=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
+ <mxGeometry x="525" y="590" width="120" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-16" value="Frontend" style="rounded=0;whiteSpace=wrap;html=1;strokeWidth=1;fillColor=#f8cecc;strokeColor=#b85450;" parent="1" vertex="1">
+ <mxGeometry x="525" y="700" width="120" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=classic;startFill=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="JVIGxF9oKAkimninJbSp-16" target="JVIGxF9oKAkimninJbSp-15" edge="1">
+ <mxGeometry relative="1" as="geometry">
+ <mxPoint x="584.5" y="700" as="sourcePoint" />
+ <mxPoint x="585" y="660" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-26" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;startArrow=classic;startFill=1;endArrow=classic;endFill=1;" parent="1" source="JVIGxF9oKAkimninJbSp-21" target="JVIGxF9oKAkimninJbSp-10" edge="1">
+ <mxGeometry relative="1" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-21" value="Redis" style="strokeWidth=1;html=1;shape=mxgraph.flowchart.database;whiteSpace=wrap;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
+ <mxGeometry x="520" y="250" width="130" height="70" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-58" value="-Search queries&lt;br&gt;-Tag Stats&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;" style="text;html=1;align=left;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
+ <mxGeometry x="770" y="350" width="110" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-59" value="-Site cache&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;br&gt;-Dead link cache" style="text;html=1;align=left;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
+ <mxGeometry x="590" y="360" width="125" height="41" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-60" value="-Detail views&lt;br&gt;-Lists&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br&gt;-Content provider data" style="text;html=1;align=left;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
+ <mxGeometry x="285" y="368" width="137" height="55" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-61" value="Legend" style="align=center;fontSize=16;fontStyle=1;strokeColor=none;fillColor=none;fontColor=#4D4D4D;spacingTop=-8;resizable=0;" parent="1" vertex="1">
+ <mxGeometry x="28" y="37" width="180" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-62" value="" style="shape=table;html=1;whiteSpace=wrap;startSize=0;container=1;collapsible=0;childLayout=tableLayout;fillColor=none;align=left;spacingLeft=10;strokeColor=none;rounded=1;arcSize=11;fontColor=#FFFFFF;resizable=0;points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];" parent="1" vertex="1">
+ <mxGeometry x="28" y="67" width="180" height="90" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-63" value="EC2&amp;nbsp; Instances" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=#ffe6cc;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;align=left;spacingLeft=10;strokeColor=#d79b00;" parent="JVIGxF9oKAkimninJbSp-62" vertex="1">
+ <mxGeometry width="180" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-64" value="Other infrastructure" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=#dae8fc;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;align=left;spacingLeft=10;strokeWidth=1;strokeColor=#6c8ebf;" parent="JVIGxF9oKAkimninJbSp-62" vertex="1">
+ <mxGeometry y="30" width="180" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-65" value="External dependency" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=#f8cecc;top=0;left=0;bottom=0;right=0;overflow=hidden;pointerEvents=1;align=left;spacingLeft=10;strokeWidth=1;strokeColor=#b85450;" parent="JVIGxF9oKAkimninJbSp-62" vertex="1">
+ <mxGeometry y="60" width="180" height="30" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-74" value="Reindex" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
+ <mxGeometry x="614" y="151" width="62" height="26" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-77" value="Data Refresh" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
+ <mxGeometry x="257" y="216" width="89" height="26" as="geometry" />
+ </mxCell>
+ <mxCell id="JVIGxF9oKAkimninJbSp-78" value="Image&lt;br&gt;metadata" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
+ <mxGeometry x="270" y="239" width="68" height="41" as="geometry" />
+ </mxCell>
+ </root>
+ </mxGraphModel>
+ </diagram>
+</mxfile>