add architecture diagrams

This commit is contained in:
Brandon Thomas
2022-02-28 05:53:41 -05:00
parent b50205847c
commit e4267f607b
4 changed files with 16 additions and 0 deletions
+16
View File
@@ -4,6 +4,22 @@ The core TTS models that power FakeYou.
I'm in the progress of pulling these out of the service monorepo so we can iterate faster.
How This Works
--------------
We have a Rust monolith that controls the user interface, account system, and all the database CRUD operations.
It doesn't do any ML work itself or have any attached GPUs.
There are a series of worker pods ("jobs") that pull from work queues and run inference, then upload the results.
![](docs/diagrams/microservices.png)
The jobs are written in Rust and either shell out to Python code or call an in-container Python server that attempts
to LRU cache models in memory.
![](docs/diagrams/jobs1.png)
![](docs/diagrams/jobs2.png)
TODO
----
Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB