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
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  South American Dedicated Server Professor 3 389 03-03-2019, 07:02 PM
Last Post: end user
Information [TUTORIAL] Xonotic Server behind OPNSense (and pfSense) gurbe 0 230 01-27-2019, 09:07 AM
Last Post: gurbe
  Xonotic server running behind UDP proxy not working doombringeroperator 2 355 01-07-2019, 02:23 PM
Last Post: doombringeroperator
  [NEED HELP] Server show on the browser list, but I can't connect! Professor 1 269 12-19-2018, 11:39 AM
Last Post: Professor
  Server Setup for Dummies litvinenkotea 7 3,780 12-08-2018, 01:20 PM
Last Post: tehjester78
  Local LAN Xonotic game server player Stats animatedjay 3 705 11-23-2018, 12:38 AM
Last Post: BuddyFriendGuy
  Fix Duel on Server Australis Antares* 0 349 09-30-2018, 11:45 PM
Last Post: Antares*
  Xonotic server monitoring Sl@va 5 1,268 09-18-2018, 07:07 PM
Last Post: MarisaG
  Running a config script when the server becomes empty? Notavi 3 506 08-18-2018, 12:10 AM
Last Post: BuddyFriendGuy
  Recommended specs for a new server northivanastan 2 742 06-28-2018, 03:38 PM
Last Post: northivanastan

Forum Jump:


Users browsing this thread:
1 Guest(s)

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