
main -> view js
http rpc -> there's a stupid proxy between the http and tcp rpc (based on fasthttp). All other services
work RpcTcp
auth service -> service is responsible for rautu with acedamy of Ozerov. He has his own database (auth db)
returns the jwt
service all function -> there are all functions on the idea that does not create much load. As
just what the function of that service, take away 30% of the references to
the service she will be moved to a separate service.
battle service -> the server knows which node created the room (battle node)
battle bot -> Bot. Works with all nodes.
chat * a similar battle part only instead of auto bot there is a moderator. He moder
public chats a machine (a primitive filter Mat which automatic bans in
chat)
each node has its own storage. And in all function for each module (some sort of feature) is also its own database so that in the case of a large load, I could easily make it in a separate service.
Bot and moderator masturbiruut by specifying the addresses to them in the config node)