Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Deploying a server across multiple machines

#1
Hi guys, for my Masters research project I am attempting to offload the Xonotic server code between two machines i.e. part of the server code is deployed to the cloud and the rest locally. I am attempting to split the most latency demanding tasks within the server code so they are run on a local machine closer to a user than the cloud. I was wondering if anyone had attempted to offload code like this between two machines before or had any advice on what server components would be best offloaded or split from the main codebase to a local machine/server? Thanks.
Reply

#2
I don't think anybody has attempted to split the server yet. Normally when you run a local game, the client and server both run in the same process (and thread) which results in low FPS with bots. A simple way around it is to run the server in a separate process (which is how it works with dedicated servers) but to use it for local games (especially the campaign) seamlessly we'd need a way to share cvars between the processes (they're shared when running in one process). Alternatively I heard there's experimental support for running the server in a separate thread even in local games but very unstable. I don't know more about that,

If you wanna split only server code, then i'd suggest looking into separating bot code. Except aiming, their reactions are not really latency sensitive.
[Image: 30381.jpg]

<packer> when i see martin-t's name my blood pressure increases

<[BOT]Hоtdоg> anyone here lives near martin?
<[BOT]Hоtdоg> will pay monies for shooting him
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  I can't see my listen server on server list fnmain 1 673 10-07-2023, 07:28 AM
Last Post: Grimnack
  Server not visible on the server browser for others or me DankoLord 1 1,822 02-21-2023, 08:02 PM
Last Post: ballerburg9005
  [META] Deploying Xonotic using GKE Game Servers? FAF 4 1,824 09-14-2022, 08:32 AM
Last Post: cushinga
  BaI server | South American Xonotic server (located in Chile) z411 0 2,755 01-02-2022, 11:36 PM
Last Post: z411
  Full server tutorial start-2-finish with maps & config from live server xonotic.us.to ballerburg9005 0 8,053 09-03-2021, 10:21 AM
Last Post: ballerburg9005
Question [NEED HELP] Server uses 40% CPU whereas Nexuiz server runs with max 10% e-pig 6 4,967 08-19-2020, 10:17 PM
Last Post: ballerburg9005
  [NEED HELP] Server dont appear in server browser abslimit 0 2,578 03-15-2020, 04:13 AM
Last Post: abslimit
  How to change server cfg on modified server veecho 4 4,320 04-24-2019, 08:15 PM
Last Post: BuddyFriendGuy
  [NEED HELP] Xonotic Server crashes TF2 server Professor 2 2,951 02-20-2018, 07:50 PM
Last Post: Professor
  I made a PHP script to auto manage download locations for multiple servers evilkittie 0 2,700 07-08-2017, 02:12 PM
Last Post: evilkittie

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-