Jump to content

yaliilyaya

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by yaliilyaya

  1. 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

  2. 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

  3. 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

     

     

     

     

×
×
  • Create New...