Skip to content

Commit

Permalink
Create new architecture diagram (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
awm33 authored and cgreene committed Aug 16, 2016
1 parent c77e517 commit 79005a9
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Expand Up @@ -87,3 +87,7 @@ ENV/

# Rope project settings
.ropeproject

# Mac
.DS_Store
._*
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -36,6 +36,6 @@ Check back here for more details. In the meantime, feel free to open issues with

## Implementation Details

We're beginning to flesh out implementation details. Discuss the software architecture in [Issue 5](https://github.com/cognoma/cognoma/issues/5 "Issue #5: Designing the software architecture for Project Cognoma") and technical ideas in [Issue 4](https://github.com/cognoma/cognoma/issues/4 "Issue #4: Technical Ideas"). The following diagram is a draft of the project's software architecture:
We're beginning to flesh out implementation details. Discuss the software architecture in [Issue 5](https://github.com/cognoma/cognoma/issues/5 "Issue #5: Designing the software architecture for Project Cognoma") and technical ideas in [Issue 4](https://github.com/cognoma/cognoma/issues/4 "Issue #4: Technical Ideas"). The following diagram is the current draft of the project's software architecture:

![Diagram of the Cognoma software architecture](components.png?raw=true)
![Diagram of the Cognoma software architecture](architecture.png?raw=true)
Binary file added architecture.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions architecture.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions architecture.xml
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<mxGraphModel dx="1001" dy="664" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" background="#ffffff" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="1472470e3617f017-31" value="Machine Learning Worker" style="rounded=1;whiteSpace=wrap;html=1;plain-purple" vertex="1" parent="1"><mxGeometry x="432" y="560" width="120" height="60" as="geometry"/></mxCell><mxCell id="1472470e3617f017-30" value="Machine Learning Worker" style="rounded=1;whiteSpace=wrap;html=1;plain-purple" vertex="1" parent="1"><mxGeometry x="422" y="550" width="120" height="60" as="geometry"/></mxCell><mxCell id="1472470e3617f017-29" value="Machine Learning Worker" style="rounded=1;whiteSpace=wrap;html=1;plain-purple" vertex="1" parent="1"><mxGeometry x="412" y="540" width="120" height="60" as="geometry"/></mxCell><mxCell id="1472470e3617f017-28" value="Machine Learning Worker" style="rounded=1;whiteSpace=wrap;html=1;plain-purple" vertex="1" parent="1"><mxGeometry x="402" y="530" width="120" height="60" as="geometry"/></mxCell><mxCell id="1472470e3617f017-7" value="Nginx" style="rounded=1;whiteSpace=wrap;html=1;plain-purple" vertex="1" parent="1"><mxGeometry x="301" y="238" width="120" height="60" as="geometry"/></mxCell><mxCell id="1472470e3617f017-6" value="Task Service&lt;div&gt;(task-service)&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;plain-purple" vertex="1" parent="1"><mxGeometry x="492" y="371" width="120" height="60" as="geometry"/></mxCell><mxCell id="1472470e3617f017-5" value="Cognoma API (django-cognoma)" style="rounded=1;whiteSpace=wrap;html=1;plain-purple" vertex="1" parent="1"><mxGeometry x="302" y="370" width="120" height="60" as="geometry"/></mxCell><mxCell id="1472470e3617f017-8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" edge="1" parent="1" source="1472470e3617f017-9" target="1472470e3617f017-2"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="1472470e3617f017-1" value="Angular Web App (frontend)" style="rounded=1;whiteSpace=wrap;html=1;plain-yellow" vertex="1" parent="1"><mxGeometry x="292" y="60" width="120" height="60" as="geometry"/></mxCell><mxCell id="1472470e3617f017-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" edge="1" parent="1" source="1472470e3617f017-2" target="1472470e3617f017-3"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="1472470e3617f017-17" value="/api" style="text;html=1;resizable=0;points=[];align=center;verticalAlign=middle;labelBackgroundColor=#ffffff;" vertex="1" connectable="0" parent="1472470e3617f017-16"><mxGeometry x="-0.0333" relative="1" as="geometry"><mxPoint as="offset"/></mxGeometry></mxCell><mxCell id="1472470e3617f017-2" value="Nginx&lt;div&gt;Serves static files, forwards API traffic&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;plain-purple" vertex="1" parent="1"><mxGeometry x="292" y="230" width="120" height="60" as="geometry"/></mxCell><mxCell id="1472470e3617f017-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.5;entryX=1;entryY=0.5;jettySize=auto;orthogonalLoop=1;" edge="1" parent="1" source="1472470e3617f017-3" target="1472470e3617f017-11"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="1472470e3617f017-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;" edge="1" parent="1" source="1472470e3617f017-3" target="1472470e3617f017-4"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="1472470e3617f017-3" value="Cognoma REST API (django-cognoma)" style="rounded=1;whiteSpace=wrap;html=1;plain-purple" vertex="1" parent="1"><mxGeometry x="292" y="360" width="120" height="60" as="geometry"/></mxCell><mxCell id="1472470e3617f017-26" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;" edge="1" parent="1" source="1472470e3617f017-4" target="1472470e3617f017-25"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="1472470e3617f017-4" value="Task Service&lt;div&gt;(task-service)&lt;/div&gt;" style="rounded=1;whiteSpace=wrap;html=1;plain-purple" vertex="1" parent="1"><mxGeometry x="482" y="360" width="120" height="60" as="geometry"/></mxCell><mxCell id="1472470e3617f017-9" value="" style="ellipse;shape=cloud;whiteSpace=wrap;html=1;" vertex="1" parent="1"><mxGeometry x="329" y="150" width="45" height="30" as="geometry"/></mxCell><mxCell id="1472470e3617f017-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=1;entryX=0.5;entryY=0;jettySize=auto;orthogonalLoop=1;" edge="1" parent="1" source="1472470e3617f017-1" target="1472470e3617f017-9"><mxGeometry relative="1" as="geometry"><mxPoint x="352" y="120" as="sourcePoint"/><mxPoint x="352" y="230" as="targetPoint"/></mxGeometry></mxCell><mxCell id="1472470e3617f017-11" value="Postgres" style="shape=cylinder;whiteSpace=wrap;html=1;plain-blue" vertex="1" parent="1"><mxGeometry x="192" y="350" width="60" height="80" as="geometry"/></mxCell><mxCell id="1472470e3617f017-21" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=0;jettySize=auto;orthogonalLoop=1;" edge="1" parent="1" source="1472470e3617f017-20" target="1472470e3617f017-3"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="1472470e3617f017-22" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0.5;exitY=0;entryX=0.5;entryY=1;jettySize=auto;orthogonalLoop=1;" edge="1" parent="1" source="1472470e3617f017-20" target="1472470e3617f017-4"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="1472470e3617f017-34" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=0;exitY=0.5;jettySize=auto;orthogonalLoop=1;" edge="1" parent="1" source="1472470e3617f017-20" target="1472470e3617f017-27"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="1472470e3617f017-20" value="Machine Learning Worker" style="rounded=1;whiteSpace=wrap;html=1;plain-purple" vertex="1" parent="1"><mxGeometry x="392" y="520" width="120" height="60" as="geometry"/></mxCell><mxCell id="1472470e3617f017-25" value="Postgres" style="shape=cylinder;whiteSpace=wrap;html=1;plain-blue" vertex="1" parent="1"><mxGeometry x="649" y="350" width="60" height="80" as="geometry"/></mxCell><mxCell id="1472470e3617f017-27" value="Cancer data files on GCS/S3" style="shape=internalStorage;whiteSpace=wrap;html=1;plain-blue" vertex="1" parent="1"><mxGeometry x="181" y="510" width="121" height="80" as="geometry"/></mxCell></root></mxGraphModel>
Binary file removed components.png
Binary file not shown.

0 comments on commit 79005a9

Please sign in to comment.