Ideas to decrease server load.

Thoughts on the further development of Haven & Hearth? Feel free to opine!

Ideas to decrease server load.

Postby Isis » Thu Oct 07, 2010 9:22 pm

Ive noticed some behaviors on this game and design traces that seens to increase way too much the load on the server.

First: too much GUI events depending on server communication. I seens that every single time i right click on an object or item it must check with the server. Most online games dont do this. The client software do this checking on what options are available by using some kind of cache if the item is known and then when the player gives the final command, the client sends the request to the server. This wont be possible to implement for EVERYTHING, like trees, where there will be still a check for if the tree still have apples, bough etc, but for most stuff with static action sets, would save tons of server load.

Second: Too much stuff that saves states for too long. Baskets lasting like a week or more on outside, construction signs that never seens to decay, logs, tree stumps. A system for the construction signs that would work something like 2 days with no activity like addition of material nor building and the sign is gone would spare the server. And there are TONS of construction signs out there due to the mechanics of shooting. Or you could implement some kind of blocking that would use only one branch, so you wouldnt have to change the mechanics and there wouldnt be people using this sign exploit neither. Maybe a block that would block the same way a 1x1 sign do but wouldnt have to ask the player for the material, it would automatically use the lowest level branch available on inventory, nor building and a right click on it would give the branch back and vanish the block.This would, at the same time, make people stop using signs, because would require less effort but at the same time you wouldnt have to implement a decay on signs, just make this item decay for good on a couple of hours.

Third: server side walking. A system that would require only the client informing the destiny instead of every single step would spare the server too. The client wouldnt have a precise response, but it takes too much of performance working the way it does currently.

Basically, if you dont want to spend a million dollars on hardware that have what it takes to run the server software with a couple of thousands of players online, it must relay less on server-side behavior. Yes, it makes the game more vulnerable to hacks, but this can be balanced, like doing a position check every couple of seconds to see if the player isnt speedhacking and stuff like that.

Any doubts on what i meant, feel free to ask.
Isis
 
Posts: 10
Joined: Thu Sep 30, 2010 9:52 pm

Re: Ideas to decrease server load.

Postby burgingham » Thu Oct 07, 2010 9:25 pm

DO NOT MAKE CONSTRUCTION SIGNS DECAY!!!
User avatar
burgingham
 
Posts: 8486
Joined: Fri Aug 14, 2009 10:58 pm

Re: Ideas to decrease server load.

Postby Skorm » Thu Oct 07, 2010 9:30 pm

burgingham wrote:DO NOT MAKE CONSTRUCTION SIGNS DECAY!!!
d_datica wrote:Get the damn server back up before I go back to having a life

USER WAS PUT ON PROBATION FOR THIS POST

~art By SacreDoom
User avatar
Skorm
 
Posts: 925
Joined: Wed Mar 03, 2010 6:01 am
Location: on a house, with a computer

Re: Ideas to decrease server load.

Postby sabinati » Thu Oct 07, 2010 9:35 pm

ideas that will actually fucking work:

program the server software to be 64 bit instead of 32
current status: loftar is working on it. could possibly be complete by the end of this month (don't count on it)

upgrade the internet connection
current status: doesn't seem to be possible to upgrade the internet connection at jorb's place, it's possible that another location could be found but no recent news on this.

pay for hosting somewhere with mega bandwidth
current status: while i believe they might have found a place with somewhat reasonable rates, current donations amounts are not enough to cover costs afaik. this is also somewhat undesirable for various reasons.
User avatar
sabinati
 
Posts: 15513
Joined: Mon Jul 13, 2009 4:25 am
Location: View active topics

Re: Ideas to decrease server load.

Postby sabinati » Thu Oct 07, 2010 9:36 pm

p.s. didn't read thread but lol decay actually uses processor power while having an object saved does not
User avatar
sabinati
 
Posts: 15513
Joined: Mon Jul 13, 2009 4:25 am
Location: View active topics

Re: Ideas to decrease server load.

Postby Isis » Thu Oct 07, 2010 10:18 pm

sabinati wrote:p.s. didn't read thread but lol decay actually uses processor power while having an object saved does not

But uses RAM. Or not. Nvm.
Isis
 
Posts: 10
Joined: Thu Sep 30, 2010 9:52 pm

Postby Jackard » Thu Oct 07, 2010 10:31 pm

Isis wrote:Ideas to decrease server load:

add more decay checks

excuse me while i Image
“A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away.”
User avatar
Jackard
 
Posts: 8849
Joined: Sun Jul 12, 2009 6:07 am
Location: fucking curios how do they work

Re: Ideas to decrease server load.

Postby JustasJ » Sat Oct 09, 2010 5:35 pm

You know what would be nice? Arrow keys or numpad keys for constant movement to one direction. Imagine all those clicks the server wouldn't have to keep analyzing every 5 seconds.
Throughout the centuries there were men who took first steps, down new roads, armed with nothing but their own vision.
- Ayn Rand
User avatar
JustasJ
 
Posts: 205
Joined: Wed Feb 03, 2010 1:48 pm

Re: Ideas to decrease server load.

Postby Jackard » Sat Oct 09, 2010 6:15 pm

JustasJ wrote:You know what would be nice? Arrow keys or numpad keys for constant movement to one direction. Imagine all those clicks the server wouldn't have to keep analyzing every 5 seconds.

Been suggested, hope it makes it in.
“A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away.”
User avatar
Jackard
 
Posts: 8849
Joined: Sun Jul 12, 2009 6:07 am
Location: fucking curios how do they work

Re: Ideas to decrease server load.

Postby Thurrok » Sat Oct 09, 2010 6:56 pm

Maybe I'm wrong here but wouldn't continuous keystroke movement actually "emulate" hundreds of clicks per second the way it works now? Since that wouldn't save bandwidth, just cause an epic spike.
Menschen sind Scheiße. Überall.

HAIL CATFACE!
User avatar
Thurrok
 
Posts: 569
Joined: Thu Feb 04, 2010 5:01 pm

Next

Return to Critique & Ideas

Who is online

Users browsing this forum: Claude [Bot] and 1 guest