This commit is contained in:
2026-11-12 17:28:28 +03:00
parent 276dbdad8a
commit 4fae7d7e87
103 changed files with 10742 additions and 54 deletions
+24
View File
@@ -0,0 +1,24 @@
@startuml
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
title C4 — Container diagram
Person(client, "Client", "Клиент мессенджера")
System_Boundary(messenger, "Messenger") {
Container(api, "API", "Go", "HTTP API: authentication, users, chats and messages")
ContainerDb(postgres, "PostgreSQL", "PostgreSQL", "Source of truth: users, chats, members and messages")
ContainerDb(redis, "Redis", "Redis", "Active sessions and chat cache")
}
Rel(client, api, "Работает с API", "HTTP/JSON")
Rel(api, postgres, "Читает и записывает данные", "SQL")
Rel(api, redis, "Хранит сессии и кэширует чаты", "Redis protocol")
@enduml