yaliilyaya
-
Posts
8 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by yaliilyaya
-
-
Thanks you
So, the server saves the data in the interval specified in the saveInterval server configuration.
wiki - https://avorion.gamepedia.com/Server
After that we need to save the data to the cloud.
need a task scheduler
I will try to deploy gitlab CI / CD
includes task scheduler and more
I will set the saveInterval variable to 5 minutes
Once every 15 minutes I will save data to DropBox
this way I will automatically save the current copy of the data
But there will be a problem of old copies...
algorithm for cleaning old copies:
- keep all copies in one day
- keep weekly copies for one month
- keep monthly copies for one year
-
I use docker container technology
I can not find the scheduler to run in the container
used crontab
but with crontab big problems
no logging
no signal to stop correctly
-
Hi
Cannot configure backup of server data
Is there a ready-made solution?
-
Need to take care
- auto backup data to the cloud
- open folder with finished ships (view via browser + cloud access)
- admin control panel with rсon
- website
- registration of players
- ratings
-
For logging I want to use ELK - https://www.elastic.co/what-is/elk-stack
-
More details...
- Each avorion server is a docker container - example https://hub.docker.com/r/rfvgyhn/avorion
- Assume each server is a specific service (sector, fraction, players, update sectors, questions, generate sector)
- one service is responsible for its work
- need to configure commands to services
- a command is a request or task launched by a player or server (examply: player - tcp / udp request, task - task to update sectors and fractions)
- It is necessary to synchronize data(database) in services
- balanser - the service accepts requests from the player (tcp/udp)
- balanser sends request to other services
- the balancer receives a response and sends it to the player
I will write a request card soon
-
Hi everyone.
I have an idea!
Scale server and split into microservices SOA.
Each service updates its sectors - instance
The distribution of requests for services meets the balancer
All services work on docker + kubernetice
Loging - Elk
Chef - service config
Nagios - status NAT
Deploy (CD) - Jenkins
e.t.s.
i do it myself. But there are questions
- I do not understand the format of the storage sectors
I need help
Backup of server data
in Multiplayer
Posted
So. I find.
NodeJs sheduler
http://cronicle.net/
exemple docker - https://hub.docker.com/r/intelliops/cronicle